mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-11-04 09:57:38 +03:00 
			
		
		
		
	minor enhancement, prefer intersect() each time DBMS values are comfronted
This commit is contained in:
		
							parent
							
								
									388c0dfd77
								
							
						
					
					
						commit
						8be24d3e9b
					
				| 
						 | 
					@ -2823,7 +2823,7 @@ def getSortedInjectionTests():
 | 
				
			||||||
            retVal = SORT_ORDER.LAST
 | 
					            retVal = SORT_ORDER.LAST
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        elif 'details' in test and 'dbms' in test.details:
 | 
					        elif 'details' in test and 'dbms' in test.details:
 | 
				
			||||||
            if test.details.dbms in Backend.getErrorParsedDBMSes():
 | 
					            if intersect(test.details.dbms, Backend.getErrorParsedDBMSes()):
 | 
				
			||||||
                retVal = SORT_ORDER.SECOND
 | 
					                retVal = SORT_ORDER.SECOND
 | 
				
			||||||
            else:
 | 
					            else:
 | 
				
			||||||
                retVal = SORT_ORDER.THIRD
 | 
					                retVal = SORT_ORDER.THIRD
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user