Update nc -j check in cups_root_file_read

GSoC/Meterpreter_Web_Console
William Vu 2018-12-18 17:38:33 -06:00
parent 847e3232ab
commit 1b8b3bbb95
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ class MetasploitModule < Msf::Post
def get_request(uri)
output = perform_request(uri, 'nc -j localhost 631')
if output =~ /^usage: nc/
if output =~ /^(?:usage: nc|nc: invalid option -- 'j')/
output = perform_request(uri, 'nc localhost 631')
end