File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1444,13 +1444,13 @@ def parseTargetUrl():
14441444 if not conf .referer and (intersect (REFERER_ALIASES , conf .testParameter , True ) or conf .level >= 3 ):
14451445 debugMsg = "setting the HTTP Referer header to the target URL"
14461446 logger .debug (debugMsg )
1447- conf .httpHeaders = filter ( lambda key , value : key != HTTP_HEADER .REFERER , conf . httpHeaders )
1447+ conf .httpHeaders = [ _ for _ in conf . httpHeaders if _ [ 0 ] != HTTP_HEADER .REFERER ]
14481448 conf .httpHeaders .append ((HTTP_HEADER .REFERER , conf .url .replace (CUSTOM_INJECTION_MARK_CHAR , "" )))
14491449
14501450 if not conf .host and (intersect (HOST_ALIASES , conf .testParameter , True ) or conf .level >= 5 ):
14511451 debugMsg = "setting the HTTP Host header to the target URL"
14521452 logger .debug (debugMsg )
1453- conf .httpHeaders = filter ( lambda key , value : key != HTTP_HEADER .HOST , conf . httpHeaders )
1453+ conf .httpHeaders = [ _ for _ in conf . httpHeaders if _ [ 0 ] != HTTP_HEADER .HOST ]
14541454 conf .httpHeaders .append ((HTTP_HEADER .HOST , getHostHeader (conf .url )))
14551455
14561456 if conf .url != originalUrl :
Original file line number Diff line number Diff line change 1919from lib .core .enums import OS
2020
2121# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22- VERSION = "1.1.4.39 "
22+ VERSION = "1.1.4.40 "
2323TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2424TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2525VERSION_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 @@ -27,7 +27,7 @@ df647d57cf02cc0e4bda6b8ccc9d8138 lib/controller/controller.py
2727310efc965c862cfbd7b0da5150a5ad36 lib/controller/__init__.py
2828d3b4e1139bf117fe4cf6451d43d8253c lib/core/agent.py
29296cc95a117fbd34ef31b9aa25520f0e31 lib/core/bigarray.py
30- be5f3fec9e376debbc76986310299078 lib/core/common.py
30+ 128a9fbdf43c064e96af3f1493d3baea lib/core/common.py
31315065a4242a8cccf72f91e22e1007ae63 lib/core/convert.py
3232a8143dab9d3a27490f7d49b6b29ea530 lib/core/data.py
33337936d78b1a7f1f008ff92bf2f88574ba lib/core/datatype.py
@@ -46,10 +46,10 @@ ebb778c2d26eba8b34d7d8658e4105a6 lib/core/optiondict.py
4646d8e9250f3775119df07e9070eddccd16 lib/core/replication.py
4747785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py
484840c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py
49- 308e9a66c158fb55c9d920df6884a115 lib/core/settings.py
49+ 698d15879ed0e3e0f3da0ff679d2da99 lib/core/settings.py
5050d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py
51512ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py
52- 8daa3eb3e8a5fc050f6622f335b3ff44 lib/core/target.py
52+ 155e2d3fda87b2e3ffa4f7a770513946 lib/core/target.py
53538970b88627902239d695280b1160e16c lib/core/testing.py
545440881e63d516d8304fc19971049cded0 lib/core/threads.py
5555ad74fc58fc7214802fd27067bce18dd2 lib/core/unescaper.py
You can’t perform that action at this time.
0 commit comments