Skip to content

Commit 0ba7557

Browse files
author
Oliver-Tobias Ripka
committed
Fix typo in seattlelab_pass.rb exploit.
Also remove the $ from the end of the regex which stopped the exploit from being executed.
1 parent ba50f84 commit 0ba7557

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/exploits/windows/pop3/seattlelab_pass.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ def exploit
9595
end
9696

9797
sock.put("USER #{rand_text_alphanumeric(10)}\r\n")
98-
res = sock.get_once
99-
if banner !~ /^\+OK (.*) welcome here$/
98+
banner = sock.get_once
99+
if banner !~ /^\+OK (.*) welcome here/
100100
print_error("POP3 server rejected username")
101101
return
102102
end

0 commit comments

Comments
 (0)