mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-10-26 05:31:04 +03:00 
			
		
		
		
	More appropriate naming (also, preventing ambiguities with --smart)
This commit is contained in:
		
							parent
							
								
									4b2cf07262
								
							
						
					
					
						commit
						1b3f1a4016
					
				|  | @ -243,7 +243,7 @@ class PAYLOAD: | |||
| 
 | ||||
| class WIZARD: | ||||
|     BASIC = ("getBanner", "getCurrentUser", "getCurrentDb", "isDba") | ||||
|     SMART = ("getBanner", "getCurrentUser", "getCurrentDb", "isDba", "getUsers", "getDbs", "getTables", "getSchema", "excludeSysDbs") | ||||
|     INTERMEDIATE = ("getBanner", "getCurrentUser", "getCurrentDb", "isDba", "getUsers", "getDbs", "getTables", "getSchema", "excludeSysDbs") | ||||
|     ALL = ("getBanner", "getCurrentUser", "getCurrentDb", "isDba", "getHostname", "getUsers", "getPasswordHashes", "getPrivileges", "getRoles", "dumpAll") | ||||
| 
 | ||||
| class ADJUST_TIME_DELAY: | ||||
|  |  | |||
|  | @ -1729,11 +1729,11 @@ def _useWizardInterface(): | |||
| 
 | ||||
|         while choice is None or choice not in ("", "1", "2", "3"): | ||||
|             message = "Enumeration (--banner/--current-user/etc). Please choose:\n" | ||||
|             message += "[1] Basic (default)\n[2] Smart\n[3] All" | ||||
|             message += "[1] Basic (default)\n[2] Intermediate\n[3] All" | ||||
|             choice = readInput(message, default='1') | ||||
| 
 | ||||
|             if choice == '2': | ||||
|                 map(lambda x: conf.__setitem__(x, True), WIZARD.SMART) | ||||
|                 map(lambda x: conf.__setitem__(x, True), WIZARD.INTERMEDIATE) | ||||
|             elif choice == '3': | ||||
|                 map(lambda x: conf.__setitem__(x, True), WIZARD.ALL) | ||||
|             else: | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user