def __init__(self, fp=None): Attack.__init__(self, fp) self.fd = open(os.path.join(self.CONFIG_DIR, self.name, self.CONFIG_FILE), "r+") self.payloads = json.load(self.fd)
def __init__(self, fp=None): Attack.__init__(self, fp) self.fd = open( os.path.join(self.CONFIG_DIR, self.name, self.CONFIG_FILE), "r+") self.payloads = json.load(self.fd)