pwn 0.5.139 → 0.5.141
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/irc.rb +1 -1
- data/lib/pwn/plugins/repl.rb +10 -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 +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d277e31d2320c2e414cbdb1695df19489f5fa44a88cfbf7165d20d984d2477a3
|
4
|
+
data.tar.gz: 7a52541fe71a5a1f961b9a581139b1f7f422a428ef57e576665303e994b9cee4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f773cc92fa394e1a4b722e6bd4e39dcaa76a138f6c159be783a278e47f09bff24122515340f99ff0af6e62152e42242a2f79a506a020cb042590fda135431ebb
|
7
|
+
data.tar.gz: 0e9734a25bc5a55cd6d965d36beae6b2b1bc8bf0c9cafa3a3405b89b6c0f7e5e4efe12265ca515e1449ce696ff1f62cb472c773915d6ea9fb64c4b03275afccf
|
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.141]: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.141]: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.141]: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/irc.rb
CHANGED
data/lib/pwn/plugins/repl.rb
CHANGED
@@ -112,6 +112,16 @@ 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
|
+
puts '/usr/bin/irrsi not found. Run "sudo apt-get install irssi" to install.' unless File.exist?('/usr/bin/irssi')
|
121
|
+
system('/usr/bin/irssi -c 127.0.0.1 -p 6667 -n pwn-irc') if File.exist?('/usr/bin/irssi')
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
115
125
|
Pry::Commands.create_command 'toggle-pwn-ai-debug' do
|
116
126
|
description 'Display the response_history object while using pwn.ai'
|
117
127
|
|
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,14 +1,14 @@
|
|
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.141
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 0day Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -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
|