Skip to content

Commit

Permalink
Assign -d to --debug and -D to --dry-run (closes #125).
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed May 21, 2024
1 parent 6799041 commit 0f84934
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/ronin/exploits/cli/commands/run.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ module Commands
# -S, --target-software NAME Selects the target with the matching software name
# -V, --target-version VERSION Selects the target with the matching software version
# -L, --save-loot DIR Saves any found loot to the DIR
# -D, --debug Enables debugging messages
# -d, --debug Enables debugging messages
# --irb Open an interactive Ruby shell inside the exploit
# -h, --help Print help information
#
Expand Down Expand Up @@ -211,7 +211,7 @@ class Run < ExploitCommand
},
desc: 'Saves any found loot to the DIR'

option :debug, short: '-D',
option :debug, short: '-d',
desc: 'Enables debugging messages' do
Support::CLI::Printing.debug = true
end
Expand Down
2 changes: 1 addition & 1 deletion man/ronin-exploits-run.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Loads and runs an exploit.
`-L`, `--save-loot` *DIR*
Saves any found loot to the *DIR*.

`-D`, `--debug`
`-d`, `--debug`
Enables debugging messages.

`--irb`
Expand Down

0 comments on commit 0f84934

Please sign in to comment.