Skip to content

Commit d04fd3b

Browse files
committed
Fixing Indentation
Small indentation fix
1 parent af90c64 commit d04fd3b

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)