File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
modules/auxiliary/scanner/http Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ def run_host(ip)
53
53
end
54
54
55
55
version = res . headers [ 'X-Jenkins' ]
56
- vprint_status ( "#{ peer } - Jenkins Version - #{ version } " )
56
+ print_status ( "#{ peer } - Jenkins Version - #{ version } " )
57
57
report_service (
58
58
:host => rhost ,
59
59
:port => rport ,
@@ -120,17 +120,17 @@ def check_app(app)
120
120
)
121
121
end
122
122
when 403
123
- vprint_status ( "#{ peer } - #{ uri_path } restricted (403)" )
123
+ print_status ( "#{ peer } - #{ uri_path } restricted (403)" )
124
124
when 401
125
- vprint_status ( "#{ peer } - #{ uri_path } requires authentication (401): #{ res . headers [ 'WWW-Authenticate' ] } " )
125
+ print_status ( "#{ peer } - #{ uri_path } requires authentication (401): #{ res . headers [ 'WWW-Authenticate' ] } " )
126
126
when 404
127
- vprint_status ( "#{ peer } - #{ uri_path } not found (404)" )
127
+ print_status ( "#{ peer } - #{ uri_path } not found (404)" )
128
128
when 301
129
- vprint_status ( "#{ peer } - #{ uri_path } is redirected (#{ res . code } ) to #{ res . headers [ 'Location' ] } (not following)" )
129
+ print_status ( "#{ peer } - #{ uri_path } is redirected (#{ res . code } ) to #{ res . headers [ 'Location' ] } (not following)" )
130
130
when 302
131
- vprint_status ( "#{ peer } - #{ uri_path } is redirected (#{ res . code } ) to #{ res . headers [ 'Location' ] } (not following)" )
131
+ print_status ( "#{ peer } - #{ uri_path } is redirected (#{ res . code } ) to #{ res . headers [ 'Location' ] } (not following)" )
132
132
else
133
- vprint_status ( "#{ peer } - #{ uri_path } Don't know how to handle response code #{ res . code } " )
133
+ print_status ( "#{ peer } - #{ uri_path } Don't know how to handle response code #{ res . code } " )
134
134
end
135
135
end
136
136
You can’t perform that action at this time.
0 commit comments