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 +4 -4
- data/README.md +3 -3
- data/lib/pwn/plugins/defect_dojo.rb +2 -11
- 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: af7d32aa7b6f458faa13b2565f5ec6b3ce65e47505b40c4c269ee76649825e1b
|
|
4
|
+
data.tar.gz: 179414d733d91f090547fc64f5526df94072e14fd46312a45db5f2552ff02b8d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
40
|
+
pwn[v0.4.939]:001 >>> PWN.help
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
[](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.
|
|
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.
|
|
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
|
-
|
|
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
|
-
|
|
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