added on_new_session handler to warn users about cleanup

unstable
jvazquez-r7 2012-10-10 19:31:38 +02:00
parent b4485fdb2b
commit 13e914d65e
1 changed files with 4 additions and 0 deletions

View File

@ -85,6 +85,10 @@ class Metasploit3 < Msf::Exploit::Remote
], self.class)
end
# The following handles deleting the copied vbs payload and mof file
def on_new_session(client)
print_status("The exe payload (C:\\windows\\system32\\msfmsf.exe) and mof file (C:\\windows\\system32\\wbem\\mof\\good\\msfmsf.mof) must be removed manually.")
end
def auto_target(cli, request)
agent = request.headers['User-Agent']