mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-11 22:19:55 +00:00
Fixing CI/CD errors
This commit is contained in:
@@ -20,7 +20,7 @@ from lib.core.enums import OS
|
||||
from thirdparty import six
|
||||
|
||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||
VERSION = "1.10.8.43"
|
||||
VERSION = "1.10.8.44"
|
||||
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
||||
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
|
||||
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
|
||||
|
||||
@@ -38,9 +38,10 @@ class TestIdentYwafDecoder(unittest.TestCase):
|
||||
class TestCandidateRanking(unittest.TestCase):
|
||||
def test_structural_first(self):
|
||||
cands = candidateTampers()
|
||||
# the empirically strongest structural substitutions lead, ahead of camouflage
|
||||
self.assertEqual(cands[0], "equaltolike")
|
||||
self.assertIn("between", cands[:3])
|
||||
# the empirically strongest structural substitutions lead, ahead of camouflage. The first
|
||||
# three are the ones measured to get through a CRS-class ruleset, so they are trialled first
|
||||
self.assertEqual(cands[:3], ["castprefix", "mid2leftright", "odbcbrace"])
|
||||
self.assertLess(cands.index("equaltolike"), cands.index("randomcase"))
|
||||
self.assertLess(cands.index("between"), cands.index("space2comment"))
|
||||
|
||||
def test_no_dbms_prefiltering(self):
|
||||
|
||||
Reference in New Issue
Block a user