pwn 0.5.141 → 0.5.143
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/repl.rb +6 -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: e9d306b0f3bdc6a21871e893e36276cc16b635640c1b0885b23101c4afa05522
|
4
|
+
data.tar.gz: 8df72288933583a626da9a9c2091c936b50cd23b0a6a6626c3da2688159bcb9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0085d288633ca5f1af765bb02bed469692175c831f58e10f2a3a97b6875dfa342d6e927723afb3eeddf25b65fd4d9240c81d1947b4caf8782ff4e60f0065aa50'
|
7
|
+
data.tar.gz: a6b35437bf468c1eef3d428a4b81b4a8d4a81fb650d63578d40c1e52cbca5eb9c98ecfbb9cbd9f0912113077fb766d3a05e239a74ba78343c14325fea6f831d4
|
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.143]: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.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.143]: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.143]: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,12 @@ module PWN
|
|
117
117
|
|
118
118
|
def process
|
119
119
|
pi = pry_instance
|
120
|
-
|
121
|
-
|
120
|
+
inspircd_listening = PWN::Plugins::Sock.check_port_in_use(server_ip: '127.0.0.1', port: 6667)
|
121
|
+
return unless File.exist?('/usr/bin/irssi') && inspircd_listening
|
122
|
+
|
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')
|
122
126
|
end
|
123
127
|
end
|
124
128
|
|
data/lib/pwn/version.rb
CHANGED