Code Review Feedback

Made it less verbose, converting to vprint_error
bug/bundler_fix
Matt Andreko 2014-01-09 14:53:33 -05:00
parent e21c97fd4d
commit 93668b3286
1 changed files with 2 additions and 2 deletions

View File

@ -50,11 +50,11 @@ class Metasploit3 < Msf::Auxiliary
elsif (res && res.start_with?("ScMM")) elsif (res && res.start_with?("ScMM"))
print_good("#{ip}:#{rport} - Possible backdoor detected - Little Endian") print_good("#{ip}:#{rport} - Possible backdoor detected - Little Endian")
else else
print_error("#{ip}:#{rport} - Backdoor not detected.") vprint_error("#{ip}:#{rport} - Backdoor not detected.")
end end
rescue Rex::ConnectionError => e rescue Rex::ConnectionError => e
print_error("Connection failed: #{e.class}: #{e}") vprint_error("Connection failed: #{e.class}: #{e}")
end end
end end