Update the check method to use the new API, fixes #30

git-svn-id: file:///home/svn/framework3/trunk@4460 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2007-02-22 07:34:03 +00:00
parent 2db1945637
commit 2602891506
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
##
# $Id:$
# $Id$
##
##
@ -162,7 +162,7 @@ class Exploits::Windows::Http::ApacheChunkedEncoding < Msf::Exploit::Remote
end
def check
response = request('uri' => '/')
response = send_request_raw({'uri' => '/'}, 5)
if response.nil?
print_status("No response to request")