pwn 0.4.987 → 0.4.988

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: f00d411fb2db8644fbcb1d272a5756e0dce64aeb0233b4be97a62d1fb06d5fb7
4
- data.tar.gz: feb58fc5a339d2e37044bd5e39a5f78af087824ccb8745633c22fd129a129b53
3
+ metadata.gz: e254f6c5e7e75df396901615062fd08638a440453d9ea63d2fe7315e247ba0af
4
+ data.tar.gz: 5261053477ed401cd1df1bfe15ecf288801df9032efc32ab256f2eb9a6108c83
5
5
  SHA512:
6
- metadata.gz: b6fc47ce9206ea236f6dd44e71cc7201cef36fc3e1f177b6948d6859f1f233652bfcb80e7053fb1699ef4c45bb3f2db1e1bd405cc9acd5fc78600578034af0ce
7
- data.tar.gz: 7e08304f736ae875d40fbe982d2589f2ac2a40485d6b44cda2f2c100b6dd426009cb5da8e198713506439d577081930d2f3cbc34b4fec68024479112cc1812f9
6
+ metadata.gz: 2b8eb8e1316617a5aad0d6fb18947d5f946bb8a4f84452b2c7b143a44bd9f2a7b491598051b8341cdbbd979c588e7206a771ced91234a17a8a3cdef473501f06
7
+ data.tar.gz: 90c90b0613bce76a5659f006fe49b652bf64f07ce05d5e0227b96460859878c7050c4abdabb828c10d496f2251e55f078e19087c8a1294369b1e0d74ebf7ac38
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.987]:001 >>> PWN.help
40
+ pwn[v0.4.988]: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.3.0@pwn
52
52
  $ gem uninstall --all --executables pwn
53
53
  $ gem install --verbose pwn
54
54
  $ pwn
55
- pwn[v0.4.987]:001 >>> PWN.help
55
+ pwn[v0.4.988]: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.3.0@pwn
62
62
  $ rvmsudo gem uninstall --all --executables pwn
63
63
  $ rvmsudo gem install --verbose pwn
64
64
  $ pwn
65
- pwn[v0.4.987]:001 >>> PWN.help
65
+ pwn[v0.4.988]: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:
@@ -178,7 +178,6 @@ module PWN
178
178
  replace: product_id
179
179
  }
180
180
 
181
- # file: File.binread(file)
182
181
  http_body = {
183
182
  multipart: true,
184
183
  file: File.new(file, 'rb')
@@ -50,7 +50,7 @@ module PWN
50
50
 
51
51
  # TODO: fix this block as it is not working as expected
52
52
  binary_data = hexdump.lines.map do |line|
53
- line.split(':')[1].split[0..15].join.split.map do |hex|
53
+ line.split('')[10..-19].join.split.map do |hex|
54
54
  [hex].pack('H*')
55
55
  end.join
56
56
  end.join
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.987'
4
+ VERSION = '0.4.988'
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.987
4
+ version: 0.4.988
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.