mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-11-04 01:47:37 +03:00 
			
		
		
		
	Trivial updates
This commit is contained in:
		
							parent
							
								
									a79ed52463
								
							
						
					
					
						commit
						9a87f47777
					
				| 
						 | 
					@ -187,7 +187,7 @@ bf77f9fc4296f239687297aee1fd6113b34f855965a6f690b52e26bd348cb353  lib/core/profi
 | 
				
			||||||
4eff81c639a72b261c8ba1c876a01246e718e6626e8e77ae9cc6298b20a39355  lib/core/replication.py
 | 
					4eff81c639a72b261c8ba1c876a01246e718e6626e8e77ae9cc6298b20a39355  lib/core/replication.py
 | 
				
			||||||
bbd1dcda835934728efc6d68686e9b0da72b09b3ee38f3c0ab78e8c18b0ba726  lib/core/revision.py
 | 
					bbd1dcda835934728efc6d68686e9b0da72b09b3ee38f3c0ab78e8c18b0ba726  lib/core/revision.py
 | 
				
			||||||
eed6b0a21b3e69c5583133346b0639dc89937bd588887968ee85f8389d7c3c96  lib/core/session.py
 | 
					eed6b0a21b3e69c5583133346b0639dc89937bd588887968ee85f8389d7c3c96  lib/core/session.py
 | 
				
			||||||
c8591398ce93f9ab31a83592f374110b93f60b232276b30ae825851252400910  lib/core/settings.py
 | 
					1f2837e65e87f1ef8cfd77045bd3c3439c84ff247b6ffc7390d1511c03583e15  lib/core/settings.py
 | 
				
			||||||
2bec97d8a950f7b884e31dfe9410467f00d24f21b35672b95f8d68ed59685fd4  lib/core/shell.py
 | 
					2bec97d8a950f7b884e31dfe9410467f00d24f21b35672b95f8d68ed59685fd4  lib/core/shell.py
 | 
				
			||||||
e90a359b37a55c446c60e70ccd533f87276714d0b09e34f69b0740fd729ddbf8  lib/core/subprocessng.py
 | 
					e90a359b37a55c446c60e70ccd533f87276714d0b09e34f69b0740fd729ddbf8  lib/core/subprocessng.py
 | 
				
			||||||
54f7c70b4c7a9931f7ff3c1c12030180bde38e35a306d5e343ad6052919974cd  lib/core/target.py
 | 
					54f7c70b4c7a9931f7ff3c1c12030180bde38e35a306d5e343ad6052919974cd  lib/core/target.py
 | 
				
			||||||
| 
						 | 
					@ -207,15 +207,15 @@ b48edf3f30db127b18419f607894d5de46fc949d14c65fdc85ece524207d6dfd  lib/parse/html
 | 
				
			||||||
8743332261f8b0da52c94ca56510f0f2e856431c2bbe2164efdd3de605c2802b  lib/parse/payloads.py
 | 
					8743332261f8b0da52c94ca56510f0f2e856431c2bbe2164efdd3de605c2802b  lib/parse/payloads.py
 | 
				
			||||||
23adb7169e99554708062ff87ae795b90c6a284d1b5159eada974bf9f8d7583f  lib/parse/sitemap.py
 | 
					23adb7169e99554708062ff87ae795b90c6a284d1b5159eada974bf9f8d7583f  lib/parse/sitemap.py
 | 
				
			||||||
0acfa7da4b0dbc81652b018c3fdbb42512c8d7d5f01bbf9aef18e5ea7d38107a  lib/request/basicauthhandler.py
 | 
					0acfa7da4b0dbc81652b018c3fdbb42512c8d7d5f01bbf9aef18e5ea7d38107a  lib/request/basicauthhandler.py
 | 
				
			||||||
c8446d4a50f06a50d7db18adc04c321e12cd2d0fa8b04bd58306511c89823316  lib/request/basic.py
 | 
					2395d6d28d6a1e342fccd56bb741080468a777b9b2a5ddd5634df65fe9785cef  lib/request/basic.py
 | 
				
			||||||
ead55e936dfc8941e512c8e8a4f644689387f331f4eed97854c558be3e227a91  lib/request/chunkedhandler.py
 | 
					ead55e936dfc8941e512c8e8a4f644689387f331f4eed97854c558be3e227a91  lib/request/chunkedhandler.py
 | 
				
			||||||
06128c4e3e0e1fe34618de9d1fd5ee21292953dce4a3416567e200d2dfda79f2  lib/request/comparison.py
 | 
					06128c4e3e0e1fe34618de9d1fd5ee21292953dce4a3416567e200d2dfda79f2  lib/request/comparison.py
 | 
				
			||||||
45f365239c48f2f6b8adc605b2f33b3522bda6e3248589dae909380434aaa0ad  lib/request/connect.py
 | 
					45f365239c48f2f6b8adc605b2f33b3522bda6e3248589dae909380434aaa0ad  lib/request/connect.py
 | 
				
			||||||
470e96857a7037a2d74b2c4b1c8c5d8379b76ea8cbdb1d8dd4367a7a852fa93c  lib/request/direct.py
 | 
					470e96857a7037a2d74b2c4b1c8c5d8379b76ea8cbdb1d8dd4367a7a852fa93c  lib/request/direct.py
 | 
				
			||||||
e802cc9099282764da0280172623600b6b9bb9fe1c87f352ade8be7a3f622585  lib/request/dns.py
 | 
					e802cc9099282764da0280172623600b6b9bb9fe1c87f352ade8be7a3f622585  lib/request/dns.py
 | 
				
			||||||
226226c2b8c906e0d0612ea68404c7f266e7a6685e0bf233e5456e10625b012d  lib/request/httpshandler.py
 | 
					9922275d3ca79f00f9b9301f4e4d9f1c444dc7ac38de6d50ef253122abae4833  lib/request/httpshandler.py
 | 
				
			||||||
99d0e94dd5fe60137abf48bfa051129fb251f5c40f0f7a270c89fbcb07323730  lib/request/__init__.py
 | 
					99d0e94dd5fe60137abf48bfa051129fb251f5c40f0f7a270c89fbcb07323730  lib/request/__init__.py
 | 
				
			||||||
6944e07e5c061afea30494bcea5198c67b86dda1f291b80e75cb1f121490f1a7  lib/request/inject.py
 | 
					ea8261a5099ca66032ae7606e5392de719827a71750c203e3fc6bb6759757cf3  lib/request/inject.py
 | 
				
			||||||
ba87a7bc91c1ec99a273284b9d0363358339aab0220651ff1ceddf3737ce2436  lib/request/methodrequest.py
 | 
					ba87a7bc91c1ec99a273284b9d0363358339aab0220651ff1ceddf3737ce2436  lib/request/methodrequest.py
 | 
				
			||||||
4ba939b6b9a130cd185e749c585afa2c4c8a5dbcbf8216ecc4f3199fe001b3e2  lib/request/pkihandler.py
 | 
					4ba939b6b9a130cd185e749c585afa2c4c8a5dbcbf8216ecc4f3199fe001b3e2  lib/request/pkihandler.py
 | 
				
			||||||
c6b222c0d34313cdea82fb39c8ead5d658400bf41e56aabd9640bdcf9bedc3a1  lib/request/rangehandler.py
 | 
					c6b222c0d34313cdea82fb39c8ead5d658400bf41e56aabd9640bdcf9bedc3a1  lib/request/rangehandler.py
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -19,7 +19,7 @@ from lib.core.enums import OS
 | 
				
			||||||
from thirdparty import six
 | 
					from thirdparty import six
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
 | 
					# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
 | 
				
			||||||
VERSION = "1.8.6.11"
 | 
					VERSION = "1.8.6.12"
 | 
				
			||||||
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
 | 
					TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
 | 
				
			||||||
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
 | 
					TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
 | 
				
			||||||
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
 | 
					VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -282,15 +282,8 @@ def decodePage(page, contentEncoding, contentType, percentDecode=True):
 | 
				
			||||||
    if not page or (conf.nullConnection and len(page) < 2):
 | 
					    if not page or (conf.nullConnection and len(page) < 2):
 | 
				
			||||||
        return getUnicode(page)
 | 
					        return getUnicode(page)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if hasattr(contentEncoding, "lower"):
 | 
					    contentEncoding = contentEncoding.lower() if hasattr(contentEncoding, "lower") else ""
 | 
				
			||||||
        contentEncoding = contentEncoding.lower()
 | 
					    contentType = contentType.lower() if hasattr(contentType, "lower") else ""
 | 
				
			||||||
    else:
 | 
					 | 
				
			||||||
        contentEncoding = ""
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    if hasattr(contentType, "lower"):
 | 
					 | 
				
			||||||
        contentType = contentType.lower()
 | 
					 | 
				
			||||||
    else:
 | 
					 | 
				
			||||||
        contentType = ""
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if contentEncoding in ("gzip", "x-gzip", "deflate"):
 | 
					    if contentEncoding in ("gzip", "x-gzip", "deflate"):
 | 
				
			||||||
        if not kb.pageCompress:
 | 
					        if not kb.pageCompress:
 | 
				
			||||||
| 
						 | 
					@ -382,7 +375,6 @@ def decodePage(page, contentEncoding, contentType, percentDecode=True):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def processResponse(page, responseHeaders, code=None, status=None):
 | 
					def processResponse(page, responseHeaders, code=None, status=None):
 | 
				
			||||||
    kb.processResponseCounter += 1
 | 
					    kb.processResponseCounter += 1
 | 
				
			||||||
 | 
					 | 
				
			||||||
    page = page or ""
 | 
					    page = page or ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    parseResponse(page, responseHeaders if kb.processResponseCounter < PARSE_HEADERS_LIMIT else None, status)
 | 
					    parseResponse(page, responseHeaders if kb.processResponseCounter < PARSE_HEADERS_LIMIT else None, status)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -80,7 +80,7 @@ class HTTPSConnection(_http_client.HTTPSConnection):
 | 
				
			||||||
                            # Reference(s): https://askubuntu.com/a/1263098
 | 
					                            # Reference(s): https://askubuntu.com/a/1263098
 | 
				
			||||||
                            #               https://askubuntu.com/a/1250807
 | 
					                            #               https://askubuntu.com/a/1250807
 | 
				
			||||||
                            _contexts[protocol].set_ciphers("DEFAULT@SECLEVEL=1")
 | 
					                            _contexts[protocol].set_ciphers("DEFAULT@SECLEVEL=1")
 | 
				
			||||||
                        except ssl.SSLError:
 | 
					                        except (ssl.SSLError, AttributeError):
 | 
				
			||||||
                            pass
 | 
					                            pass
 | 
				
			||||||
                    result = _contexts[protocol].wrap_socket(sock, do_handshake_on_connect=True, server_hostname=self.host if re.search(r"\A[\d.]+\Z", self.host or "") is None else None)
 | 
					                    result = _contexts[protocol].wrap_socket(sock, do_handshake_on_connect=True, server_hostname=self.host if re.search(r"\A[\d.]+\Z", self.host or "") is None else None)
 | 
				
			||||||
                    if result:
 | 
					                    if result:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -204,7 +204,7 @@ def _goInferenceProxy(expression, fromUser=False, batch=False, unpack=True, char
 | 
				
			||||||
        if limitCond:
 | 
					        if limitCond:
 | 
				
			||||||
            test = True
 | 
					            test = True
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if not stopLimit or stopLimit <= 1:
 | 
					            if stopLimit is None or stopLimit <= 1:
 | 
				
			||||||
                if Backend.getIdentifiedDbms() in FROM_DUMMY_TABLE and expression.upper().endswith(FROM_DUMMY_TABLE[Backend.getIdentifiedDbms()]):
 | 
					                if Backend.getIdentifiedDbms() in FROM_DUMMY_TABLE and expression.upper().endswith(FROM_DUMMY_TABLE[Backend.getIdentifiedDbms()]):
 | 
				
			||||||
                    test = False
 | 
					                    test = False
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user