Module: Msf::Auxiliary::LoginScanner

Included in:
AuthBrute, Exploit::Remote::HttpClient
Defined in:
lib/msf/core/auxiliary/login_scanner.rb

Overview

This module provides a base configure scanner method for binding common datastore options to the login scanners

Instance Method Summary collapse

Instance Method Details

#configure_login_scanner(conf) ⇒ Object

Converts datastore options into configuration parameters for the Msf::Auxiliary::LoginScanner. Any parameters passed into this method will override the defaults.



16
17
18
19
20
21
22
23
24
25
26
27
28
# File 'lib/msf/core/auxiliary/login_scanner.rb', line 16

def (conf)
  {
    host: datastore['RHOST'],
    port: datastore['RPORT'],
    proxies: datastore['Proxies'],
    stop_on_success: datastore['STOP_ON_SUCCESS'],
    bruteforce_speed: datastore['BRUTEFORCE_SPEED'],
    framework: framework,
    framework_module: self,
    local_port: datastore['CPORT'],
    local_host: datastore['CHOST'],
  }.merge(conf)
end