pwn 0.5.292 → 0.5.293

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: 48e626fc0db53190306bfb3c90358922e072b7da8f7128b8ef4968a0ba0ab3ff
4
- data.tar.gz: 1d5e78dbe233459e46e215ef257e9568501bc4523b7641f662688060eb1246e7
3
+ metadata.gz: 1b7343c36fed4d4a0795c1513c2c42a2ec7aac80ddbb9d7b751945aff0c7d4cd
4
+ data.tar.gz: 4203c947d2645b357d8e6fe832f163c632218af25fa27a20a4868784f23e6a9f
5
5
  SHA512:
6
- metadata.gz: b6a89a18eb9253be6ee68d5076a20d199a7c18ae436e5b8d6c61f72175ed4630e57b59fa01038f71c831dffab0991d4ca9c4f6ada1f350f02b11da521ceac3c2
7
- data.tar.gz: 55150c8c203d5063ad407873e88342e4352de0816c6c868c1ff568550af40e1614a0563bfbf9789b36daea02bc02d0f849b0d58985c3307503a5b5a7e5b39f5d
6
+ metadata.gz: ef66a32ee77051d89127d61eabd4d03d930daf3e07816190c2d6fdd1084051889ac3f121c1b488693653a223aac17ddf0377ddc94cbbc4cd43ff49b6dd323e53
7
+ data.tar.gz: 2f806df0065c13644e9b2572bfb3911e472aebd178d508cf72b60ead6b5b63656f3ca2a25ac2dc649b32e25139dc65272a7f9705049ba216b823907d95854976
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.292]:001 >>> PWN.help
40
+ pwn[v0.5.293]: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.292]:001 >>> PWN.help
55
+ pwn[v0.5.293]: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.292]:001 >>> PWN.help
65
+ pwn[v0.5.293]: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:
@@ -29,7 +29,7 @@ module PWN
29
29
  end
30
30
  rest_call = opts[:rest_call].to_s.scrub
31
31
  params = opts[:params]
32
- http_body = opts[:http_body].to_s.scrub
32
+ http_body = opts[:http_body]
33
33
  base_api_uri = opts[:base_api_uri]
34
34
 
35
35
  raise 'ERROR: base_api_uri cannot be nil.' if base_api_uri.nil?
@@ -63,7 +63,7 @@ module PWN
63
63
  content_type: 'application/json; charset=UTF-8',
64
64
  authorization: "Bearer #{token}"
65
65
  },
66
- payload: http_body,
66
+ payload: http_body.to_json,
67
67
  verify_ssl: false
68
68
  )
69
69
 
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.292'
4
+ VERSION = '0.5.293'
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.292
4
+ version: 0.5.293
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.