pwn 0.5.303 → 0.5.304
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/jira_server.rb +2 -2
- 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: b137a3b717375a238a9df5e4284375ff56020b02539c7d9d11f01fcfd4a7fc7f
|
4
|
+
data.tar.gz: cab62aa76f4d0d79516383f2e2ff1777fa727d6f7f8f88c1a588100441563d10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88a6d3aec66331f3eb96d92b7497036c58c36342e889b3007f3619dc4ea96f7af8043ae4329957d25a4af9ea83526d5f28cf8c3dde0b96b65a00c9dc2eb94f96
|
7
|
+
data.tar.gz: 9459fb242e006971376260765ddf71ed81f854fe745c0ea37ad8a95d18c1e12e5db364e81270760def032423ecd3125987639ccc560564447f2a9257c568b3f4
|
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.5.
|
40
|
+
pwn[v0.5.304]:001 >>> PWN.help
|
41
41
|
```
|
42
42
|
|
43
43
|
[](https://youtu.be/G7iLUY4FzsI)
|
@@ -52,7 +52,7 @@ $ rvm use ruby-3.4.4@pwn
|
|
52
52
|
$ gem uninstall --all --executables pwn
|
53
53
|
$ gem install --verbose pwn
|
54
54
|
$ pwn
|
55
|
-
pwn[v0.5.
|
55
|
+
pwn[v0.5.304]: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.4.4@pwn
|
|
62
62
|
$ rvmsudo gem uninstall --all --executables pwn
|
63
63
|
$ rvmsudo gem install --verbose pwn
|
64
64
|
$ pwn
|
65
|
-
pwn[v0.5.
|
65
|
+
pwn[v0.5.304]:001 >>> PWN.help
|
66
66
|
```
|
67
67
|
|
68
68
|
PWN periodically upgrades to the latest version of Ruby which is reflected in `/opt/pwn/.ruby-version`. The easiest way to upgrade to the latest version of Ruby from a previous PWN installation is to run the following script:
|
@@ -420,7 +420,7 @@ module PWN
|
|
420
420
|
http_method = :post
|
421
421
|
rest_call = "issue/#{issue}/comment"
|
422
422
|
http_body = { body: comment }
|
423
|
-
http_body[:author] = author if author
|
423
|
+
http_body[:author] = { key: author } if author
|
424
424
|
when :delete
|
425
425
|
http_method = :delete
|
426
426
|
rest_call = "issue/#{issue}/comment/#{comment_id}"
|
@@ -429,7 +429,7 @@ module PWN
|
|
429
429
|
http_method = :put
|
430
430
|
rest_call = "issue/#{issue}/comment/#{comment_id}"
|
431
431
|
http_body = { body: comment }
|
432
|
-
http_body[:author] = author if author
|
432
|
+
http_body[:author] = { key: author } if author
|
433
433
|
end
|
434
434
|
|
435
435
|
rest_call(
|
data/lib/pwn/version.rb
CHANGED