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

Skip to content

Commit 03e4741

Browse files
committed
Trivial patch (display of used user queries)
1 parent b899ab9 commit 03e4741

3 files changed

Lines changed: 4 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 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"
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)

plugins/generic/custom.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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"

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ c8c386d644d57c659d74542f5f57f632 lib/core/patch.py
4848
0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
4949
a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
5050
fcb74fcc9577523524659ec49e2e964b lib/core/session.py
51-
588c1f076627097ed858094309961af9 lib/core/settings.py
51+
2f3aba628e9e54988d510c5c1930e77a lib/core/settings.py
5252
dd68a9d02fccb4fa1428b20e15b0db5d lib/core/shell.py
5353
a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
5454
5b7ff6f49ff3af62f8c12f74b6d49dd2 lib/core/target.py
@@ -204,7 +204,7 @@ a3db8618eed5bb2807b6f77605cba9cc plugins/dbms/sybase/__init__.py
204204
36acb9a5966af21b32e8558b0d50653d plugins/dbms/sybase/syntax.py
205205
79f6c7017db4ded8f74a0117188836ff plugins/dbms/sybase/takeover.py
206206
34d181a7086d6dfc7e72ae5f8a4cfe0f plugins/generic/connector.py
207-
e6cd1c5a5244d83396b401f7db43d323 plugins/generic/custom.py
207+
ce6a6ff713852b5eca7b78316cc941c4 plugins/generic/custom.py
208208
156c227dbe765da3d0fd2976fbe18d8b plugins/generic/databases.py
209209
4e2b366bb9cfdaaed719b219913357c6 plugins/generic/entries.py
210210
d82f2c78c1d4d7c6487e94fd3a68a908 plugins/generic/enumeration.py

0 commit comments

Comments
 (0)