Skip to content

Commit a30d6b1

Browse files
committed
Quick cleanup for sap_icm_urlscan
2 parents bc64e47 + dc0e649 commit a30d6b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/auxiliary/scanner/sap/sap_icm_urlscan.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@ def check_url(url)
115115
when 404
116116
# Do not return by default, only display in verbose mode
117117
vprint_status("#{full_url} - not found (#{res.code})")
118-
when 400,500
118+
when 400, 500
119119
print_status("#{full_url} - produced a server error (#{res.code})")
120-
when 301, 302,
120+
when 301, 302
121121
print_good("#{full_url} - redirected (#{res.code}) to #{res.redirection} (not following)")
122122
@valid_urls << full_url << "\n"
123123
when 307

0 commit comments

Comments
 (0)