Skip to content

Commit a36646d

Browse files
authored
Merge pull request #676 from ninp0/master
PWN::Plugins::Vault - update usage for #edit and #help methods to inc…
2 parents 2a5554c + 73a53c6 commit a36646d

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ $ cd /opt/pwn
3737
$ ./install.sh
3838
$ ./install.sh ruby-gem
3939
$ pwn
40-
pwn[v0.5.226]:001 >>> PWN.help
40+
pwn[v0.5.227]:001 >>> PWN.help
4141
```
4242

4343
[![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.5@pwn
5252
$ gem uninstall --all --executables pwn
5353
$ gem install --verbose pwn
5454
$ pwn
55-
pwn[v0.5.226]:001 >>> PWN.help
55+
pwn[v0.5.227]:001 >>> PWN.help
5656
```
5757

5858
If you're using a multi-user install of RVM do:
@@ -62,7 +62,7 @@ $ rvm use ruby-3.3.5@pwn
6262
$ rvmsudo gem uninstall --all --executables pwn
6363
$ rvmsudo gem install --verbose pwn
6464
$ pwn
65-
pwn[v0.5.226]:001 >>> PWN.help
65+
pwn[v0.5.227]:001 >>> PWN.help
6666
```
6767

6868
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:

lib/pwn/plugins/vault.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,8 @@ def self.dump(opts = {})
144144
# PWN::Plugins::Vault.edit(
145145
# file: 'required - file to edit',
146146
# key: 'required - key to decrypt',
147-
# iv: 'required - iv to decrypt'
147+
# iv: 'required - iv to decrypt',
148+
# editor: 'optional - editor to use (default: "/usr/bin/vim")'
148149
# )
149150

150151
def self.edit(opts = {})
@@ -268,7 +269,8 @@ def self.edit(opts = {})
268269
#{self}.edit(
269270
file: 'required - file to edit',
270271
key: 'required - key to decrypt',
271-
iv: 'required - iv to decrypt'
272+
iv: 'required - iv to decrypt',
273+
editor: 'optional - editor to use (default: \"/usr/bin/vim\")'
272274
)
273275
274276
#{self}.encrypt(

lib/pwn/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module PWN
4-
VERSION = '0.5.226'
4+
VERSION = '0.5.227'
55
end

0 commit comments

Comments
 (0)