Skip to content

Commit 24ec3b2

Browse files
committed
Changed vprint_error to fail_with method.
1 parent b4a6cdb commit 24ec3b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/scanner/http/wp_simple_backup_file_read.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def run_host(ip)
5959
)
6060

6161
unless res && res.body
62-
vprint_error("#{peer} - Server did not respond in an expected way.")
62+
fail_with(Failure::Unknown, "#{peer} - Server did not respond in an expected way.")
6363
return
6464
end
6565

0 commit comments

Comments
 (0)