Skip to content

Commit

Permalink
pwn_defectdojo_importscan Driver --group-by parameter #bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
ninp0 committed Apr 3, 2024
1 parent 985dd29 commit 9b04a38
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ $ cd /opt/pwn
$ ./install.sh
$ ./install.sh ruby-gem
$ pwn
pwn[v0.5.77]:001 >>> PWN.help
pwn[v0.5.78]:001 >>> PWN.help
```

[![Installing the pwn Security Automation Framework](https://raw.githubusercontent.com/0dayInc/pwn/master/documentation/pwn_install.png)](https://youtu.be/G7iLUY4FzsI)
Expand All @@ -52,7 +52,7 @@ $ rvm use ruby-3.3.0@pwn
$ gem uninstall --all --executables pwn
$ gem install --verbose pwn
$ pwn
pwn[v0.5.77]:001 >>> PWN.help
pwn[v0.5.78]:001 >>> PWN.help
```

If you're using a multi-user install of RVM do:
Expand All @@ -62,7 +62,7 @@ $ rvm use ruby-3.3.0@pwn
$ rvmsudo gem uninstall --all --executables pwn
$ rvmsudo gem install --verbose pwn
$ pwn
pwn[v0.5.77]:001 >>> PWN.help
pwn[v0.5.78]:001 >>> PWN.help
```

PWN periodically upgrades to the latest version of Ruby which is reflected in `/opt/pwn/.ruby-version`. The easiest way to upgrade to the latest version of Ruby from a previous PWN installation is to run the following script:
Expand Down
2 changes: 1 addition & 1 deletion bin/pwn_defectdojo_importscan
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ OptionParser.new do |options|
opts[:verified] = v
end

options.on('-G', '--group-by', '<Optional - group findings by "component_name" || "component_name+component_version" || "file_path" || "finding_title" (defaults to nil)') do |g|
options.on('-GVALUE', '--group-by=VALUE', '<Optional - group findings by "component_name" || "component_name+component_version" || "file_path" || "finding_title" (defaults to nil)') do |g|
opts[:group_by] = g
end

Expand Down
2 changes: 1 addition & 1 deletion lib/pwn/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module PWN
VERSION = '0.5.77'
VERSION = '0.5.78'
end

0 comments on commit 9b04a38

Please sign in to comment.