File tree Expand file tree Collapse file tree 5 files changed +19
-6
lines changed
Expand file tree Collapse file tree 5 files changed +19
-6
lines changed Original file line number Diff line number Diff line change 1818from 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 "
2222TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2323TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2424VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
Original file line number Diff line number Diff 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 ()
Original file line number Diff line number Diff 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 )
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change 2727import time
2828import 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
5860 HTTPCookieProcessor = urllib2 .HTTPCookieProcessor
5961
6062NAME = "identYwaf"
61- VERSION = "1.0.114 "
63+ VERSION = "1.0.122 "
6264BANNER = 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..." ))
You can’t perform that action at this time.
0 commit comments