mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Trying to deal with Travis CI problem
This commit is contained in:
parent
a58d08c7e4
commit
c97a814d26
3 changed files with 9 additions and 3 deletions
|
|
@ -86,9 +86,13 @@ def vulnTest():
|
|||
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||
try:
|
||||
s.connect((address, port))
|
||||
break
|
||||
s.send(b"GET / HTTP/1.0\r\n\r\n")
|
||||
if s.recv(4096):
|
||||
break
|
||||
except:
|
||||
time.sleep(1)
|
||||
finally:
|
||||
s.close()
|
||||
|
||||
handle, config = tempfile.mkstemp(suffix=".conf")
|
||||
os.close(handle)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue