Cosmetic cleanup
parent
ad32911b1a
commit
182f3744de
|
@ -12,7 +12,6 @@
|
|||
|
||||
require 'msf/core'
|
||||
|
||||
|
||||
module Metasploit3
|
||||
|
||||
include Msf::Payload::Windows
|
||||
|
@ -97,6 +96,7 @@ module Metasploit3
|
|||
port_nr = 80
|
||||
dwflags_asm = "push (0x80000000 | 0x04000000 | 0x00200000 |0x00001000 |0x00002000 |0x00000200) ; dwFlags\n"
|
||||
end
|
||||
|
||||
if target_uri =~ /^ftp:/
|
||||
proto = "ftp"
|
||||
port_nr = 21
|
||||
|
@ -121,7 +121,6 @@ module Metasploit3
|
|||
|
||||
# get /path/to/remote/exe
|
||||
|
||||
|
||||
for i in (1..server_info.length-1)
|
||||
server_uri << "/"
|
||||
server_uri << server_info[i]
|
||||
|
@ -131,8 +130,6 @@ module Metasploit3
|
|||
|
||||
# get protocol specific stuff
|
||||
|
||||
|
||||
|
||||
#create actual payload
|
||||
payload_data = <<EOS
|
||||
cld
|
||||
|
|
Loading…
Reference in New Issue