Skip to content

Commit 79b95aa

Browse files
committed
Merge pull request #1 from nanomebia/master
Fixing Indentation
2 parents af90c64 + d04fd3b commit 79b95aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/exploits/unix/webapp/sugarcrm_unserialize_exec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ def exploit
102102
if res.get_cookies =~ /PHPSESSID=([A-Za-z0-9]*); path/
103103
session_id = $1
104104
elsif res.get_cookies =~ /PHPSESSID=([A-Za-z0-9]*);/
105-
session_id = $1
106-
else
107-
fail_with(Failure::NoAccess, "#{peer} - Login failed with \"#{username}:#{password}\" (No session ID)")
105+
session_id = $1
106+
else
107+
fail_with(Failure::NoAccess, "#{peer} - Login failed with \"#{username}:#{password}\" (No session ID)")
108108
end
109109

110110
print_status("#{peer} - Login successful with #{username}:#{password}")

0 commit comments

Comments
 (0)