mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-22 03:33:57 +00:00
Moving binary to textual file openings
This commit is contained in:
parent
e62e8c6cea
commit
d9102e03c6
10 changed files with 28 additions and 27 deletions
|
|
@ -490,7 +490,7 @@ class Connect(object):
|
|||
headers = forgeHeaders(auxHeaders, headers)
|
||||
|
||||
if kb.headersFile:
|
||||
content = openFile(kb.headersFile, "rb").read()
|
||||
content = openFile(kb.headersFile, 'r').read()
|
||||
for line in content.split("\n"):
|
||||
line = getText(line.strip())
|
||||
if ':' in line:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue