Projects STRLCPY ghauri Commits 3a6fb680
🤬
  • ■ ■ ■ ■ ■
    ghauri/common/config.py
    skipped 88 lines
    89 89   self.thread_warning = False
    90 90   self.max_threads_warning = False
    91 91   self._readtimout_counter = 0
     92 + self._json_post_data = []
    92 93   
    93 94   @property
    94 95   def session_filepath(self):
    skipped 7 lines
  • ■ ■ ■ ■ ■ ■
    ghauri/common/utils.py
    skipped 1368 lines
    1369 1369   
    1370 1370   
    1371 1371  def extract_json_data(data):
    1372  - _temp = []
    1373 1372   if hasattr(data, "items"):
    1374 1373   for key, value in data.items():
    1375 1374   if isinstance(value, dict):
    skipped 3 lines
    1379 1378   if isinstance(i, dict):
    1380 1379   extract_json_data(i)
    1381 1380   if isinstance(i, str):
    1382  - _temp.append({"key": key, "value": i})
     1381 + conf._json_post_data.append({"key": key, "value": i})
    1383 1382   elif isinstance(value, str):
    1384  - _temp.append({"key": key, "value": value})
    1385  - # logger.debug(_temp)
    1386  - return _temp
     1383 + conf._json_post_data.append({"key": key, "value": value})
     1384 + # logger.debug(conf._json_post_data)
     1385 + return conf._json_post_data
    1387 1386   
    1388 1387   
    1389 1388  def check_injection_points_for_level(level, injection_points):
    skipped 431 lines
Please wait...
Page is in error, reload to recover