def test_str_length(self): self.assertEqual( self.string_finder.str_length("(SELECT {})".format( SqliEncoder.str_to_hexa('coucou'))), 6)
def test_read_string(self): self.assertEqual( self.string_finder.read_string("(SELECT {})".format( SqliEncoder.str_to_hexa('coucou'))), 'coucou')
def read_file(self, filename): return self.read_string('LOAD_FILE({})'.format(SqliEncoder.str_to_hexa(filename)))