pwn 0.4.938 → 0.4.939

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: f9c5851305863170d62d5245960c1586f69329d30aebfcab6e490caa56eb33d0
4
- data.tar.gz: 9a6364025db0a0bb94537b62e6cb984bf5372c79b1aeb036a353d7a42f3776c4
3
+ metadata.gz: af7d32aa7b6f458faa13b2565f5ec6b3ce65e47505b40c4c269ee76649825e1b
4
+ data.tar.gz: 179414d733d91f090547fc64f5526df94072e14fd46312a45db5f2552ff02b8d
5
5
  SHA512:
6
- metadata.gz: 5103601a156b1268bc7829dc7eb6906e067ff75f4e401eb194bd92b4c00f4e3fc8785c8090471b8d32acfaaa5c2446a8c89a1897ec10b5aacc75e0fd0326a8ef
7
- data.tar.gz: 8f15984c2773b852957e5a82c0ea2574ef6216e5f28154ae5d65ef684635cd17cabcf2c639a1f5af604b4d3d32a47fd38545e81d40d3681f85476b4332a09bcc
6
+ metadata.gz: 62da76dcfcccc0b9751a75336d69e2453d35877546bfc00b22a2d8df099511349e0ed51bd21086daf4dff1c799915c3f17188fbdeb1f989311bde0c815937ca2
7
+ data.tar.gz: e9fbf719db4814a99e58fa1d6759208616826cf1c59eb63bb6a3be75aaed1da0192ea8bc9ae558a25e53bd4e8513cb59e2a77fe11f91efdc638b3837be70387c
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.938]:001 >>> PWN.help
40
+ pwn[v0.4.939]: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.938]:001 >>> PWN.help
55
+ pwn[v0.4.939]: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.938]:001 >>> PWN.help
65
+ pwn[v0.4.939]:001 >>> PWN.help
66
66
  ```
67
67
 
68
68
 
@@ -449,9 +449,7 @@ 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]
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]
452
+ http_body[:tags] = opts[:tags].to_s.strip.chomp.scrub.gsub("\s,\s", ',').split(',') if opts[:tags]
455
453
 
456
454
  minimum_severity = opts[:minimum_severity].to_s.strip.chomp.scrub.downcase.capitalize
457
455
  case minimum_severity
@@ -557,14 +555,7 @@ module PWN
557
555
  end
558
556
  end
559
557
 
560
- # TODO: wait for solution to:
561
- # https://github.com/DefectDojo/django-DefectDojo/issues/457
562
- # in order to obtain the unique test resource_uri
563
- # by searching tags for unique identifier (would be better to have a unique test names)
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]
558
+ http_body[:tags] = opts[:tags].to_s.strip.chomp.scrub.gsub("\s,\s", ',').split(',') if opts[:tags]
568
559
 
569
560
  http_body[:test] = opts[:test_resource_uri] if opts[:test_resource_uri]
570
561
 
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.938'
4
+ VERSION = '0.4.939'
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.938
4
+ version: 0.4.939
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.