Skip to content

Commit baa877e

Browse files
author
HD Moore
committed
Switch to get_once for consistency
1 parent c8e44c3 commit baa877e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/windows/smtp/ms03_046_exchange2000_xexch50.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def exploit
151151

152152
sock.put("XEXCH50 2 2\r\n")
153153
select(nil,nil,nil,3)
154-
res = sock.get(-1,3)
154+
res = sock.get_once
155155
print_status("#{res}")
156156
if (res !~ /Send binary data/)
157157
print_status("Target is not vulnerable.")

0 commit comments

Comments
 (0)