mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Some more DREI stuff
This commit is contained in:
@@ -9,6 +9,7 @@ import binascii
|
||||
import os
|
||||
import random
|
||||
import uuid
|
||||
import sys
|
||||
|
||||
class WichmannHill(random.Random):
|
||||
"""
|
||||
@@ -163,4 +164,9 @@ class WichmannHill(random.Random):
|
||||
|
||||
# Reference: https://github.com/urllib3/urllib3/blob/master/src/urllib3/filepost.py
|
||||
def choose_boundary():
|
||||
return uuid.uuid4().hex
|
||||
return uuid.uuid4().hex
|
||||
|
||||
if sys.version_info.major > 2:
|
||||
xrange = range
|
||||
else:
|
||||
xrange = xrange
|
||||
|
||||
Reference in New Issue
Block a user