mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-10-26 05:31:04 +03:00 
			
		
		
		
	Minor refactoring
This commit is contained in:
		
							parent
							
								
									351c70b390
								
							
						
					
					
						commit
						edc9da1226
					
				|  | @ -291,11 +291,8 @@ class Connect(object): | ||||||
|                     url = "%s?%s" % (url, get) |                     url = "%s?%s" % (url, get) | ||||||
|                     requestMsg += "?%s" % get |                     requestMsg += "?%s" % get | ||||||
| 
 | 
 | ||||||
|                 if conf.method == HTTPMETHOD.POST and not post: |                 if PLACE.POST in conf.parameters and not post and method in (None, HTTPMETHOD.POST): | ||||||
|                     for place in (PLACE.POST,): |                     post = conf.parameters[PLACE.POST] | ||||||
|                         if place in conf.parameters: |  | ||||||
|                             post = conf.parameters[place] |  | ||||||
|                             break |  | ||||||
| 
 | 
 | ||||||
|             elif get: |             elif get: | ||||||
|                 url = "%s?%s" % (url, get) |                 url = "%s?%s" % (url, get) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user