Esempio n. 1
0
 def __init__(self):
     self.filecnt = 1
     with open('config.json', 'r') as fp:
         self.conf = json.loads(fp.read())
     self.log = format_save('unauth')
     self.checkpkg = check_repeat_package(key_with_value=True)
     self.name = 'unauth access'
Esempio n. 2
0
 def __init__(self):
     self.filecnt = 1
     with open('config.json', 'r') as fp:
         self.conf = json.loads(fp.read())
     self.name = 'unauth'
     self.log = format_save(self.name)
     self.httptimeout = 10
     self.http_client = None
     self.checkpkg = check_repeat_package(key_with_value=True)
Esempio n. 3
0
 def __init__(self):
     with open('config.json', 'r') as fp:
         self.conf = json.loads(fp.read())
     self.name = 'CMDi'
     self.log = format_save(self.name)
     self.checkpkg = check_repeat_package(key_with_value=False)
     self.blind_timeout = 10
     self.http_client = None
     with open(self.conf['cmdi_payload'], "r") as fp:
         self.payloads = fp.read().replace(
             'PH_TIMEOUT', str(self.blind_timeout)).split('\n')
Esempio n. 4
0
 def __init__(self):
     with open('config.json', 'r') as fp:
         self.conf = json.loads(fp.read())
     self.name = 'SQLi'
     self.log = format_save('SQLi')
     self.checkpkg = check_repeat_package(key_with_value=False)