Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def initialize(info = {})
- super(update_info(info,
- 'Name' => 'Exploit Replay',
- 'Description' => %q{
- Replays an attack recorded in the database as having opened a session.
- Option values can be overwritten and search results can be narrowed
- For now, only searches current workspace.
- },
- 'License' => BSD_LICENSE,
- 'Author' => ['chao-mu'],
- 'References' => [ ],
- ))
- register_options([
- OptBool.new('FIRST',[true, 'Use only the first exploit + options found', true])
- OptBool.new('CHECK',[true, 'Run "check" before launching the attack', false])
- OptString.new('CRITERIA', [true, 'Search criteria. "RHOST=127.0.0.1 RPORT=80"']),
- OptString.new('OVERRIDES', [false, 'Override old values. "RPORT=8080"']),
- OptAddressRange.new('RHOSTS', [false, "Address range or CIDR identifier. If set, exploits run as jobs"]),
- ], self.class)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement