(self, exploit_name, exploit_func, require_disabled_protections, required_information, least_width)
| 6 | |
| 7 | class 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}") |
nothing calls this directly
no outgoing calls
no test coverage detected