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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d277e31d2320c2e414cbdb1695df19489f5fa44a88cfbf7165d20d984d2477a3
4
- data.tar.gz: 7a52541fe71a5a1f961b9a581139b1f7f422a428ef57e576665303e994b9cee4
3
+ metadata.gz: 1f77f47699b445a0081b3d94c7a57bc28e9daa45a02f3b6b64308b797f1a464a
4
+ data.tar.gz: 16196ade0f1ffd2f7da3d43e3b8272f04c6a59dda78e152cd0de7b50e9084c92
5
5
  SHA512:
6
- metadata.gz: f773cc92fa394e1a4b722e6bd4e39dcaa76a138f6c159be783a278e47f09bff24122515340f99ff0af6e62152e42242a2f79a506a020cb042590fda135431ebb
7
- data.tar.gz: 0e9734a25bc5a55cd6d965d36beae6b2b1bc8bf0c9cafa3a3405b89b6c0f7e5e4efe12265ca515e1449ce696ff1f62cb472c773915d6ea9fb64c4b03275afccf
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.141]:001 >>> PWN.help
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.141]:001 >>> PWN.help
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.141]:001 >>> PWN.help
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:
@@ -117,8 +117,13 @@ module PWN
117
117
 
118
118
  def process
119
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')
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PWN
4
- VERSION = '0.5.141'
4
+ VERSION = '0.5.142'
5
5
  end
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.141
4
+ version: 0.5.142
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.