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.8.8 "
22+ VERSION = "1.2.8.9 "
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 @@ -88,6 +88,7 @@ def sqlShell(self):
8888 try :
8989 query = raw_input ("sql-shell> " )
9090 query = getUnicode (query , encoding = sys .stdin .encoding )
91+ query = query .strip ("; " )
9192 except KeyboardInterrupt :
9293 print
9394 errMsg = "user aborted"
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ c8c386d644d57c659d74542f5f57f632 lib/core/patch.py
48480c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
4949a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
5050fcb74fcc9577523524659ec49e2e964b lib/core/session.py
51- 588c1f076627097ed858094309961af9 lib/core/settings.py
51+ 2f3aba628e9e54988d510c5c1930e77a lib/core/settings.py
5252dd68a9d02fccb4fa1428b20e15b0db5d lib/core/shell.py
5353a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
54545b7ff6f49ff3af62f8c12f74b6d49dd2 lib/core/target.py
@@ -204,7 +204,7 @@ a3db8618eed5bb2807b6f77605cba9cc plugins/dbms/sybase/__init__.py
20420436acb9a5966af21b32e8558b0d50653d plugins/dbms/sybase/syntax.py
20520579f6c7017db4ded8f74a0117188836ff plugins/dbms/sybase/takeover.py
20620634d181a7086d6dfc7e72ae5f8a4cfe0f plugins/generic/connector.py
207- e6cd1c5a5244d83396b401f7db43d323 plugins/generic/custom.py
207+ ce6a6ff713852b5eca7b78316cc941c4 plugins/generic/custom.py
208208156c227dbe765da3d0fd2976fbe18d8b plugins/generic/databases.py
2092094e2b366bb9cfdaaed719b219913357c6 plugins/generic/entries.py
210210d82f2c78c1d4d7c6487e94fd3a68a908 plugins/generic/enumeration.py
You can’t perform that action at this time.
0 commit comments