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

Skip to content

Commit 7a55c9c

Browse files
committed
Trivial update
1 parent 4077a35 commit 7a55c9c

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

lib/core/settings.py

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

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

lib/utils/api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
from thirdparty.bottle.bottle import response
6262
from thirdparty.bottle.bottle import run
6363
from thirdparty.bottle.bottle import server_names
64+
from thirdparty import six
6465
from thirdparty.six.moves import http_client as _http_client
6566
from thirdparty.six.moves import input as _input
6667
from thirdparty.six.moves import urllib as _urllib
@@ -717,7 +718,7 @@ def server(host=RESTAPI_DEFAULT_ADDRESS, port=RESTAPI_DEFAULT_PORT, adapter=REST
717718
errMsg += "List of supported adapters: %s" % ', '.join(sorted(list(server_names.keys())))
718719
else:
719720
errMsg = "Server support for adapter '%s' is not installed on this system " % adapter
720-
errMsg += "(Note: you can try to install it with 'sudo apt install python-%s' or 'sudo pip install %s')" % (adapter, adapter)
721+
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)
721722
logger.critical(errMsg)
722723

723724
def _client(url, options=None):

0 commit comments

Comments
 (0)