File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1461,11 +1461,11 @@ def checkNullConnection():
14611461 infoMsg = "testing NULL connection to the target URL"
14621462 logger .info (infoMsg )
14631463
1464- try :
1465- pushValue (kb .pageCompress )
1466- kb .pageCompress = False
1464+ pushValue (kb .pageCompress )
1465+ kb .pageCompress = False
14671466
1468- page , headers , _ = Request .getPage (method = HTTPMETHOD .HEAD )
1467+ try :
1468+ page , headers , _ = Request .getPage (method = HTTPMETHOD .HEAD , raise404 = False )
14691469
14701470 if not page and HTTP_HEADER .CONTENT_LENGTH in (headers or {}):
14711471 kb .nullConnection = NULLCONNECTION .HEAD
@@ -1489,9 +1489,8 @@ def checkNullConnection():
14891489 infoMsg = "NULL connection is supported with 'skip-read' method"
14901490 logger .info (infoMsg )
14911491
1492- except SqlmapConnectionException , ex :
1493- errMsg = getSafeExString (ex )
1494- raise SqlmapConnectionException (errMsg )
1492+ except SqlmapConnectionException :
1493+ pass
14951494
14961495 finally :
14971496 kb .pageCompress = popValue ()
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.1.24 "
22+ VERSION = "1.2.1.25 "
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 @@ -21,7 +21,7 @@ c88d66597f4aab719bde4542b0a1a6e0 extra/shutils/regressiontest.py
21211e5532ede194ac9c083891c2f02bca93 extra/sqlharvest/__init__.py
2222b3e60ea4e18a65c48515d04aab28ff68 extra/sqlharvest/sqlharvest.py
23230f581182871148b0456a691ae85b04c0 lib/controller/action.py
24- 43cbf0f72f57279c6f65d531241e962c lib/controller/checks.py
24+ a4605691d340fd05d4bfe7dde922da92 lib/controller/checks.py
2525ccd66880fc677a3c83db2a3a70d196d7 lib/controller/controller.py
2626a7b0c8e5a18a3abe8803999dcfc4664f lib/controller/handler.py
27271e5532ede194ac9c083891c2f02bca93 lib/controller/__init__.py
@@ -46,7 +46,7 @@ ffa5f01f39b17c8d73423acca6cfe86a lib/core/readlineng.py
46460c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
4747a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
4848fcb74fcc9577523524659ec49e2e964b lib/core/session.py
49- b4bf9b1d887a7f992c1096132a0bec68 lib/core/settings.py
49+ 96752eb99f1d9a9f0562097d7557d5d3 lib/core/settings.py
5050d0adc28a38e43a787df4471f7f027413 lib/core/shell.py
515163491be462c515a1a3880c27c2acc4a2 lib/core/subprocessng.py
5252505aaa61e1bba3c3d4567c3e667699e3 lib/core/target.py
You can’t perform that action at this time.
0 commit comments