Skip to content

Commit 8af87c7

Browse files
committed
More text update
1 parent 3a1dd16 commit 8af87c7

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from thirdparty.six import unichr as _unichr
2121

2222
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23-
VERSION = "1.5.7.5"
23+
VERSION = "1.5.7.6"
2424
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2525
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2626
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

lib/core/update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,6 @@ def update():
166166
infoMsg += "https://github.com/sqlmapproject/sqlmap/downloads"
167167
else:
168168
infoMsg = "for Linux platform it's recommended "
169-
infoMsg += "to install a standard 'git' package (e.g.: 'sudo apt install git')"
169+
infoMsg += "to install a standard 'git' package (e.g.: 'apt install git')"
170170

171171
logger.info(infoMsg)

lib/utils/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ def server(host=RESTAPI_DEFAULT_ADDRESS, port=RESTAPI_DEFAULT_PORT, adapter=REST
724724
errMsg += "List of supported adapters: %s" % ', '.join(sorted(list(server_names.keys())))
725725
else:
726726
errMsg = "Server support for adapter '%s' is not installed on this system " % adapter
727-
errMsg += "(Note: you can try to install it with 'sudo apt install python-%s' or 'sudo pip%s install %s')" % (adapter, '3' if six.PY3 else "", adapter)
727+
errMsg += "(Note: you can try to install it with 'apt install python-%s' or 'pip%s install %s')" % (adapter, '3' if six.PY3 else "", adapter)
728728
logger.critical(errMsg)
729729

730730
def _client(url, options=None):

lib/utils/sqlalchemy.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
from lib.core.exception import SqlmapFilePathException
3636
from lib.core.exception import SqlmapMissingDependence
3737
from plugins.generic.connector import Connector as GenericConnector
38+
from thirdparty import six
3839

3940
def getSafeExString(ex, encoding=None): # Cross-referenced function
4041
raise NotImplementedError
@@ -88,7 +89,7 @@ def connect(self):
8889

8990
self.printConnected()
9091
else:
91-
raise SqlmapMissingDependence("SQLAlchemy not available (e.g. 'pip install SQLAlchemy')")
92+
raise SqlmapMissingDependence("SQLAlchemy not available (e.g. 'pip%s install SQLAlchemy')" % ('3' if six.PY3 else ""))
9293

9394
def fetchall(self):
9495
try:

0 commit comments

Comments
 (0)