Clean up nfs mount scanner to *print_* better

bug/bundler_fix
Jon Hart 2014-10-21 11:33:19 -07:00
parent 1fda9a36b7
commit 364315122a
1 changed files with 3 additions and 2 deletions

View File

@ -76,11 +76,12 @@ class Metasploit3 < Msf::Auxiliary
:update => :unique_data
)
elsif(exports == 0x00)
print_status("#{ip} - No exported directories")
vprint_status("#{ip} - No exported directories")
end
sunrpc_destroy
rescue ::Rex::Proto::SunRPC::RPCTimeout
rescue ::Rex::Proto::SunRPC::RPCTimeout, ::Rex::Proto::SunRPC::RPCError => e
vprint_error(e.to_s)
end
end