Skip to content

Commit 8f2a716

Browse files
committed
I don't really need to override fail_with
1 parent 0213da3 commit 8f2a716

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

modules/exploits/multi/http/uptime_file_upload_2.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,6 @@ def print_good(msg='')
7474
super("#{rhost}:#{rport} - #{msg}")
7575
end
7676

77-
def fail_with(status, msg)
78-
super(status, "#{rhost}:#{rport} - #{msg}")
79-
end
80-
8177
# Application Check
8278
def check
8379
res = send_request_cgi(
@@ -193,6 +189,7 @@ def create_exec_service(*args)
193189
end
194190

195191
def exploit
192+
fail_with(Failure::Unknown, 'oh no')
196193
vprint_status('Trying to login...')
197194
# Application Login
198195
res_auth = send_request_cgi(

0 commit comments

Comments
 (0)