def tamper(payload, **kwargs):
    """
    Slash escape single and double quotes (e.g. ' -> ')

    >>> tamper('1" AND SLEEP(5)#')
    '1\\\\" AND SLEEP(5)#'
    """
    return payload.replace("'", "\\'").replace('"', '\\"')
