Exemplo n.º 1
0
 def __init__(self, http, reportGen):
     self.HTTP = http
     self.logVuln = reportGen.logVulnerability
     self.logAnom = reportGen.logAnomaly
     self.auxText = AuxText()
     self.attackedGET = []
     self.attackedPOST = []
Exemplo n.º 2
0
    def __init__(self, http, report_gen):
        self.HTTP = http
        self.logVuln = report_gen.logVulnerability
        self.logAnom = report_gen.logAnomaly
        self.auxText = AuxText()

        # List of attack urls already launched in the current module
        self.attackedGET = []
        self.attackedPOST = []

        self.vulnerableGET = []
        self.vulnerablePOST = []

        self.verbose = 0
        self.color = 0

        # List of modules (objects) that must be launched before the current module
        # Must be left empty in the code
        self.deps = []