-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add
--test
flag to the ronin-exploits CLI
Currently, to test whether a target is vulnerable, users need to run something like: ronin-exploits --file=path/to/exploit.rb --dry-run --irb and then run "test" from the REPL. This feature would allow users to instead run: ronin-exploits --file=path/to/exploit.rb --test Printed output looks like one of these lines, depending on the return type: [+] Vulnerable: <test result message> [-] NotVulnerable: <test result message> [~] Unknown: <test result message> [!] Unexpected: <other result type to_s> Also, remove the `-D` alias for `--dry-run`, which was clobbered by `--debug` in 1812694.
- Loading branch information
1 parent
8f65229
commit a27900a
Showing
2 changed files
with
35 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters