Skip to content

Commit 7c2088f

Browse files
committed
Minor update
1 parent 2e629b2 commit 7c2088f

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎lib/core/settings.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from thirdparty import six
2020

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

‎tests/test_paraminer.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
class TestMineParametersJitterProbe(unittest.TestCase):
3737
def setUp(self):
38-
self._origGetPage = paraminer.Request.getPage
38+
self._origGetPage = paraminer.Request.__dict__["getPage"]
3939
self._origGetFileItems = paraminer.getFileItems
4040
self._origParameters = dict(conf.parameters)
4141
self._origParamDict = dict(conf.paramDict)
@@ -47,7 +47,7 @@ def setUp(self):
4747
conf.paramDict[PLACE.GET] = {"id": "1"}
4848

4949
# keep the candidate list to the one name under test instead of all of common-params.txt
50-
paraminer.getFileItems = staticmethod(lambda path, unique=False: ["debug"])
50+
paraminer.getFileItems = lambda path, unique=False: ["debug"]
5151

5252
def tearDown(self):
5353
paraminer.Request.getPage = self._origGetPage

0 commit comments

Comments
 (0)