A generic class for SQL injection when the output of the query is binary