File tree Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ gem 'aws-sdk', '3.1.0'
18
18
# gem 'bettercap', '1.6.2'
19
19
gem 'brakeman' , '6.0.0'
20
20
gem 'bson' , '4.15.0'
21
- gem 'bundler' , '>=2.4.15 '
21
+ gem 'bundler' , '>=2.4.16 '
22
22
gem 'bundler-audit' , '0.9.1'
23
23
gem 'bunny' , '2.22.0'
24
24
gem 'colorize' , '1.1.0'
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ $ rvm use ruby-3.2.2@pwn
37
37
$ rvm list gemsets
38
38
$ gem install --verbose pwn
39
39
$ pwn
40
- pwn[v0.4.788 ]:001 >>> PWN.help
40
+ pwn[v0.4.789 ]:001 >>> PWN.help
41
41
```
42
42
43
43
[ ![ Installing the pwn Security Automation Framework] ( https://raw.githubusercontent.com/0dayInc/pwn/master/documentation/pwn_install.png )] ( https://youtu.be/G7iLUY4FzsI )
@@ -52,7 +52,7 @@ $ rvm use ruby-3.2.2@pwn
52
52
$ gem uninstall --all --executables pwn
53
53
$ gem install --verbose pwn
54
54
$ pwn
55
- pwn[v0.4.788 ]:001 >>> PWN.help
55
+ pwn[v0.4.789 ]:001 >>> PWN.help
56
56
```
57
57
58
58
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env ruby
2
2
# frozen_string_literal: false
3
3
4
+ require 'cgi'
4
5
require 'optparse'
5
6
require 'pwn'
6
7
require 'yaml'
@@ -101,7 +102,7 @@ begin
101
102
break if scan_progress_resp [ :products ] . none? { |p | p [ :status ] == 'B' }
102
103
end
103
104
104
- product_id = scan_progress_resp [ :products ] . find { |p | p [ :name ] == File . basename ( target_file ) } [ :product_id ]
105
+ product_id = scan_progress_resp [ :products ] . find { |p | p [ :name ] == File . basename ( CGI . escape ( target_file ) ) } [ :product_id ]
105
106
106
107
scan_report_resp = PWN ::Plugins ::BlackDuckBinaryAnalysis . generate_product_report (
107
108
token : token ,
Original file line number Diff line number Diff line change 1
1
# frozen_string_literal: true
2
2
3
3
module PWN
4
- VERSION = '0.4.788 '
4
+ VERSION = '0.4.789 '
5
5
end
You can’t perform that action at this time.
0 commit comments