mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-11-04 01:47:37 +03:00 
			
		
		
		
	few updates/fixes here and there
This commit is contained in:
		
							parent
							
								
									5fc480a4c0
								
							
						
					
					
						commit
						d5fcc9d8b5
					
				| 
						 | 
					@ -14,7 +14,7 @@ from lib.core.data import kb
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def tamper(value):
 | 
					def tamper(value):
 | 
				
			||||||
    """
 | 
					    """
 | 
				
			||||||
    Add random comments to value
 | 
					    Add random comments to SQL keywords in value
 | 
				
			||||||
    Example: 'INSERT' becomes 'IN/**/S/**/ERT'
 | 
					    Example: 'INSERT' becomes 'IN/**/S/**/ERT'
 | 
				
			||||||
    """
 | 
					    """
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -10,7 +10,7 @@ See the file 'doc/COPYING' for copying permission
 | 
				
			||||||
def tamper(value):
 | 
					def tamper(value):
 | 
				
			||||||
    """
 | 
					    """
 | 
				
			||||||
    Replaces ' ' with '/**/'
 | 
					    Replaces ' ' with '/**/'
 | 
				
			||||||
    Example: 'SELECT id FROM users' becomes 'SELECT/**/id/**/FROM users'
 | 
					    Example: 'SELECT id FROM users' becomes 'SELECT/**/id/**/FROM/**/users'
 | 
				
			||||||
    """
 | 
					    """
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    retVal = value
 | 
					    retVal = value
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -9,7 +9,7 @@ See the file 'doc/COPYING' for copying permission
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def tamper(value):
 | 
					def tamper(value):
 | 
				
			||||||
    """
 | 
					    """
 | 
				
			||||||
    Replaces ' ' with '/**/'
 | 
					    Replaces ' ' with '+'
 | 
				
			||||||
    Example: 'SELECT id FROM users' becomes 'SELECT+id+FROM+users'
 | 
					    Example: 'SELECT id FROM users' becomes 'SELECT+id+FROM+users'
 | 
				
			||||||
    """
 | 
					    """
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -13,7 +13,7 @@ from lib.core.exception import sqlmapUnsupportedFeatureException
 | 
				
			||||||
def tamper(value):
 | 
					def tamper(value):
 | 
				
			||||||
    """
 | 
					    """
 | 
				
			||||||
    Replaces value with urlencode(value)
 | 
					    Replaces value with urlencode(value)
 | 
				
			||||||
    Example: 'SELECT%20FIELD%20FROM%20TABLE' becomes 'SELECT%25%20FIELD%25%20FROM%25%20TABLE'
 | 
					    Example: 'SELECT FIELD FROM TABLE' becomes 'SELECT%20FIELD%20FROM%20TABLE'
 | 
				
			||||||
    """
 | 
					    """
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if value:
 | 
					    if value:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -416,6 +416,7 @@
 | 
				
			||||||
   <!-- http://dev.mysql.com/doc/refman/5.0/es/maxdb-reserved-words.html -->
 | 
					   <!-- http://dev.mysql.com/doc/refman/5.0/es/maxdb-reserved-words.html -->
 | 
				
			||||||
   <!-- http://maxdb.sap.com/doc/7_6/default.htm -->
 | 
					   <!-- http://maxdb.sap.com/doc/7_6/default.htm -->
 | 
				
			||||||
   <!-- http://www.sapdb.org/7.4/htmhelp/35/f8823cb7e5d42be10000000a114027/content.htm -->
 | 
					   <!-- http://www.sapdb.org/7.4/htmhelp/35/f8823cb7e5d42be10000000a114027/content.htm -->
 | 
				
			||||||
 | 
					   <!-- http://www.ximido.de/research/PenTestingMaxDB.pdf -->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   <!-- SAP MaxDB -->
 | 
					   <!-- SAP MaxDB -->
 | 
				
			||||||
   <dbms value="SAP MaxDB">
 | 
					   <dbms value="SAP MaxDB">
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user