Land #11143, nc -j fix for cups_root_file_read
commit
5af05ad976
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue