Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have the ronin-exploits run command automatically check if the target is exploitable, and print an error message if it's not #124

Open
postmodern opened this issue May 20, 2024 · 0 comments
Labels
Milestone

Comments

@postmodern
Copy link
Member

postmodern commented May 20, 2024

Change the run_exploit method in the CLI::Commands::Run command to also call @exploit.perform_test and check if the return value is of type TestResult::NotVulnable and print an error message (using log_error) with the NotVulnerable message.

We may also want to add a --force option which would disable this behavior and run the exploit regardless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant