(payload, **kwargs)
return retVal
Add a comment to the end of all occurrences of (blacklisted) "information_schema" identifier

    >>> tamper('SELECT table_name FROM INFORMATION_SCHEMA.TABLES')
    'SELECT table_name FROM INFORMATION_SCHEMA/**/.TABLES'
Add a comment to the end of all occurrences of (blacklisted) "information_schema" identifier
Add a comment to the end of all occurrences of ( blacklisted ) information_schema identifier
def tamper(payload, **kwargs):
    """
    Add a comment to the end of all occurrences of (blacklisted) "information_schema" identifier

    >>> tamper('SELECT table_name FROM INFORMATION_SCHEMA.TABLES')
    'SELECT table_name FROM INFORMATION_SCHEMA/**/.TABLES'
    """

    retVal = payload

    if payload:
        retVal = re.sub(r"(?i)(information_schema)\.", "\g<1>/**/.", payload)

    return retVal
def tamper ( payload , * * kwargs ) : retVal = payload if payload : retVal = re . sub ( r"(?i)(information_schema)\." , "\g<1>/**/." , payload ) return retVal