We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27c4123 commit af90c64Copy full SHA for af90c64
modules/exploits/unix/webapp/sugarcrm_unserialize_exec.rb
@@ -67,7 +67,7 @@ def on_new_session(client)
67
client.fs.file.rm(f)
68
print_good("#{peer} - #{f} removed to stay ninja")
69
rescue
70
- fail_with(Failure::Unknown, "#{peer} - Unable to remove #{f}")
+ print_warning("#{peer} - Unable to remove #{f}")
71
end
72
73
@@ -95,7 +95,7 @@ def exploit
95
'data' => data
96
})
97
98
- if res.nil? || res.headers['Location'].include? ('action=Login') || res.get_cookies.empty?
+ if res.nil? || res.headers['Location'].include?('action=Login') || res.get_cookies.empty?
99
fail_with(Failure::NoAccess, "#{peer} - Login failed with \"#{username}:#{password}\"")
100
101
0 commit comments