pwn 0.5.24 → 0.5.25

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: 833f2055842c7ea2beaaa250cbf13763b540cbdc8ee79e8b8d68a5fc14147adb
4
- data.tar.gz: '0586ab2fb44e10f0bad1f597827368f6c9b915159545aed0a5608f125b5eefc1'
3
+ metadata.gz: dadd39787409b581c7e107e807d9dc488d9ff6f030b3f8267cf97181c076ea94
4
+ data.tar.gz: cbf8770e949609afa29736c2035aa0d272e2a64c728630a46771767e5c13c2c3
5
5
  SHA512:
6
- metadata.gz: 3917d7c131039161725cac99d74528a31ecdb15cb28bf9dce318be2330c23ec5363876728fda087f247843d83bf3cc0fec330080c22721631f851039262008ed
7
- data.tar.gz: ecfb3ed335b995423363f8c9de534c1bdb4422a9b485465d677e01bcb814c167080356903d0feecefd72b1430428b9f30d798db53f2a1968bd06e78a955b479a
6
+ metadata.gz: 9e74854f00d56728fd72baa1129d863e15577c93974b1fc471a57fe81b923badba073f915eb9fe25b3dfa643669166f65df113f5d9015a5698eb2e097ad6fec8
7
+ data.tar.gz: cfd9e46e1d2dfd58b40d42f0e85807dc37bf204ca642e1533363f2bb816ba792db26f594fbf12eb5251b54e4bade76d1e0eb6f6d4f91e1b4c219dd13183c3ccb
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.24]:001 >>> PWN.help
40
+ pwn[v0.5.25]: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.5.24]:001 >>> PWN.help
55
+ pwn[v0.5.25]: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.5.24]:001 >>> PWN.help
65
+ pwn[v0.5.25]: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:
@@ -16,7 +16,7 @@ module PWN
16
16
 
17
17
  public_class_method def self.opcodes_to_asm(opts = {})
18
18
  opcodes = opts[:opcodes]
19
- arch = opts[:arch] ||= PNW::Plugins::DetectOS.arch
19
+ arch = opts[:arch] ||= PWN::Plugins::DetectOS.arch
20
20
  endian = opts[:endian] ||= :little
21
21
 
22
22
  case arch
@@ -35,8 +35,6 @@ module PWN
35
35
  Metasm::Shellcode.disassemble(arch_obj, opcodes).to_s
36
36
  rescue StandardError => e
37
37
  raise e
38
- ensure
39
- opcodes_tmp.unlink if File.exist?(opcodes_tmp.path)
40
38
  end
41
39
 
42
40
  # Supported Method Parameters::
@@ -48,7 +46,7 @@ module PWN
48
46
 
49
47
  public_class_method def self.asm_to_opcodes(opts = {})
50
48
  asm = opts[:asm]
51
- arch = opts[:arch] ||= PNW::Plugins::DetectOS.arch
49
+ arch = opts[:arch] ||= PWN::Plugins::DetectOS.arch
52
50
  endian = opts[:endian] ||= :little
53
51
 
54
52
  case arch
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.24'
4
+ VERSION = '0.5.25'
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.24
4
+ version: 0.5.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.