pwn 0.4.450 → 0.4.451

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2eee3dea3c45f5dd6d8a5a35b0eecd3cff9af2d8862756f3d84d534d92c046ad
4
- data.tar.gz: 0dc08f5e32c759bb4fdf4ace0dc492097162dee99040271854e6a24fe794f864
3
+ metadata.gz: 02f8e66dcae91cac37030a71ca31451c0f7c95b54f80fbdac9ed00e61fd459eb
4
+ data.tar.gz: bcea061287c2abaf5a9703a8d6c66daad7cd96e01333e1e54e4cf3425e5918c5
5
5
  SHA512:
6
- metadata.gz: 6842848656126e13c1220e88b0be446728e65b804e87dd4d05d4ea2656fbe35d0e441df0f9367cbc69efc2f6c4183a7eb3af63d77d5298d9fbb35b363e8894f9
7
- data.tar.gz: 06af9c55f18c19ef21560a0bef9f9042371a4284528eb2f77a11bc9a99a6fcab4e904ee147c01eb4af2f8f11aa2f6bd7606e38edc74f8476d8adf9b0e739ca2d
6
+ metadata.gz: 4b6c769c439cd1f89a7311759c54fa663ec47e6e67b578c5a376e6ec89c09f723fd5b655596da4bb2ff78dc7af965ff07b874cd2c269a5a312568a938b557e4e
7
+ data.tar.gz: f7d916073ff34c9fe2ef2f25a326aa386ea84735dea35cf2682a97e68cd9375766508fa6f0f967b3968f2655f51106b82fd9a16c48a7e095dfe50abe4d962256
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.450]:001 >>> PWN.help
40
+ pwn[v0.4.451]: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.450]:001 >>> PWN.help
55
+ pwn[v0.4.451]:001 >>> PWN.help
56
56
  ```
57
57
 
58
58
 
@@ -275,15 +275,17 @@ begin
275
275
  nessus_obj: nessus_obj,
276
276
  name: tag_name
277
277
  )
278
+ tag_uuid = tag[:uuid] if tag.any?
279
+ tag_uuids_arr.push(tag_uuid) if tag.any?
278
280
  next if tag.any?
279
281
 
280
- tag_uuid = tag[:uuid]
281
- tag_uuids_arr.push(tag_uuid)
282
- PWN::Plugins::NessusCloud.create_tag(
282
+ new_tag = PWN::Plugins::NessusCloud.create_tag(
283
283
  nessus_obj: nessus_obj,
284
284
  category: tag_category_name,
285
285
  value: tag_name
286
286
  )
287
+ tag_uuid = new_tag[:uuid]
288
+ tag_uuids_arr.push(tag_uuid)
287
289
  end
288
290
 
289
291
  settings[:tag_targets] = tag_uuids_arr
data/lib/pwn/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PWN
4
- VERSION = '0.4.450'
4
+ VERSION = '0.4.451'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pwn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.450
4
+ version: 0.4.451
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.