pwn 0.4.495 → 0.4.498
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_nessus_cloud_scan_crud +6 -6
- data/lib/pwn/plugins/nessus_cloud.rb +2 -2
- 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: f0803e0808ef5eae2fe5a90ab030fdf4588afb4f3c7c3379e4635f505575caa8
|
4
|
+
data.tar.gz: 3c8129fcbc526ffd0d09361d521173164743cfdbd354e22afb9c52fcd6fbbcf1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 935d073cae88f9cb82173610336a7df110b389fb7038d8112c92085e55e80bf8dcf04b3cf60646f1afb8881cade5888d6af521d58af0f65bfd60b21288406dbe
|
7
|
+
data.tar.gz: 199df14939b3505895eaafa5f38a6f35f08da72476ef1af3709479af4c858fb2ccfb6079681fab00169ae50df5b7dbb88ee7794462dd6011bb5daea99538695b
|
data/README.md
CHANGED
@@ -37,7 +37,7 @@ $ rvm use ruby-3.1.2@pwn
|
|
37
37
|
$ rvm list gemsets
|
38
38
|
$ gem install --verbose pwn
|
39
39
|
$ pwn
|
40
|
-
pwn[v0.4.
|
40
|
+
pwn[v0.4.498]: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.1.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.498]:001 >>> PWN.help
|
56
56
|
```
|
57
57
|
|
58
58
|
|
@@ -283,14 +283,14 @@ begin
|
|
283
283
|
)
|
284
284
|
tag_uuid = new_tag[:uuid]
|
285
285
|
tag_uuids_arr.push(tag_uuid)
|
286
|
-
|
287
|
-
tag_assets = PWN::Plugins::NessusCloud.add_tag_to_assets(
|
288
|
-
nessus_obj: nessus_obj,
|
289
|
-
targets: text_targets,
|
290
|
-
tag_uuids: tag_uuids_arr
|
291
|
-
)
|
292
286
|
end
|
293
287
|
|
288
|
+
tag_assets = PWN::Plugins::NessusCloud.add_tag_to_assets(
|
289
|
+
nessus_obj: nessus_obj,
|
290
|
+
targets: text_targets,
|
291
|
+
tag_uuids: tag_uuids_arr
|
292
|
+
)
|
293
|
+
|
294
294
|
settings[:tag_targets] = tag_uuids_arr
|
295
295
|
end
|
296
296
|
|
@@ -396,10 +396,10 @@ module PWN
|
|
396
396
|
asset_uuids_arr = []
|
397
397
|
targets.each do |target|
|
398
398
|
selected_asset = all_assets[:assets].select do |asset|
|
399
|
-
asset[:fqdn] == target
|
399
|
+
asset[:fqdn] == [target]
|
400
400
|
end
|
401
401
|
this_asset = selected_asset.first
|
402
|
-
target_uuid = this_asset[:
|
402
|
+
target_uuid = this_asset[:id]
|
403
403
|
|
404
404
|
asset_uuids_arr.push(target_uuid)
|
405
405
|
end
|
data/lib/pwn/version.rb
CHANGED