Fixed simple return form get_output method
parent
cf53588ab7
commit
d6a3f6666d
|
@ -111,7 +111,7 @@ class Metasploit3 < Msf::Auxiliary
|
||||||
return output
|
return output
|
||||||
rescue StandardError => output_error
|
rescue StandardError => output_error
|
||||||
print_error("#{ip} - Error getting command output. #{output_error.class}. #{output_error}.")
|
print_error("#{ip} - Error getting command output. #{output_error.class}. #{output_error}.")
|
||||||
return nil
|
return false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue