pwn 0.5.140 → 0.5.142
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 +15 -0
- data/lib/pwn/version.rb +1 -1
- data/packer/kali_rolling_aws_ami.json +1 -0
- data/packer/kali_rolling_qemu_kvm.json +1 -0
- data/packer/kali_rolling_virtualbox.json +1 -0
- data/packer/kali_rolling_vmware.json +1 -0
- data/packer/provisioners/irc.sh +13 -0
- metadata +2 -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
|
[![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.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
@@ -112,6 +112,21 @@ module PWN
|
|
112
112
|
end
|
113
113
|
end
|
114
114
|
|
115
|
+
Pry::Commands.create_command 'pwn-irc' do
|
116
|
+
description 'Initiate pwn.irc chat interface.'
|
117
|
+
|
118
|
+
def process
|
119
|
+
pi = pry_instance
|
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
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
115
130
|
Pry::Commands.create_command 'toggle-pwn-ai-debug' do
|
116
131
|
description 'Display the response_history object while using pwn.ai'
|
117
132
|
|
data/lib/pwn/version.rb
CHANGED
@@ -0,0 +1,13 @@
|
|
1
|
+
#!/bin/bash --login
|
2
|
+
source /etc/profile.d/globals.sh
|
3
|
+
|
4
|
+
printf "Installing irssi *********************************************************************"
|
5
|
+
$screen_cmd "${apt} install -y irssi inspircd ${assess_update_errors}"
|
6
|
+
grok_error
|
7
|
+
|
8
|
+
sudo sed -e 's/^new_cursors=true/new_cursors=false/g' \
|
9
|
+
-i /etc/inspircd/inspircd.conf
|
10
|
+
sudo systemctl enable inspircd
|
11
|
+
sudo systemctl restart inspircd
|
12
|
+
|
13
|
+
# TODO: tweak /etc/inspircd/inspircd.conf to compliment pwn-irc AI agents
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pwn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.142
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 0day Inc.
|
@@ -1962,6 +1962,7 @@ files:
|
|
1962
1962
|
- packer/provisioners/git.sh
|
1963
1963
|
- packer/provisioners/init_image.sh
|
1964
1964
|
- packer/provisioners/install_vagrant_ssh_key.sh
|
1965
|
+
- packer/provisioners/irc.sh
|
1965
1966
|
- packer/provisioners/jenkins.sh
|
1966
1967
|
- packer/provisioners/metasploit.rb
|
1967
1968
|
- packer/provisioners/nmap.sh
|