Fix issue with flushing rev port forwards

bug/bundler_fix
OJ 2016-04-11 10:39:54 +10:00
parent 866cb5a23b
commit 5c2e5398ad
1 changed files with 3 additions and 3 deletions

View File

@ -533,10 +533,10 @@ class Console::CommandDispatcher::Stdapi::Net
next if (opts['MeterpreterRelay'] == nil)
if opts['Reverse'] == true
if service.stop_reverse_tcp_relay(rport)
print_status("Successfully stopped reverse TCP relay on :#{rport}")
if service.stop_reverse_tcp_relay(lport)
print_status("Successfully stopped reverse TCP relay on :#{lport}")
else
print_error("Failed to stop reverse TCP relay on #{rport}")
print_error("Failed to stop reverse TCP relay on #{lport}")
next
end
else