pwn 0.4.772 → 0.4.773
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/bin/pwn_bdba_groups +8 -4
- data/lib/pwn/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ad3afc60fafce1a7509143559ff11bab8c9d4a0304da8511df7a5bc5435b537
|
4
|
+
data.tar.gz: 22b1e02eedc3e6a0f5e2fc728a4a97c5c7b6c8c2331d33a8c5b09fec631b442b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57d0aeeacafb357d30ef14cd89c202ef53dc465b8043e61d2af6d45f2a0c1c170fa0b083ce1e6c3349467ee252a34d03b50fa9a487bcecb69985abc35a5e2555
|
7
|
+
data.tar.gz: 37291894da21bb468784ff46b67c57c3336f1499be0a94805c428b618ba998dd93a248971459d86815d24896a86a1ceac31e41e2baa80c9dd09c00eec2732794
|
data/README.md
CHANGED
@@ -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.
|
40
|
+
pwn[v0.4.773]: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.
|
55
|
+
pwn[v0.4.773]:001 >>> PWN.help
|
56
56
|
```
|
57
57
|
|
58
58
|
|
data/bin/pwn_bdba_groups
CHANGED
@@ -45,9 +45,6 @@ begin
|
|
45
45
|
token = yaml_config[:token]
|
46
46
|
raise "ERROR: BDBA Token Not Found: #{token}" if token.nil?
|
47
47
|
|
48
|
-
group_name = opts[:group_name]
|
49
|
-
raise "ERROR: BDBA Group Name Not Provided: #{group_name}" if group_name.nil?
|
50
|
-
|
51
48
|
list_group_name = opts[:list_group_name]
|
52
49
|
parent_group_name = opts[:parent_group_name]
|
53
50
|
parent_id = nil
|
@@ -59,7 +56,11 @@ begin
|
|
59
56
|
|
60
57
|
raise 'No groups found in BDBA. Use the --create flag to create your first group.' if groups_resp.nil?
|
61
58
|
|
62
|
-
list_or_parent = list_group_name
|
59
|
+
list_or_parent = list_group_name unless list_group_name.nil?
|
60
|
+
list_or_parent = parent_group_name unless parent_group_name.nil?
|
61
|
+
puts list_group_name.inspect
|
62
|
+
puts parent_group_name.inspect
|
63
|
+
|
63
64
|
group_arr = groups_resp[:groups].select { |g| g[:name] == list_or_parent }
|
64
65
|
group_arr_sorted = group_arr.sort_by { |g| g[:id] }
|
65
66
|
group = group_arr_sorted.last
|
@@ -83,6 +84,9 @@ begin
|
|
83
84
|
end
|
84
85
|
end
|
85
86
|
|
87
|
+
group_name = opts[:group_name]
|
88
|
+
raise "ERROR: BDBA Group Name Not Provided: #{group_name}" if group_name.nil?
|
89
|
+
|
86
90
|
PWN::Plugins::BlackDuckBinaryAnalysis.create_group(
|
87
91
|
token: token,
|
88
92
|
name: group_name,
|
data/lib/pwn/version.rb
CHANGED