mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Minor patch (drei)
This commit is contained in:
parent
11adf893c3
commit
e57e61eccb
2 changed files with 2 additions and 2 deletions
|
|
@ -110,7 +110,7 @@ def vulnTest():
|
|||
handle, request = tempfile.mkstemp(suffix=".req")
|
||||
os.close(handle)
|
||||
|
||||
open(request, "w+b").write("POST / HTTP/1.0\nHost: %s:%s\n\nid=1\n" % (address, port))
|
||||
open(request, "w+").write("POST / HTTP/1.0\nHost: %s:%s\n\nid=1\n" % (address, port))
|
||||
|
||||
url = "http://%s:%d/?id=1" % (address, port)
|
||||
direct = "sqlite3://%s" % database
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue