Skip to content

Commit 7886ac6

Browse files
committed
Land rapid7#5170, fail_with argument fix
2 parents 418d858 + 904339f commit 7886ac6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/unix/webapp/wp_worktheflow_upload.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def exploit
6767
fail_with("#{peer} - Unable to deploy payload, server returned #{res.code}")
6868
end
6969
else
70-
fail_with('ERROR')
70+
fail_with(Failure::Unknown, 'ERROR')
7171
end
7272

7373
print_status("#{peer} - Calling payload...")

0 commit comments

Comments
 (0)