Skip to content

Commit d03379f

Browse files
committed
changed 2 vprint_error to print_error
1 parent 612eabd commit d03379f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/auxiliary/scanner/sap/sap_router_portscanner.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,13 @@ def parse_response_packet(response, ip, port)
8484
when /reacheable/
8585
print_error("#{ip}:#{port} - unreachable")
8686
else
87-
vprint_error("#{ip}:#{port} - unknown error message")
87+
print_error("#{ip}:#{port} - unknown error message")
8888
end
8989
when /NI_PONG/
9090
print_good("#{ip}:#{port} - TCP OPEN")
9191
report << [ip, port, 'open']
9292
else
93-
vprint_error("#{ip}:#{port} - unknown response")
93+
print_error("#{ip}:#{port} - unknown response")
9494
end
9595
report
9696

0 commit comments

Comments
 (0)