diff --git a/modules/auxiliary/scanner/smb/smb_enumusers.rb b/modules/auxiliary/scanner/smb/smb_enumusers.rb index e43116600e..c9d6978bf8 100644 --- a/modules/auxiliary/scanner/smb/smb_enumusers.rb +++ b/modules/auxiliary/scanner/smb/smb_enumusers.rb @@ -34,11 +34,11 @@ class Metasploit3 < Msf::Auxiliary end def rport - @rport || datastore['RPORT'] + @rport end def smb_direct - @smbdirect || datastore['SMBDirect'] + @smbdirect end # Locate an available SMB PIPE for the specified service