Skip to content

Commit 57511ac

Browse files
committed
Trivial update
1 parent 5f41d94 commit 57511ac

File tree

5 files changed

+19
-6
lines changed

5 files changed

+19
-6
lines changed

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.3.10.4"
21+
VERSION = "1.3.10.5"
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/request/basicauthhandler.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ class SmartHTTPBasicAuthHandler(_urllib.request.HTTPBasicAuthHandler):
1212
Reference: http://selenic.com/hg/rev/6c51a5056020
1313
Fix for a: http://bugs.python.org/issue8797
1414
"""
15+
1516
def __init__(self, *args, **kwargs):
1617
_urllib.request.HTTPBasicAuthHandler.__init__(self, *args, **kwargs)
1718
self.retried_req = set()

lib/takeover/metasploit.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -692,9 +692,9 @@ def smb(self):
692692
self._runMsfCliSmbrelay()
693693

694694
if Backend.getIdentifiedDbms() in (DBMS.MYSQL, DBMS.PGSQL):
695-
self.uncPath = "\\\\\\\\%s\\\\%s" % (self.lhostStr, self._randFile)
695+
self.uncPath = r"\\\\%s\\%s" % (self.lhostStr, self._randFile)
696696
else:
697-
self.uncPath = "\\\\%s\\%s" % (self.lhostStr, self._randFile)
697+
self.uncPath = r"\\%s\%s" % (self.lhostStr, self._randFile)
698698

699699
debugMsg = "Metasploit Framework console exited with return "
700700
debugMsg += "code %s" % self._controlMsfCmd(self._msfCliProc, self.uncPathRequest)

thirdparty/identywaf/data.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,16 @@
356356
"regex": "The (ISA Server|server) denied the specified Uniform Resource Locator \\(URL\\)",
357357
"signatures": []
358358
},
359+
"ithemes": {
360+
"company": "iThemes",
361+
"name": "iThemes Security",
362+
"regex": "",
363+
"signatures": [
364+
"c70f:RVZXum60OEhCWKpAYKYPkoJyWOpohM4IiUYMr2RWg1uQJLX3uhZOnthtOj+hXrAA16FcPhJOdLoXomtKaK59nui7c4RmkgI2FZjxtDtAeq+c36A4chW1XaTC",
365+
"71ee:RVZXum60OEhCWKpAYKYPkoJyWOpohM4IiUYMr2RWg1qQJLX2uhZOnthtOj+hXrAA16FcPhJOdLoXomtKaK59nui7c4RmkgI2FZjxtDtAeq+c36A4chW1XaTC"
366+
],
367+
"note": "Formerly Better WP Security"
368+
},
359369
"janusec": {
360370
"company": "Janusec",
361371
"name": "Janusec Application Gateway",

thirdparty/identywaf/identYwaf.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
import time
2828
import zlib
2929

30-
if sys.version_info >= (3, 0):
30+
PY3 = sys.version_info >= (3, 0)
31+
32+
if PY3:
3133
import http.cookiejar
3234
import http.client as httplib
3335
import urllib.request
@@ -58,7 +60,7 @@
5860
HTTPCookieProcessor = urllib2.HTTPCookieProcessor
5961

6062
NAME = "identYwaf"
61-
VERSION = "1.0.114"
63+
VERSION = "1.0.122"
6264
BANNER = r"""
6365
` __ __ `
6466
____ ___ ___ ____ ______ `| T T` __ __ ____ _____
@@ -356,7 +358,7 @@ def init():
356358
os.chdir(os.path.abspath(os.path.dirname(__file__)))
357359

358360
# Reference: http://blog.mathieu-leplatre.info/python-utf-8-print-fails-when-redirecting-stdout.html
359-
if IS_TTY:
361+
if not PY3 and not IS_TTY:
360362
sys.stdout = codecs.getwriter(locale.getpreferredencoding())(sys.stdout)
361363

362364
print(colorize("[o] initializing handlers..."))

0 commit comments

Comments
 (0)