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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c05b6705a2d4cb4d1e2fbccc6eff8e9752df2660610d577bc62397d116e4164a
4
- data.tar.gz: 8d9f9ec925222a6c8650ebb9e637a71264f258581e138ee650199699fbd81751
3
+ metadata.gz: b137a3b717375a238a9df5e4284375ff56020b02539c7d9d11f01fcfd4a7fc7f
4
+ data.tar.gz: cab62aa76f4d0d79516383f2e2ff1777fa727d6f7f8f88c1a588100441563d10
5
5
  SHA512:
6
- metadata.gz: 5f0aa077f65377bc75d46a4fc5a60eb200b142075f0d4d1c3eb78caa05d54c8abdf50f1f64855ff86ef993c178e415f8865fbdb2a26086a2a5dff73ea67248dc
7
- data.tar.gz: c02c7cdc07bda2ecd0790af222f6e5eccff0219c87e61edd66d596c53817f23a6e07b3dae2e959fe0028b866a8f10ae4a478b825dbb98899ff0e9051541df5d3
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.303]:001 >>> PWN.help
40
+ pwn[v0.5.304]: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.4.4@pwn
52
52
  $ gem uninstall --all --executables pwn
53
53
  $ gem install --verbose pwn
54
54
  $ pwn
55
- pwn[v0.5.303]:001 >>> PWN.help
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.303]:001 >>> PWN.help
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PWN
4
- VERSION = '0.5.303'
4
+ VERSION = '0.5.304'
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.5.303
4
+ version: 0.5.304
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.