Don't use datastore options as default values
parent
969e5ddd39
commit
4aeb1eda9c
|
@ -34,11 +34,11 @@ class Metasploit3 < Msf::Auxiliary
|
||||||
end
|
end
|
||||||
|
|
||||||
def rport
|
def rport
|
||||||
@rport || datastore['RPORT']
|
@rport
|
||||||
end
|
end
|
||||||
|
|
||||||
def smb_direct
|
def smb_direct
|
||||||
@smbdirect || datastore['SMBDirect']
|
@smbdirect
|
||||||
end
|
end
|
||||||
|
|
||||||
# Locate an available SMB PIPE for the specified service
|
# Locate an available SMB PIPE for the specified service
|
||||||
|
|
Loading…
Reference in New Issue