MCPcopy Create free account
hub / github.com/GhostFrankWu/SAEG / __init__

Method __init__

aeg_module/mod_exploit.py:8–17  ·  view source on GitHub ↗
(self, exploit_name, exploit_func, require_disabled_protections, required_information, least_width)

Source from the content-addressed store, hash-verified

6
7class Exploit:
8 def __init__(self, exploit_name, exploit_func, require_disabled_protections, required_information, least_width):
9 # log.info(
10 # f'Load exploit: {exploit_name}, need binary without or bypassed {require_disabled_protections}, '
11 # f'need {required_information} and payload len at least {least_width}')
12 self.exploit_name = exploit_name
13 self.exploit_func = exploit_func
14 self.require_disabled_protections = require_disabled_protections
15 self.required_information = required_information
16 self.least_width = least_width
17 self.available = True
18
19 def run(self, state_raw: angr.SimState, challenge: Challenge, new_mem: list):
20 log.info(f"Trying exploit {self.exploit_name}")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected