mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-10-31 16:07:55 +03:00 
			
		
		
		
	Minor renaming
This commit is contained in:
		
							parent
							
								
									468eed8532
								
							
						
					
					
						commit
						0db8b8e268
					
				|  | @ -18,7 +18,7 @@ from lib.core.enums import OS | ||||||
| from thirdparty.six import unichr as _unichr | from thirdparty.six import unichr as _unichr | ||||||
| 
 | 
 | ||||||
| # sqlmap version (<major>.<minor>.<month>.<monthly commit>) | # sqlmap version (<major>.<minor>.<month>.<monthly commit>) | ||||||
| VERSION = "1.3.6.39" | VERSION = "1.3.6.40" | ||||||
| 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) | ||||||
|  | @ -691,7 +691,7 @@ MAX_DIFFLIB_SEQUENCE_LENGTH = 10 * 1024 * 1024 | ||||||
| MAX_BISECTION_LENGTH = 50 * 1024 * 1024 | MAX_BISECTION_LENGTH = 50 * 1024 * 1024 | ||||||
| 
 | 
 | ||||||
| # Mark used for trimming unnecessary content in large connection reads | # Mark used for trimming unnecessary content in large connection reads | ||||||
| LARGE_CHUNK_TRIM_MARKER = "__TRIMMED_CONTENT__" | LARGE_READ_TRIM_MARKER = "__TRIMMED_CONTENT__" | ||||||
| 
 | 
 | ||||||
| # Generic SQL comment formation | # Generic SQL comment formation | ||||||
| GENERIC_SQL_COMMENT = "-- [RANDSTR]" | GENERIC_SQL_COMMENT = "-- [RANDSTR]" | ||||||
|  |  | ||||||
|  | @ -96,7 +96,7 @@ from lib.core.settings import HTTP_ACCEPT_ENCODING_HEADER_VALUE | ||||||
| from lib.core.settings import HTTP_ACCEPT_HEADER_VALUE | from lib.core.settings import HTTP_ACCEPT_HEADER_VALUE | ||||||
| from lib.core.settings import IPS_WAF_CHECK_PAYLOAD | from lib.core.settings import IPS_WAF_CHECK_PAYLOAD | ||||||
| from lib.core.settings import IS_WIN | from lib.core.settings import IS_WIN | ||||||
| from lib.core.settings import LARGE_CHUNK_TRIM_MARKER | from lib.core.settings import LARGE_READ_TRIM_MARKER | ||||||
| from lib.core.settings import MAX_CONNECTION_READ_SIZE | from lib.core.settings import MAX_CONNECTION_READ_SIZE | ||||||
| from lib.core.settings import MAX_CONNECTIONS_REGEX | from lib.core.settings import MAX_CONNECTIONS_REGEX | ||||||
| from lib.core.settings import MAX_CONNECTION_TOTAL_SIZE | from lib.core.settings import MAX_CONNECTION_TOTAL_SIZE | ||||||
|  | @ -219,7 +219,7 @@ class Connect(object): | ||||||
|                     if len(part) == MAX_CONNECTION_READ_SIZE: |                     if len(part) == MAX_CONNECTION_READ_SIZE: | ||||||
|                         warnMsg = "large response detected. This could take a while" |                         warnMsg = "large response detected. This could take a while" | ||||||
|                         singleTimeWarnMessage(warnMsg) |                         singleTimeWarnMessage(warnMsg) | ||||||
|                         part = re.sub(r"(?si)%s.+?%s" % (kb.chars.stop, kb.chars.start), "%s%s%s" % (kb.chars.stop, LARGE_CHUNK_TRIM_MARKER, kb.chars.start), part) |                         part = re.sub(r"(?si)%s.+?%s" % (kb.chars.stop, kb.chars.start), "%s%s%s" % (kb.chars.stop, LARGE_READ_TRIM_MARKER, kb.chars.start), part) | ||||||
|                         retVal += part |                         retVal += part | ||||||
|                     else: |                     else: | ||||||
|                         retVal += part |                         retVal += part | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user