sqli one bugfix

This commit is contained in:
Roman Hergenreder 2024-02-27 11:59:04 +01:00
parent b5296b3ff4
commit 680b029677

@ -86,6 +86,7 @@ class ReflectedSQLi(SQLi, ABC):
return self.reflected_sqli(query_columns, table, condition, offset)[str_column] return self.reflected_sqli(query_columns, table, condition, offset)[str_column]
def extract_multiple_ints(self, columns: list|str, table=None, condition=None, verbose=False): def extract_multiple_ints(self, columns: list|str, table=None, condition=None, verbose=False):
one = False
if isinstance(columns, str): if isinstance(columns, str):
columns = [columns] columns = [columns]
one = True one = True
@ -112,6 +113,7 @@ class ReflectedSQLi(SQLi, ABC):
return rows return rows
def extract_multiple_strings(self, columns: list|str, table=None, condition=None, verbose=False): def extract_multiple_strings(self, columns: list|str, table=None, condition=None, verbose=False):
one = False
if isinstance(columns, str): if isinstance(columns, str):
columns = [columns] columns = [columns]
one = True one = True