Take more parameters from a config file
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
spoof_regex: .*
|
||||
ntlm_challenge: "1122334455667788"
|
||||
ntlm_domain: anonymous
|
||||
http_basic: no
|
||||
ssl_cert: null
|
||||
logfile: null
|
||||
hashdir: null
|
||||
services:
|
||||
DRDA: off
|
||||
DRDA: on
|
||||
FTP: on
|
||||
HTTP: on
|
||||
HTTPS: on
|
||||
@@ -11,7 +15,7 @@ services:
|
||||
MySQL: on
|
||||
POP3: on
|
||||
Postgres: on
|
||||
PrintJob: off
|
||||
PrintJob: on
|
||||
SIP: on
|
||||
SMB: on
|
||||
SMTP: on
|
||||
|
||||
+6
-1
@@ -410,7 +410,12 @@ class Plugin::HashCapture < Msf::Plugin
|
||||
options = {
|
||||
:ntlm_challenge => yamlconf['ntlm_challenge'],
|
||||
:ntlm_domain => yamlconf['ntlm_domain'],
|
||||
:services => yamlconf['services']
|
||||
:services => yamlconf['services'],
|
||||
:spoof_regex => yamlconf['spoof_regex'],
|
||||
:http_basic => yamlconf['http_basic'],
|
||||
:ssl_cert => yamlconf['ssl_cert'],
|
||||
:logfile => yamlconf['logfile'],
|
||||
:hashdir => yamlconf['hashdir']
|
||||
}
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user