File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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.0.12.5 "
22+ VERSION = "1.0.12.6 "
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 @@ -482,7 +482,7 @@ class _(dict):
482482 else :
483483 page = Connect ._connReadProxy (conn ) if not skipRead else None
484484
485- code = code or conn .code
485+ code = code or ( conn .code if conn else None )
486486 responseHeaders = conn .info ()
487487 responseHeaders [URI_HTTP_HEADER ] = conn .geturl ()
488488 page = decodePage (page , responseHeaders .get (HTTP_HEADER .CONTENT_ENCODING ), responseHeaders .get (HTTP_HEADER .CONTENT_TYPE ))
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ e60456db5380840a586654344003d4e6 lib/core/readlineng.py
4545b3a62d41a5af6cd7fa733b6227febb0c lib/core/replication.py
464699a2b496b9d5b546b335653ca801153f lib/core/revision.py
47477c15dd2777af4dac2c89cab6df17462e lib/core/session.py
48- 5715f0ee9be042a566b45431e144a401 lib/core/settings.py
48+ 90bdaaf9acba7304eec9fadc70671db1 lib/core/settings.py
49497af83e4f18cab6dff5e67840eb65be80 lib/core/shell.py
505023657cd7d924e3c6d225719865855827 lib/core/subprocessng.py
5151c3ace7874a536d801f308cf1fd03df99 lib/core/target.py
@@ -67,7 +67,7 @@ b40a4c5d91770d347df36d3065b63798 lib/parse/sitemap.py
67679299f21804033f099681525bb9bf51c0 lib/request/basicauthhandler.py
6868083e7f446909b12009e72ae8e5e5737c lib/request/basic.py
6969c48285682a61d49982cb508351013cb4 lib/request/comparison.py
70- 9bff6fe291805380c6a74d0cda6684a5 lib/request/connect.py
70+ de812e1f9e88659adc4d904014260ea9 lib/request/connect.py
7171d4d52c1073c75a6eecd2ebb98b670b96 lib/request/direct.py
72724ae7f4570fb859045f0487cc0b055a8e lib/request/dns.py
737358f63132eb56ad41ae6af4fe61933a2d lib/request/httpshandler.py
You can’t perform that action at this time.
0 commit comments