Example #1
0
 def __init__(self, data_dir):
     self.query_cleaner = sql.QueryCleaner()
     self.pre_classifier = sql.PreSQLiClassifier()
     self.query_parser = sql.SQLParser()
     self.query_compare = sql.QueryComparer()
     self.sql_response = sql_responses.SQLResponses()
     super(SQLiEmulator, self).__init__(data_dir)
Example #2
0
 def __init__(self, data_dir):
     self.ret = None
     self.sqli_c = sql.SQLiClassifier()
     self.sql_response = sql_responses.SQLResponses()
     super(SQLiEmulator, self).__init__(data_dir)