File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ c4bfb493a03caf84dd362aec7c248097841de804b7413d0e1ecb8a90c8550bc0 lib/core/readl
188188d1bd70c1a55858495c727fbec91e30af267459c8f64d50fabf9e4ee2c007e920 lib/core/replication.py
1891891d0f80b0193ac5204527bfab4bde1a7aee0f693fd008e86b4b29f606d1ef94f3 lib/core/revision.py
190190d2eb8e4b05ac93551272b3d4abfaf5b9f2d3ac92499a7704c16ed0b4f200db38 lib/core/session.py
191- fef0d5e006281b4a66f065a553640f66e061e6010e4bb2d03df5105eee35cfb2 lib/core/settings.py
191+ 2b5c72cf4e98f5cae70d18ea1e92a6c11de817bf8f0b55445bd33d0463f3b051 lib/core/settings.py
1921921c5eab9494eb969bc9ce118a2ea6954690c6851cbe54c18373c723b99734bf09 lib/core/shell.py
1931934eea6dcf023e41e3c64b210cb5c2efc7ca893b727f5e49d9c924f076bb224053 lib/core/subprocessng.py
194194cdd352e1331c6b535e780f6edea79465cb55af53aa2114dcea0e8bf382e56d1a lib/core/target.py
@@ -464,7 +464,7 @@ b333c73c6a490b5930a09c6c09951af1044eb97076446b2f1475c7cfdfc838a6 plugins/generi
4644644a923f52e8d2dfa6b55c16e08fd5f64eeb292b99573030c0397c7292a4032dd3 plugins/generic/databases.py
4654659b0dbf8f77f190ca92cc58e9c5f784d0b30276ee7d99906f6d9c826c23b6d2e1 plugins/generic/entries.py
466466783a17bb5188b6b9f4a73dbf10d5cf5c073144d5c1970a9d4aec27cb828e2356 plugins/generic/enumeration.py
467- 5dbcb646c03b43d1f26c0dbd17ae8fb537fdc526ca9984e1cc3e9eae12c38e6e plugins/generic/filesystem.py
467+ 8bf9cefa645a2e639861faf3c64ccc82a7bdc0fdc330a70138ddb8b280bef020 plugins/generic/filesystem.py
468468ab661b605012168d72f84a92ff7e233542df3825c66714c99073e56acea37e2e plugins/generic/fingerprint.py
4694694608f21a4333c162ab3c266c903fda4793cc5834de30d06affe9b7566dd09811 plugins/generic/__init__.py
4704709ec577d8ccf4698d4e7834bf1e97aea58fba9d2609714b7139c747bcc4f59a30 plugins/generic/misc.py
Original file line number Diff line number Diff line change 1919from thirdparty import six
2020
2121# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22- VERSION = "1.9.12.1 "
22+ VERSION = "1.9.12.2 "
2323TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2424TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2525VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
Original file line number Diff line number Diff line change 1616from lib .core .common import decloakToTemp
1717from lib .core .common import decodeDbmsHexValue
1818from lib .core .common import isListLike
19+ from lib .core .common import isNoneValue
20+ from lib .core .common import isNullValue
1921from lib .core .common import isNumPosStrValue
2022from lib .core .common import isStackingAvailable
2123from lib .core .common import isTechniqueAvailable
@@ -243,8 +245,9 @@ def readFile(self, remoteFile):
243245
244246 kb .fileReadMode = False
245247
246- if fileContent in ( None , "" ) and not Backend .isDbms (DBMS .PGSQL ):
248+ if ( isNoneValue ( fileContent ) or isNullValue ( fileContent ) ) and not Backend .isDbms (DBMS .PGSQL ):
247249 self .cleanup (onlyFileTbl = True )
250+ fileContent = None
248251 elif isListLike (fileContent ):
249252 newFileContent = ""
250253
You can’t perform that action at this time.
0 commit comments