File tree Expand file tree Collapse file tree 4 files changed +9
-1
lines changed
modules/auxiliary/scanner/http Expand file tree Collapse file tree 4 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,8 @@ def run_host(ip)
80
80
cred_details : cred_collection ,
81
81
stop_on_success : datastore [ 'STOP_ON_SUCCESS' ] ,
82
82
connection_timeout : 5 ,
83
+ user_agent : datastore [ 'UserAgent' ] ,
84
+ vhost : datastore [ 'VHOST' ]
83
85
)
84
86
85
87
scanner . scan! do |result |
Original file line number Diff line number Diff line change @@ -138,6 +138,8 @@ def run_host(ip)
138
138
cred_details : cred_collection ,
139
139
stop_on_success : datastore [ 'STOP_ON_SUCCESS' ] ,
140
140
connection_timeout : 5 ,
141
+ user_agent : datastore [ 'UserAgent' ] ,
142
+ vhost : datastore [ 'VHOST' ]
141
143
)
142
144
143
145
scanner . scan! do |result |
Original file line number Diff line number Diff line change @@ -44,6 +44,8 @@ def run_host(ip)
44
44
cred_details : cred_collection ,
45
45
stop_on_success : datastore [ 'STOP_ON_SUCCESS' ] ,
46
46
connection_timeout : 5 ,
47
+ user_agent : datastore [ 'UserAgent' ] ,
48
+ vhost : datastore [ 'VHOST' ]
47
49
)
48
50
49
51
scanner . scan! do |result |
Original file line number Diff line number Diff line change @@ -109,7 +109,9 @@ def run_host(ip)
109
109
proxies : datastore [ 'PROXIES' ] ,
110
110
cred_details : cred_collection ,
111
111
stop_on_success : datastore [ 'STOP_ON_SUCCESS' ] ,
112
- connection_timeout : 10
112
+ connection_timeout : 10 ,
113
+ user_agent : datastore [ 'UserAgent' ] ,
114
+ vhost : datastore [ 'VHOST' ]
113
115
)
114
116
115
117
scanner . scan! do |result |
You can’t perform that action at this time.
0 commit comments