Skip to content

Commit

Permalink
Minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
stamparm committed May 27, 2021
1 parent 3c25f79 commit 6942abf
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 17 deletions.
2 changes: 1 addition & 1 deletion lib/core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from thirdparty.six import unichr as _unichr

# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.5.5.10"
VERSION = "1.5.5.11"
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
Expand Down
4 changes: 2 additions & 2 deletions lib/request/dns.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ class DNSServer(object):
raw request
Reference(s):
http://code.activestate.com/recipes/491264-mini-fake-dns-server/
https://code.google.com/p/marlon-tools/source/browse/tools/dnsproxy/dnsproxy.py
https://code.activestate.com/recipes/491264-mini-fake-dns-server/
https://web.archive.org/web/20150418152405/https://code.google.com/p/marlon-tools/source/browse/tools/dnsproxy/dnsproxy.py
"""

def __init__(self):
Expand Down
5 changes: 2 additions & 3 deletions plugins/dbms/access/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@

class Connector(GenericConnector):
"""
Homepage: http://pyodbc.googlecode.com/
User guide: http://code.google.com/p/pyodbc/wiki/GettingStarted
API: http://code.google.com/p/pyodbc/w/list
Homepage: https://github.com/mkleehammer/pyodbc
User guide: https://github.com/mkleehammer/pyodbc/wiki
Debian package: python-pyodbc
License: MIT
"""
Expand Down
2 changes: 1 addition & 1 deletion plugins/dbms/cratedb/syntax.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Syntax(GenericSyntax):
@staticmethod
def escape(expression, quote=True):
"""
>>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == u"SELECT 'abcdefgh' FROM foobar"
>>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT 'abcdefgh' FROM foobar"
True
"""

Expand Down
2 changes: 1 addition & 1 deletion plugins/dbms/derby/syntax.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Syntax(GenericSyntax):
@staticmethod
def escape(expression, quote=True):
"""
>>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == u"SELECT 'abcdefgh' FROM foobar"
>>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT 'abcdefgh' FROM foobar"
True
"""

Expand Down
2 changes: 1 addition & 1 deletion plugins/dbms/extremedb/syntax.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Syntax(GenericSyntax):
@staticmethod
def escape(expression, quote=True):
"""
>>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == u"SELECT 'abcdefgh' FROM foobar"
>>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT 'abcdefgh' FROM foobar"
True
"""

Expand Down
2 changes: 1 addition & 1 deletion plugins/dbms/frontbase/syntax.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Syntax(GenericSyntax):
@staticmethod
def escape(expression, quote=True):
"""
>>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == u"SELECT 'abcdefgh' FROM foobar"
>>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT 'abcdefgh' FROM foobar"
True
"""

Expand Down
2 changes: 1 addition & 1 deletion plugins/dbms/maxdb/syntax.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Syntax(GenericSyntax):
@staticmethod
def escape(expression, quote=True):
"""
>>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == u"SELECT 'abcdefgh' FROM foobar"
>>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT 'abcdefgh' FROM foobar"
True
"""

Expand Down
2 changes: 1 addition & 1 deletion plugins/dbms/mckoi/syntax.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Syntax(GenericSyntax):
@staticmethod
def escape(expression, quote=True):
"""
>>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == u"SELECT 'abcdefgh' FROM foobar"
>>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT 'abcdefgh' FROM foobar"
True
"""

Expand Down
7 changes: 3 additions & 4 deletions plugins/dbms/mysql/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@

class Connector(GenericConnector):
"""
Homepage: http://code.google.com/p/pymysql/
User guide: http://code.google.com/p/pymysql/
API: http://code.google.com/p/pymysql/
Debian package: <none>
Homepage: https://github.com/PyMySQL/PyMySQL
User guide: https://pymysql.readthedocs.io/en/latest/
Debian package: python3-pymysql
License: MIT
Possible connectors: http://wiki.python.org/moin/MySQL
Expand Down
2 changes: 1 addition & 1 deletion plugins/generic/takeover.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def osPwn(self):
except ImportError:
errMsg = "sqlmap requires 'python-impacket' third-party library "
errMsg += "in order to run icmpsh master. You can get it at "
errMsg += "http://code.google.com/p/impacket/downloads/list"
errMsg += "https://github.com/SecureAuthCorp/impacket"
raise SqlmapMissingDependence(errMsg)

filename = "/proc/sys/net/ipv4/icmp_echo_ignore_all"
Expand Down

0 comments on commit 6942abf

Please sign in to comment.