mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-10-30 23:47:45 +03:00 
			
		
		
		
	Fixes #4650
This commit is contained in:
		
							parent
							
								
									9a6acd2054
								
							
						
					
					
						commit
						76b310cc43
					
				|  | @ -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.5.4.7" | VERSION = "1.5.4.8" | ||||||
| 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) | ||||||
|  |  | ||||||
|  | @ -63,7 +63,7 @@ def _search(dork): | ||||||
|     gpage = conf.googlePage if conf.googlePage > 1 else 1 |     gpage = conf.googlePage if conf.googlePage > 1 else 1 | ||||||
|     logger.info("using search result page #%d" % gpage) |     logger.info("using search result page #%d" % gpage) | ||||||
| 
 | 
 | ||||||
|     url = "https://www.google.com/search?" |     url = "http://www.google.com/search?"               # NOTE: https version goes to the consent | ||||||
|     url += "q=%s&" % urlencode(dork, convall=True) |     url += "q=%s&" % urlencode(dork, convall=True) | ||||||
|     url += "num=100&hl=en&complete=0&safe=off&filter=0&btnG=Search" |     url += "num=100&hl=en&complete=0&safe=off&filter=0&btnG=Search" | ||||||
|     url += "&start=%d" % ((gpage - 1) * 100) |     url += "&start=%d" % ((gpage - 1) * 100) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user