pwn 0.5.141 → 0.5.142
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 +7 -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: 1f77f47699b445a0081b3d94c7a57bc28e9daa45a02f3b6b64308b797f1a464a
|
|
4
|
+
data.tar.gz: 16196ade0f1ffd2f7da3d43e3b8272f04c6a59dda78e152cd0de7b50e9084c92
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a991415932389ff6f4a3511f400baeea1ee69ae73e9e4e9a5b208b7264f0951057f82edc2b913119f95715f12f41b96d7c311886c8d01e206acb31b1757752b3
|
|
7
|
+
data.tar.gz: 6157cb59673ef3fe1196d7b4df9d25f7c0e4849fdbc076daa7e84e29f03f97247aed9e1f30896ccd33e4d9bd7e3f0b4f00d1468eb923647df999b5b09a2ce31a
|
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.142]:001 >>> PWN.help
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
[](https://youtu.be/G7iLUY4FzsI)
|
|
@@ -52,7 +52,7 @@ $ rvm use ruby-3.3.1@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.142]: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.1@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.142]: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
|
@@ -117,8 +117,13 @@ module PWN
|
|
|
117
117
|
|
|
118
118
|
def process
|
|
119
119
|
pi = pry_instance
|
|
120
|
-
|
|
121
|
-
|
|
120
|
+
try_again = '/usr/bin/irrsi not found. Run "sudo apt-get install irssi" to install and try again.'
|
|
121
|
+
puts try_again unless File.exist?('/usr/bin/irssi')
|
|
122
|
+
if File.exist?('/usr/bin/irssi')
|
|
123
|
+
# TODO: Initialize inspircd on localhost:6667 using
|
|
124
|
+
# PWN::Plugins::IRC && PWN::Plugins::ThreadPool modules.
|
|
125
|
+
system('/usr/bin/irssi -c 127.0.0.1 -p 6667 -n pwn-irc')
|
|
126
|
+
end
|
|
122
127
|
end
|
|
123
128
|
end
|
|
124
129
|
|
data/lib/pwn/version.rb
CHANGED