pwn 0.5.441 → 0.5.442
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 +4 -4
- data/README.md +3 -3
- data/lib/pwn/plugins/repl.rb +3 -5
- 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: f41d05e60c7f650088bc283e5a06b7d098c97df33136978ec4cbdb153bfa2c16
|
4
|
+
data.tar.gz: 93ba311fa530ba7bcf3622a581fc801d33aa600f7d266a554adc0473cf8ac5da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b65927abd14e08746efc021f7ce5ad6e66d96224e9a6007401853b11f62a0d18da00b1e02655e228041d63bed46202e1e8217f294f83bb824f9cfc15332ebf85
|
7
|
+
data.tar.gz: 9ab2ee50ccba046c830a9b6120b491295c509d9962b64f1a77ca82b9e17ac98610d088ad78061c7afa4848d9313032764810880d54dd4e5b7ada5a0bd1c6a9b2
|
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.442]:001 >>> PWN.help
|
41
41
|
```
|
42
42
|
|
43
43
|
[](https://youtu.be/G7iLUY4FzsI)
|
@@ -52,7 +52,7 @@ $ rvm use ruby-3.4.4@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.442]: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.4.4@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.442]: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/repl.rb
CHANGED
@@ -522,11 +522,9 @@ module PWN
|
|
522
522
|
end
|
523
523
|
|
524
524
|
# Supported Method Parameters::
|
525
|
-
# PWN::Plugins::REPL.add_hooks
|
526
|
-
# opts: 'required - Hash object passed in via pwn OptParser'
|
527
|
-
# )
|
525
|
+
# PWN::Plugins::REPL.add_hooks
|
528
526
|
|
529
|
-
public_class_method def self.add_hooks
|
527
|
+
public_class_method def self.add_hooks
|
530
528
|
# Define REPL Hooks
|
531
529
|
# Welcome Banner Hook
|
532
530
|
Pry.config.hooks.add_hook(:before_session, :welcome) do |output, _binding, _pi|
|
@@ -669,7 +667,7 @@ module PWN
|
|
669
667
|
Pry.config.history_file = "#{pwn_env_root}/pwn_history"
|
670
668
|
|
671
669
|
add_commands
|
672
|
-
add_hooks
|
670
|
+
add_hooks
|
673
671
|
|
674
672
|
# Define PS1 Prompt
|
675
673
|
Pry.config.pwn_repl_line = 0
|
data/lib/pwn/version.rb
CHANGED