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.2.8.2 "
22+ VERSION = "1.2.8.3 "
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 @@ -490,7 +490,7 @@ class _(dict):
490490 page = Connect ._connReadProxy (conn ) if not skipRead else None
491491
492492 if conn :
493- code = conn .code
493+ code = ( code or conn .code ) if conn . code == kb . originalCode else conn . code # do not override redirection code (for comparison purposes)
494494 responseHeaders = conn .info ()
495495 responseHeaders [URI_HTTP_HEADER ] = conn .geturl ()
496496 else :
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ c8c386d644d57c659d74542f5f57f632 lib/core/patch.py
48480c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
4949a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
5050fcb74fcc9577523524659ec49e2e964b lib/core/session.py
51- d4884a7b0a93931bc37783e62162d8bb lib/core/settings.py
51+ a56c2a90533ae494cd72e817d84a6c46 lib/core/settings.py
5252dd68a9d02fccb4fa1428b20e15b0db5d lib/core/shell.py
5353a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
545412bed9603b6fba3e5ffda11d584bc449 lib/core/target.py
@@ -70,7 +70,7 @@ f2af274126ce0a789027d35d367f2b9e lib/parse/payloads.py
707030eed3a92a04ed2c29770e1b10d39dc0 lib/request/basicauthhandler.py
71712b81435f5a7519298c15c724e3194a0d lib/request/basic.py
7272c0cabedead14b8a23353b606672cff42 lib/request/comparison.py
73- 039f0f7cf997856fa2f6e8d5d69f7ae9 lib/request/connect.py
73+ e284905d23658b85e94a5dd37bfb80b2 lib/request/connect.py
7474dd4598675027fae99f2e2475b05986da lib/request/direct.py
75752044fce3f4ffa268fcfaaf63241b1e64 lib/request/dns.py
767698535d0efca5551e712fcc4b34a3f772 lib/request/httpshandler.py
You can’t perform that action at this time.
0 commit comments