pwn 0.4.449 → 0.4.450

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9c61651f5bcceb38730588bad1e730e906ff239d42c89076d7b185df78ddf594
4
- data.tar.gz: 4dcd11c1ed35331dd2f4db34c5059d7816cfa6d04c8937ec34ddffcaf395669d
3
+ metadata.gz: 2eee3dea3c45f5dd6d8a5a35b0eecd3cff9af2d8862756f3d84d534d92c046ad
4
+ data.tar.gz: 0dc08f5e32c759bb4fdf4ace0dc492097162dee99040271854e6a24fe794f864
5
5
  SHA512:
6
- metadata.gz: 3aa82b97b58ed00795b657b55e7547a275157d197adf8bc8b5e11f79e5a35fb7ba863fdbc4bfc31bf4076890140882774ecec16efdad60fbf7d6f9af9f31dcfe
7
- data.tar.gz: 33f89db8354f46e11ed5999427e2937be38b7fc98266a38b304ff19edf732abd59e3284cb1b16b7d2754aff1f6edd92dae9cd052bbd93e735330a3a8e4e21cea
6
+ metadata.gz: 6842848656126e13c1220e88b0be446728e65b804e87dd4d05d4ea2656fbe35d0e441df0f9367cbc69efc2f6c4183a7eb3af63d77d5298d9fbb35b363e8894f9
7
+ data.tar.gz: 06af9c55f18c19ef21560a0bef9f9042371a4284528eb2f77a11bc9a99a6fcab4e904ee147c01eb4af2f8f11aa2f6bd7606e38edc74f8476d8adf9b0e739ca2d
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.449]:001 >>> PWN.help
40
+ pwn[v0.4.450]: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.449]:001 >>> PWN.help
55
+ pwn[v0.4.450]:001 >>> PWN.help
56
56
  ```
57
57
 
58
58
 
@@ -268,6 +268,7 @@ begin
268
268
  settings[:file_targets] = file_targets if file_targets
269
269
 
270
270
  if tag_targets_arr.any?
271
+ tag_uuids_arr = []
271
272
  tag_targets_arr.each do |tag_name|
272
273
  # Lookup tag and create if does not exist
273
274
  tag = PWN::Plugins::NessusCloud.get_tag_values(
@@ -276,6 +277,8 @@ begin
276
277
  )
277
278
  next if tag.any?
278
279
 
280
+ tag_uuid = tag[:uuid]
281
+ tag_uuids_arr.push(tag_uuid)
279
282
  PWN::Plugins::NessusCloud.create_tag(
280
283
  nessus_obj: nessus_obj,
281
284
  category: tag_category_name,
@@ -283,7 +286,7 @@ begin
283
286
  )
284
287
  end
285
288
 
286
- settings[:tag_targets] = tag_targets_arr
289
+ settings[:tag_targets] = tag_uuids_arr
287
290
  end
288
291
 
289
292
  settings[:agent_group_id] = agent_group_id_arr if agent_group_id_arr.any?
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.449'
4
+ VERSION = '0.4.450'
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.449
4
+ version: 0.4.450
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.