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

Skip to content

Commit d47c16e

Browse files
committed
Minor refactoring
1 parent e0c7b5c commit d47c16e

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

lib/controller/checks.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -558,14 +558,14 @@ def genCmpPayload():
558558
logger.info(infoMsg)
559559
else:
560560
trueSet = set(extractTextTagContent(trueRawResponse))
561-
trueSet = trueSet.union(__ for _ in trueSet for __ in _.split())
561+
trueSet |= set(__ for _ in trueSet for __ in _.split())
562562

563563
falseSet = set(extractTextTagContent(falseRawResponse))
564-
falseSet = falseSet.union(__ for _ in falseSet for __ in _.split())
564+
falseSet |= set(__ for _ in falseSet for __ in _.split())
565565

566566
if threadData.lastErrorPage and threadData.lastErrorPage[1]:
567567
errorSet = set(extractTextTagContent(threadData.lastErrorPage[1]))
568-
errorSet = errorSet.union(__ for _ in errorSet for __ in _.split())
568+
errorSet |= set(__ for _ in errorSet for __ in _.split())
569569
else:
570570
errorSet = set()
571571

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.enums import OS
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.2.6.9"
22+
VERSION = "1.2.6.10"
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)

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ c88d66597f4aab719bde4542b0a1a6e0 extra/shutils/regressiontest.py
2222
1e5532ede194ac9c083891c2f02bca93 extra/sqlharvest/__init__.py
2323
b3e60ea4e18a65c48515d04aab28ff68 extra/sqlharvest/sqlharvest.py
2424
0f581182871148b0456a691ae85b04c0 lib/controller/action.py
25-
2bfb57f063421c3789a81cd4ca89d8dc lib/controller/checks.py
25+
94872ce72dc2628cdedf2eb82cba716e lib/controller/checks.py
2626
c414cecdb0472c92cf50ed5b01e4438c lib/controller/controller.py
2727
c7443613a0a2505b1faec931cee2a6ef lib/controller/handler.py
2828
1e5532ede194ac9c083891c2f02bca93 lib/controller/__init__.py
@@ -47,7 +47,7 @@ c9a56e58984420a5abb7a3f7aadc196d lib/core/optiondict.py
4747
0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
4848
a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
4949
fcb74fcc9577523524659ec49e2e964b lib/core/session.py
50-
55f2994073c8311c14895278ee8c8e25 lib/core/settings.py
50+
65f5f735ff6df29a6675106e920a1c1c lib/core/settings.py
5151
0dfc2ed40adf72e302291f6ecd4406f6 lib/core/shell.py
5252
a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
5353
6306284edcccc185b2df085438572b0d lib/core/target.py

0 commit comments

Comments
 (0)