Skip to content

Commit 9201f50

Browse files
committed
Use vprint for check because of rules
1 parent f429b80 commit 9201f50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/multi/http/struts2_content_type_ognl.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def check
7575
end
7676

7777
if resp && resp.code == 200 && resp.headers[var_a]
78-
print_good("Victim operating system: #{resp.headers[var_a]}")
78+
vprint_good("Victim operating system: #{resp.headers[var_a]}")
7979
Exploit::CheckCode::Vulnerable
8080
else
8181
Exploit::CheckCode::Safe

0 commit comments

Comments
 (0)