what was i thinking?

MS-2855/keylogger-mettle-extension
Austin 2017-11-20 16:08:48 -05:00 committed by GitHub
parent b6e2e2aa45
commit cfd06ab24a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -42,8 +42,7 @@ class MetasploitModule < Msf::Auxiliary
[ [
Opt::RPORT(4786), Opt::RPORT(4786),
OptAddressLocal.new('LHOST', [ false, "The IP address of the system running this module" ]), OptAddressLocal.new('LHOST', [ false, "The IP address of the system running this module" ]),
OptInt.new('SLEEP', [ true, "Time to wait for config to come back", 10]), OptInt.new('SLEEP', [ true, "Time to wait for config to come back", 10])
OptInt.new('DELAY', [ true, "Time to wait till requesting config to prevent service from becomming unresponsive.", 60])
] ]
) )
end end
@ -134,8 +133,7 @@ class MetasploitModule < Msf::Auxiliary
return unless smi? return unless smi?
disconnect # cant send any additional packets, so closing disconnect # cant send any additional packets, so closing
connect connect
print_status("Waiting #{datastore['DELAY']} seconds before requesting config") print_status("Requesting configuration from device...")
Rex.sleep(datastore['DELAY'])
send_packet send_packet
print_status("Waiting #{datastore['SLEEP']} seconds for configuration") print_status("Waiting #{datastore['SLEEP']} seconds for configuration")
Rex.sleep(datastore['SLEEP']) Rex.sleep(datastore['SLEEP'])