Module: Msf::Exploit::Remote::SMB::Client::Authenticated
- Includes:
- Msf::Exploit::Remote::SMB::Client
- Defined in:
- lib/msf/core/exploit/remote/smb/client/authenticated.rb
Overview
Mini-mixin for making SMBUser/SMBPass/SMBDomain regular options vs advanced Included when the module needs credentials to function
Constant Summary
Constants included from Msf::Exploit::Remote::SMB::Client
CONST, DCERPCClient, DCERPCPacket, DCERPCResponse, DCERPCUUID, NDR, SIMPLE, XCEPT
Instance Attribute Summary
Attributes included from Msf::Exploit::Remote::SMB::Client
Attributes included from Tcp
Instance Method Summary collapse
Methods included from Msf::Exploit::Remote::SMB::Client
#connect, #domain, #domain_username_split, #smb_create, #smb_direct, #smb_enumprinters, #smb_enumprintproviders, #smb_file_exist?, #smb_file_rm, #smb_fingerprint, #smb_fingerprint_windows_lang, #smb_fingerprint_windows_sp, #smb_hostname, #smb_lanman_netshareenumall, #smb_login, #smb_lookup_share_type, #smb_netshareenumall, #smb_netsharegetinfo, #smb_open, #smb_peer_lm, #smb_peer_os, #smb_srvsvc_netshareenumall, #smb_srvsvc_netsharegetinfo, #smbhost, #splitname, #unicode
Methods included from Tcp
#chost, #cleanup, #connect, #connect_timeout, #cport, #disconnect, #handler, #lhost, #lport, #peer, #print_prefix, #proxies, #rhost, #rport, #set_tcp_evasions, #shutdown, #ssl, #ssl_cipher, #ssl_verify_mode, #ssl_version
Instance Method Details
#initialize(info = {}) ⇒ Object
11 12 13 14 15 16 17 18 19 |
# File 'lib/msf/core/exploit/remote/smb/client/authenticated.rb', line 11 def initialize(info = {}) super ( [ OptString.new('SMBUser', [ false, 'The username to authenticate as', '']), OptString.new('SMBPass', [ false, 'The password for the specified username', '']), OptString.new('SMBDomain', [ false, 'The Windows domain to use for authentication', '.']), ], Msf::Exploit::Remote::SMB::Client::Authenticated) end |