Land #11143, nc -j fix for cups_root_file_read

4.x
William Vu 2018-12-19 22:37:00 -06:00 committed by Metasploit
parent 8b3910a753
commit 1a7c9d3a45
No known key found for this signature in database
GPG Key ID: CDFB5FA52007B954
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