Skip to content

Commit 9f47843

Browse files
committed
Disconnect after making the HTTP transaction in send_request_cgi
Add a disconnect call after cgi is done.
1 parent 0df3e17 commit 9f47843

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/exploit/http/client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ def send_request_cgi(opts={}, timeout = 20)
366366
print_line('#' * 20)
367367
print_line(res.to_s)
368368
end
369-
369+
disconnect(c)
370370
res
371371
rescue ::Errno::EPIPE, ::Timeout::Error => e
372372
print_line(e.message) if datastore['HttpTrace']

0 commit comments

Comments
 (0)