mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Minor update
This commit is contained in:
parent
c7bb44b0a2
commit
662a3c3d6f
4 changed files with 7 additions and 7 deletions
2
thirdparty/clientform/clientform.py
vendored
2
thirdparty/clientform/clientform.py
vendored
|
|
@ -290,7 +290,7 @@ def isstringlike(x):
|
|||
def choose_boundary():
|
||||
"""Return a string usable as a multipart boundary."""
|
||||
# follow IE and firefox
|
||||
nonce = "".join([str(random.randint(0, sys.maxint-1)) for i in 0,1,2])
|
||||
nonce = "".join([str(random.randint(0, sys.maxint-1)) for i in (0,1,2)])
|
||||
return "-"*27 + nonce
|
||||
|
||||
# This cut-n-pasted MimeWriter from standard library is here so can add
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue