File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
modules/auxiliary/scanner/sap Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -116,11 +116,11 @@ def check_url(url)
116
116
vprint_status ( "#{ full_url } - not found (#{ res . code } )" )
117
117
when 400 , 500
118
118
print_status ( "#{ full_url } - produced a server error (#{ res . code } )" )
119
- when 301 , 302
119
+ when 301 , 302 ,
120
120
print_good ( "#{ full_url } - redirected (#{ res . code } ) to #{ res . redirection } (not following)" )
121
121
@valid_urls << full_url << "\n "
122
122
when 307
123
- vprint_status ( "#{ full_url } - redirected (#{ res . code } ) to #{ res . redirection } (not following)" )
123
+ print_status ( "#{ full_url } - redirected (#{ res . code } ) to #{ res . redirection } (not following)" )
124
124
else
125
125
print_error ( "#{ full_url } - unhandled response code #{ res . code } " )
126
126
@valid_urls << full_url << "\n "
You can’t perform that action at this time.
0 commit comments