pwn 0.4.937 → 0.4.938

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: c2517a3d98fd78417b35ed4f96be172047eb0c1cd096dde7a49cd9ecf92f5e87
4
- data.tar.gz: 16c41a8a69d0506c3701882049ae0d13c2afd1c891ec543c9f84d2ec05197f5e
3
+ metadata.gz: f9c5851305863170d62d5245960c1586f69329d30aebfcab6e490caa56eb33d0
4
+ data.tar.gz: 9a6364025db0a0bb94537b62e6cb984bf5372c79b1aeb036a353d7a42f3776c4
5
5
  SHA512:
6
- metadata.gz: 740130b46c0370ce5ad2137a1ec91802d6e1c131d716982881ce253c7f942cbffbdfc6ce8de7c7d0290bcd27d9af89fe82b3ae26c0fa935a80e18769ed26f11d
7
- data.tar.gz: a88a39bf547212022cde18d8e815b13e68db01082d662757704400b308f49ec52a097c97b3c1bd7c7bfc39b06f3b93cf9f2e9e75ca53b41d60fec3440995865e
6
+ metadata.gz: 5103601a156b1268bc7829dc7eb6906e067ff75f4e401eb194bd92b4c00f4e3fc8785c8090471b8d32acfaaa5c2446a8c89a1897ec10b5aacc75e0fd0326a8ef
7
+ data.tar.gz: 8f15984c2773b852957e5a82c0ea2574ef6216e5f28154ae5d65ef684635cd17cabcf2c639a1f5af604b4d3d32a47fd38545e81d40d3681f85476b4332a09bcc
data/README.md CHANGED
@@ -37,7 +37,7 @@ $ cd /opt/pwn
37
37
  $ ./install.sh
38
38
  $ ./install.sh ruby-gem
39
39
  $ pwn
40
- pwn[v0.4.937]:001 >>> PWN.help
40
+ pwn[v0.4.938]: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.937]:001 >>> PWN.help
55
+ pwn[v0.4.938]:001 >>> PWN.help
56
56
  ```
57
57
 
58
58
  If you're using a multi-user install of RVM do:
@@ -62,7 +62,7 @@ $ rvm use ruby-3.2.2@pwn
62
62
  $ rvmsudo gem uninstall --all --executables pwn
63
63
  $ rvmsudo gem install --verbose pwn
64
64
  $ pwn
65
- pwn[v0.4.937]:001 >>> PWN.help
65
+ pwn[v0.4.938]:001 >>> PWN.help
66
66
  ```
67
67
 
68
68
 
@@ -449,7 +449,9 @@ module PWN
449
449
  http_body[:lead] = user_by_username_object.first[:id]
450
450
  end
451
451
 
452
- http_body[:tags] = opts[:tags].to_s.strip.chomp.scrub.gsub("\s,\s", ',').split(',') if opts[:tags]
452
+ # http_body[:tags] = opts[:tags].to_s.strip.chomp.scrub.gsub("\s,\s", ',').split(',') if opts[:tags]
453
+ # String should include [] around tag values
454
+ http_body[:tags] = opts[:tags].to_s.strip.chomp.scrub.gsub("\s,\s", ',').split(',').to_s if opts[:tags]
453
455
 
454
456
  minimum_severity = opts[:minimum_severity].to_s.strip.chomp.scrub.downcase.capitalize
455
457
  case minimum_severity
@@ -559,7 +561,10 @@ module PWN
559
561
  # https://github.com/DefectDojo/django-DefectDojo/issues/457
560
562
  # in order to obtain the unique test resource_uri
561
563
  # by searching tags for unique identifier (would be better to have a unique test names)
562
- http_body[:tags] = opts[:tags].to_s.strip.chomp.scrub.gsub("\s,\s", ',').split(',') if opts[:tags]
564
+
565
+ # http_body[:tags] = opts[:tags].to_s.strip.chomp.scrub.gsub("\s,\s", ',').split(',') if opts[:tags]
566
+ # String should include [] around tag values
567
+ http_body[:tags] = opts[:tags].to_s.strip.chomp.scrub.gsub("\s,\s", ',').split(',').to_s if opts[:tags]
563
568
 
564
569
  http_body[:test] = opts[:test_resource_uri] if opts[:test_resource_uri]
565
570
 
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.937'
4
+ VERSION = '0.4.938'
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.937
4
+ version: 0.4.938
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.