mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-11-04 18:07:46 +03:00 
			
		
		
		
	minor fix (for those blank suffixes out of nowhere at the end of payload - not related to "-- ")
This commit is contained in:
		
							parent
							
								
									8a8b94883b
								
							
						
					
					
						commit
						5b4eaf48d9
					
				| 
						 | 
					@ -193,10 +193,8 @@ class Agent:
 | 
				
			||||||
        if where == PAYLOAD.WHERE.REPLACE:
 | 
					        if where == PAYLOAD.WHERE.REPLACE:
 | 
				
			||||||
            pass
 | 
					            pass
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        elif kb.injection.suffix is not None:
 | 
					        elif any([kb.injection.suffix, suffix]):
 | 
				
			||||||
            expression += " %s" % kb.injection.suffix
 | 
					            expression += " %s" % (kb.injection.suffix or suffix)
 | 
				
			||||||
        elif suffix is not None:
 | 
					 | 
				
			||||||
            expression += " %s" % suffix
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
        return expression
 | 
					        return expression
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user