Clean up nfs mount scanner to *print_* better
parent
1fda9a36b7
commit
364315122a
|
@ -76,11 +76,12 @@ class Metasploit3 < Msf::Auxiliary
|
||||||
:update => :unique_data
|
:update => :unique_data
|
||||||
)
|
)
|
||||||
elsif(exports == 0x00)
|
elsif(exports == 0x00)
|
||||||
print_status("#{ip} - No exported directories")
|
vprint_status("#{ip} - No exported directories")
|
||||||
end
|
end
|
||||||
|
|
||||||
sunrpc_destroy
|
sunrpc_destroy
|
||||||
rescue ::Rex::Proto::SunRPC::RPCTimeout
|
rescue ::Rex::Proto::SunRPC::RPCTimeout, ::Rex::Proto::SunRPC::RPCError => e
|
||||||
|
vprint_error(e.to_s)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue