mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-11-01 00:17:25 +03:00 
			
		
		
		
	Trivial message update
This commit is contained in:
		
							parent
							
								
									39a46d66e2
								
							
						
					
					
						commit
						dc87e10c99
					
				|  | @ -293,7 +293,7 @@ def start(): | ||||||
|         return False |         return False | ||||||
| 
 | 
 | ||||||
|     if kb.targets and len(kb.targets) > 1: |     if kb.targets and len(kb.targets) > 1: | ||||||
|         infoMsg = "sqlmap got a total of %d targets" % len(kb.targets) |         infoMsg = "found a total of %d targets" % len(kb.targets) | ||||||
|         logger.info(infoMsg) |         logger.info(infoMsg) | ||||||
| 
 | 
 | ||||||
|     hostCount = 0 |     hostCount = 0 | ||||||
|  |  | ||||||
|  | @ -374,7 +374,7 @@ def _doSearch(): | ||||||
|         links = retrieve() |         links = retrieve() | ||||||
| 
 | 
 | ||||||
|         if kb.targets: |         if kb.targets: | ||||||
|             infoMsg = "sqlmap got %d results for your " % len(links) |             infoMsg = "found %d results for your " % len(links) | ||||||
|             infoMsg += "search dork expression, " |             infoMsg += "search dork expression, " | ||||||
| 
 | 
 | ||||||
|             if len(links) == len(kb.targets): |             if len(links) == len(kb.targets): | ||||||
|  | @ -387,7 +387,7 @@ def _doSearch(): | ||||||
|             break |             break | ||||||
| 
 | 
 | ||||||
|         else: |         else: | ||||||
|             message = "sqlmap got %d results " % len(links) |             message = "found %d results " % len(links) | ||||||
|             message += "for your search dork expression, but none of them " |             message += "for your search dork expression, but none of them " | ||||||
|             message += "have GET parameters to test for SQL injection. " |             message += "have GET parameters to test for SQL injection. " | ||||||
|             message += "Do you want to skip to the next result page? [Y/n]" |             message += "Do you want to skip to the next result page? [Y/n]" | ||||||
|  |  | ||||||
|  | @ -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.11.12" | VERSION = "1.3.11.13" | ||||||
| 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) | ||||||
|  |  | ||||||
|  | @ -565,7 +565,7 @@ class Connect(object): | ||||||
| 
 | 
 | ||||||
|                 if refresh: |                 if refresh: | ||||||
|                     if kb.alwaysRefresh is None: |                     if kb.alwaysRefresh is None: | ||||||
|                         msg = "sqlmap got a refresh request " |                         msg = "got a refresh request " | ||||||
|                         msg += "(redirect like response common to login pages). " |                         msg += "(redirect like response common to login pages). " | ||||||
|                         msg += "Do you want to apply the refresh " |                         msg += "Do you want to apply the refresh " | ||||||
|                         msg += "from now on (or stay on the original page)? [Y/n]" |                         msg += "from now on (or stay on the original page)? [Y/n]" | ||||||
|  |  | ||||||
|  | @ -47,7 +47,7 @@ class SmartRedirectHandler(_urllib.request.HTTPRedirectHandler): | ||||||
|     def _ask_redirect_choice(self, redcode, redurl, method): |     def _ask_redirect_choice(self, redcode, redurl, method): | ||||||
|         with kb.locks.redirect: |         with kb.locks.redirect: | ||||||
|             if kb.redirectChoice is None: |             if kb.redirectChoice is None: | ||||||
|                 msg = "sqlmap got a %d redirect to " % redcode |                 msg = "got a %d redirect to " % redcode | ||||||
|                 msg += "'%s'. Do you want to follow? [Y/n] " % redurl |                 msg += "'%s'. Do you want to follow? [Y/n] " % redurl | ||||||
| 
 | 
 | ||||||
|                 kb.redirectChoice = REDIRECTION.YES if readInput(msg, default='Y', boolean=True) else REDIRECTION.NO |                 kb.redirectChoice = REDIRECTION.YES if readInput(msg, default='Y', boolean=True) else REDIRECTION.NO | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user