Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 435fd49

Browse files
committed
Trivial update
1 parent bcfd9c3 commit 435fd49

5 files changed

Lines changed: 12 additions & 7 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from thirdparty.six import unichr as _unichr
1919

2020
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21-
VERSION = "1.4.8.1"
21+
VERSION = "1.4.8.2"
2222
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2323
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2424
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

tamper/dunion.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,17 @@
55
See the file 'LICENSE' for copying permission
66
"""
77

8+
import os
89
import re
910

11+
from lib.core.common import singleTimeWarnMessage
12+
from lib.core.enums import DBMS
1013
from lib.core.enums import PRIORITY
1114

1215
__priority__ = PRIORITY.HIGHEST
1316

1417
def dependencies():
15-
pass
18+
singleTimeWarnMessage("tamper script '%s' is only meant to be run against %s" % (os.path.basename(__file__).split(".")[0], DBMS.ORACLE))
1619

1720
def tamper(payload, **kwargs):
1821
"""

tamper/equaltolike.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,8 @@
55
See the file 'LICENSE' for copying permission
66
"""
77

8-
import os
98
import re
109

11-
from lib.core.common import singleTimeWarnMessage
12-
from lib.core.enums import DBMS
1310
from lib.core.enums import PRIORITY
1411

1512
__priority__ = PRIORITY.HIGHEST

tamper/hex2char.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,16 @@
77

88
import re
99

10+
from lib.core.common import singleTimeWarnMessage
1011
from lib.core.convert import decodeHex
1112
from lib.core.convert import getOrds
13+
from lib.core.enums import DBMS
1214
from lib.core.enums import PRIORITY
1315

1416
__priority__ = PRIORITY.NORMAL
1517

1618
def dependencies():
17-
pass
19+
singleTimeWarnMessage("tamper script '%s' is only meant to be run against %s" % (os.path.basename(__file__).split(".")[0], DBMS.MYSQL))
1820

1921
def tamper(payload, **kwargs):
2022
"""

tamper/misunion.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,17 @@
55
See the file 'LICENSE' for copying permission
66
"""
77

8+
import os
89
import re
910

11+
from lib.core.common import singleTimeWarnMessage
12+
from lib.core.enums import DBMS
1013
from lib.core.enums import PRIORITY
1114

1215
__priority__ = PRIORITY.HIGHEST
1316

1417
def dependencies():
15-
pass
18+
singleTimeWarnMessage("tamper script '%s' is only meant to be run against %s" % (os.path.basename(__file__).split(".")[0], DBMS.MYSQL))
1619

1720
def tamper(payload, **kwargs):
1821
"""

0 commit comments

Comments
 (0)