pwn 0.5.17 → 0.5.18

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 699a38ae80f88b75aad0a4dd1d8a76251572be9ce6ce99603506a946d982c88b
4
- data.tar.gz: 457c82f3d230d8b99460e2742167087a914bd06f1cb0ffb9d27fef32530c0330
3
+ metadata.gz: 20f360f69f9bb8c226a8b1b92a9cef61a9bf4222a06e9d8c8350204d6c90059c
4
+ data.tar.gz: 79271855a779cf63846b83a37274471983edcdf0faa7848e49ffca1dbd54cb37
5
5
  SHA512:
6
- metadata.gz: e1d883a3079b28649e51609c04bd3e7c7dc78580a8ba6c79e3e8e6c768bc8f58d42d304b5ddbbe2882c5597b282c2e22bb119b34d0f3b3c820d7482a3c0e481d
7
- data.tar.gz: 76273576715746ac2a15d16f7b92ab93822a89e607d3c8f0343b2a1f8416d1907255765830a2a37262145aed378f2e8d4e1dbd20ba188e21bb64475a70b7c3c8
6
+ metadata.gz: 37e7439be854dc6e655787f0fd5831a5bfe14b2862be507bd520bb3785902e4fd889c7cd5216c570a2272a232fc54db6f588aaecc34c90d7fb2331df1b6a482e
7
+ data.tar.gz: a25301e91371cd8f71d249de6e7d1f605c20e90a5661de8a0615887919a1e245ffb73fc3090d026b52742e11926c1eeec5fe6116f7b69292dd7442a426e747bf
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.17]:001 >>> PWN.help
40
+ pwn[v0.5.18]: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.17]:001 >>> PWN.help
55
+ pwn[v0.5.18]: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.17]:001 >>> PWN.help
65
+ pwn[v0.5.18]: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:
@@ -28,11 +28,11 @@ module PWN
28
28
 
29
29
  # Supported Method Parameters::
30
30
  # PWN::Plugins::Assembly.asm_to_opcode(
31
- # asm: 'required - assembly code(s) (e.g. 'nop\nnop\nnop\njmp rsp\n)',
31
+ # asm: 'required - assembly instruction(s) (e.g. 'nop\nnop\nnop\njmp rsp\n)',
32
32
  # arch: 'optional - architecture (defaults to PWN::Plugins::DetectOS.arch)'
33
33
  # )
34
34
 
35
- public_class_method def self.asm_to_opcode(opts = {})
35
+ public_class_method def self.asm_to_opcodes(opts = {})
36
36
  asm = opts[:asm]
37
37
  arch = opts[:arch] ||= PWN::Plugins::DetectOS.arch
38
38
 
@@ -63,13 +63,13 @@ module PWN
63
63
 
64
64
  public_class_method def self.help
65
65
  puts "USAGE:
66
- #{self}.opcode_to_asm(
66
+ #{self}.opcodes_to_asm(
67
67
  opcodes: 'required - hex escaped opcode(s) (e.g. '\\x90\\x90\\x90')',
68
68
  arch: 'optional - architecture (defaults to PWN::Plugins::DetectOS.arch)'
69
69
  )
70
70
 
71
- #{self}.asm_to_opcode(
72
- asm: 'required - assembly code(s) (e.g. 'jmp rsp')',
71
+ #{self}.asm_to_opcodes(
72
+ asm: 'required - assembly instruction(s) (e.g. 'jmp rsp')',
73
73
  arch: 'optional - architecture (defaults to PWN::Plugins::DetectOS.arch)'
74
74
  )
75
75
 
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.17'
4
+ VERSION = '0.5.18'
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.17
4
+ version: 0.5.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.