From 3ac11b7d449f75da4afb84bdb81fd12647a55515 Mon Sep 17 00:00:00 2001 From: Carlos Perez Date: Tue, 8 Nov 2011 15:48:04 +0000 Subject: [PATCH] Whitespace clean up git-svn-id: file:///home/svn/framework3/trunk@14190 4d416f70-5f16-0410-b530-b9f4589650da --- modules/post/windows/manage/payload_inject.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/post/windows/manage/payload_inject.rb b/modules/post/windows/manage/payload_inject.rb index 3820cd4ede..be26b195c3 100644 --- a/modules/post/windows/manage/payload_inject.rb +++ b/modules/post/windows/manage/payload_inject.rb @@ -100,7 +100,6 @@ class Metasploit3 < Msf::Post # Create a payload given a name, lhost and lport, additional options def create_payload(name, lhost, lport, opts = "") - pay = client.framework.payloads.create(name) pay.datastore['LHOST'] = lhost pay.datastore['LPORT'] = lport @@ -113,7 +112,6 @@ class Metasploit3 < Msf::Post # Validate the options for the module pay.options.validate(pay.datastore) return pay - end # Starts a multi/handler session