mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-11-04 09:57:38 +03:00 
			
		
		
		
	Adding new error message (when short options carry illegal '=')
This commit is contained in:
		
							parent
							
								
									383316fcb3
								
							
						
					
					
						commit
						f609158d1b
					
				| 
						 | 
				
			
			@ -867,6 +867,8 @@ def cmdLineParser():
 | 
			
		|||
        for i in xrange(len(argv)):
 | 
			
		||||
            if argv[i] == "-hh":
 | 
			
		||||
                argv[i] = "-h"
 | 
			
		||||
            elif re.search(r"\A-\w=.+", argv[i]):
 | 
			
		||||
                print "[!] potentially miswritten (illegal '=') short option detected ('%s')" % argv[i]
 | 
			
		||||
            elif argv[i] == "-H":
 | 
			
		||||
                if i + 1 < len(argv):
 | 
			
		||||
                    extraHeaders.append(argv[i + 1])
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user