Some more drei stuff

This commit is contained in:
Miroslav Stampar 2019-03-28 15:14:16 +01:00
parent 49586ad6dd
commit 4b020c4257
81 changed files with 125 additions and 167 deletions

View file

@ -6,6 +6,7 @@ See the file 'doc/COPYING' for copying permission
"""
from lib.core.enums import PRIORITY
from lib.utils.xrange import xrange
__priority__ = PRIORITY.HIGHEST

View file

@ -6,6 +6,7 @@ See the file 'LICENSE' for copying permission
"""
from lib.core.enums import PRIORITY
from lib.utils.xrange import xrange
__priority__ = PRIORITY.HIGHEST

View file

@ -11,6 +11,7 @@ import random
from lib.core.enums import HINT
from lib.core.enums import PRIORITY
from lib.core.settings import DEFAULT_GET_POST_DELIMITER
from lib.utils.xrange import xrange
__priority__ = PRIORITY.NORMAL

View file

@ -12,6 +12,7 @@ from lib.core.common import singleTimeWarnMessage
from lib.core.common import zeroDepthSearch
from lib.core.enums import DBMS
from lib.core.enums import PRIORITY
from lib.utils.xrange import xrange
__priority__ = PRIORITY.HIGHEST

View file

@ -12,6 +12,7 @@ from lib.core.common import singleTimeWarnMessage
from lib.core.common import zeroDepthSearch
from lib.core.enums import DBMS
from lib.core.enums import PRIORITY
from lib.utils.xrange import xrange
__priority__ = PRIORITY.HIGHEST

View file

@ -10,6 +10,7 @@ import re
from lib.core.common import randomRange
from lib.core.data import kb
from lib.core.enums import PRIORITY
from lib.utils.xrange import xrange
__priority__ = PRIORITY.NORMAL

View file

@ -10,6 +10,7 @@ import re
from lib.core.common import randomRange
from lib.core.data import kb
from lib.core.enums import PRIORITY
from lib.utils.xrange import xrange
__priority__ = PRIORITY.LOW

View file

@ -6,6 +6,7 @@ See the file 'LICENSE' for copying permission
"""
from lib.core.enums import PRIORITY
from lib.utils.xrange import xrange
__priority__ = PRIORITY.LOW

View file

@ -9,6 +9,7 @@ import random
import string
from lib.core.enums import PRIORITY
from lib.utils.xrange import xrange
__priority__ = PRIORITY.LOW

View file

@ -12,6 +12,7 @@ import string
from lib.core.common import singleTimeWarnMessage
from lib.core.enums import DBMS
from lib.core.enums import PRIORITY
from lib.utils.xrange import xrange
__priority__ = PRIORITY.LOW

View file

@ -6,6 +6,7 @@ See the file 'LICENSE' for copying permission
"""
from lib.core.enums import PRIORITY
from lib.utils.xrange import xrange
__priority__ = PRIORITY.LOW

View file

@ -15,6 +15,7 @@ from lib.core.data import kb
from lib.core.enums import DBMS
from lib.core.enums import PRIORITY
from lib.core.settings import IGNORE_SPACE_AFFECTED_KEYWORDS
from lib.utils.xrange import xrange
__priority__ = PRIORITY.LOW

View file

@ -11,6 +11,7 @@ import random
from lib.core.common import singleTimeWarnMessage
from lib.core.enums import DBMS
from lib.core.enums import PRIORITY
from lib.utils.xrange import xrange
__priority__ = PRIORITY.LOW

View file

@ -6,6 +6,7 @@ See the file 'LICENSE' for copying permission
"""
from lib.core.enums import PRIORITY
from lib.utils.xrange import xrange
__priority__ = PRIORITY.LOW

View file

@ -11,6 +11,7 @@ import random
from lib.core.common import singleTimeWarnMessage
from lib.core.enums import DBMS
from lib.core.enums import PRIORITY
from lib.utils.xrange import xrange
__priority__ = PRIORITY.LOW

View file

@ -10,6 +10,7 @@ import os
from lib.core.common import singleTimeWarnMessage
from lib.core.enums import DBMS
from lib.core.enums import PRIORITY
from lib.utils.xrange import xrange
__priority__ = PRIORITY.LOW

View file

@ -6,6 +6,7 @@ See the file 'LICENSE' for copying permission
"""
from lib.core.enums import PRIORITY
from lib.utils.xrange import xrange
__priority__ = PRIORITY.LOW

View file

@ -8,6 +8,7 @@ See the file 'LICENSE' for copying permission
import random
from lib.core.enums import PRIORITY
from lib.utils.xrange import xrange
__priority__ = PRIORITY.LOW

View file

@ -8,6 +8,7 @@ See the file 'LICENSE' for copying permission
import re
from lib.core.enums import PRIORITY
from lib.utils.xrange import xrange
__priority__ = PRIORITY.NORMAL

View file

@ -5,8 +5,11 @@ Copyright (c) 2006-2019 sqlmap developers (http://sqlmap.org/)
See the file 'LICENSE' for copying permission
"""
import random
from lib.core.enums import PRIORITY
from random import sample
from lib.utils.xrange import xrange
__priority__ = PRIORITY.NORMAL
def dependencies():
@ -16,7 +19,7 @@ def randomIP():
numbers = []
while not numbers or numbers[0] in (10, 172, 192):
numbers = sample(xrange(1, 255), 4)
numbers = random.sample(xrange(1, 255), 4)
return '.'.join(str(_) for _ in numbers)