File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919from lib .core .enums import OS
2020
2121# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22- VERSION = "1.2.10.16 "
22+ VERSION = "1.2.10.17 "
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 4444from lib .core .exception import SqlmapFilePathException
4545from lib .core .exception import SqlmapGenericException
4646from lib .core .exception import SqlmapMissingPrivileges
47+ from lib .core .exception import SqlmapNoneDataException
4748from lib .core .exception import SqlmapSystemException
4849from lib .core .exception import SqlmapUserQuitException
4950from lib .core .option import _setDBMS
@@ -466,7 +467,13 @@ def _resumeDBMS():
466467 value = hashDBRetrieve (HASHDB_KEYS .DBMS )
467468
468469 if not value :
469- return
470+ if conf .offline :
471+ errMsg = "unable to continue in offline mode "
472+ errMsg += "because of lack of usable "
473+ errMsg += "session data"
474+ raise SqlmapNoneDataException (errMsg )
475+ else :
476+ return
470477
471478 dbms = value .lower ()
472479 dbmsVersion = [UNKNOWN_DBMS_VERSION ]
Original file line number Diff line number Diff line change @@ -49,10 +49,10 @@ c8c386d644d57c659d74542f5f57f632 lib/core/patch.py
49490c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
5050a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
5151fcb74fcc9577523524659ec49e2e964b lib/core/session.py
52- bd070cf6683de2f9ed462d35eba1ead5 lib/core/settings.py
52+ f9c54a74954157624dafa19b563d92b6 lib/core/settings.py
5353dd68a9d02fccb4fa1428b20e15b0db5d lib/core/shell.py
5454a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
55- 62bc180e3e828949ffb342a8f756c183 lib/core/target.py
55+ 47ad325975ab21fc9f11d90b46d0d143 lib/core/target.py
565672d499ca8d792e90a1ebfb2ad2341a51 lib/core/testing.py
5757cd0067d1798e45f422ce44b98baf57db lib/core/threads.py
5858c40758411bb0bd68764d78e0bb72bd0f lib/core/unescaper.py
You can’t perform that action at this time.
0 commit comments