Skip to content

Commit 13e914d

Browse files
author
jvazquez-r7
committed
added on_new_session handler to warn users about cleanup
1 parent b4485fd commit 13e914d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

modules/exploits/windows/browser/keyhelp_launchtripane_exec.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ def initialize(info = {})
8585
], self.class)
8686
end
8787

88+
# The following handles deleting the copied vbs payload and mof file
89+
def on_new_session(client)
90+
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.")
91+
end
8892

8993
def auto_target(cli, request)
9094
agent = request.headers['User-Agent']

0 commit comments

Comments
 (0)