pwn 0.5.226 → 0.5.227
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/pwn/plugins/vault.rb +4 -2
- data/lib/pwn/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e6e0a930654bf9e7485a0b30f3c378f6fe4bb13c5258ef0444b97a82bc581c3
|
4
|
+
data.tar.gz: a60ea3a728262b4058aa36ae7e86fb73d7a59eb371876889b0baaa64e52d3ae4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 479e758d5ccaf7a1c5b9d00339a21fdd3fcb11411fd2572f11c312abad6b1597685f42a27e4320d5c155980131143eaa15d665292a331f2496999a98ec8cc86e
|
7
|
+
data.tar.gz: 462aed76c891e0ba1a6dd9189a7cc1c3e150ec6d110a7d9670fb7672b1ab838b4e839dd8951799b2a6a834751e070b8ad06b95defe39617905d022c47e25b634
|
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.
|
40
|
+
pwn[v0.5.227]: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.5@pwn
|
|
52
52
|
$ gem uninstall --all --executables pwn
|
53
53
|
$ gem install --verbose pwn
|
54
54
|
$ pwn
|
55
|
-
pwn[v0.5.
|
55
|
+
pwn[v0.5.227]: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.5@pwn
|
|
62
62
|
$ rvmsudo gem uninstall --all --executables pwn
|
63
63
|
$ rvmsudo gem install --verbose pwn
|
64
64
|
$ pwn
|
65
|
-
pwn[v0.5.
|
65
|
+
pwn[v0.5.227]: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:
|
data/lib/pwn/plugins/vault.rb
CHANGED
@@ -144,7 +144,8 @@ module PWN
|
|
144
144
|
# PWN::Plugins::Vault.edit(
|
145
145
|
# file: 'required - file to edit',
|
146
146
|
# 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")'
|
148
149
|
# )
|
149
150
|
|
150
151
|
def self.edit(opts = {})
|
@@ -268,7 +269,8 @@ module PWN
|
|
268
269
|
#{self}.edit(
|
269
270
|
file: 'required - file to edit',
|
270
271
|
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\")'
|
272
274
|
)
|
273
275
|
|
274
276
|
#{self}.encrypt(
|
data/lib/pwn/version.rb
CHANGED