pwn 0.5.128 → 0.5.129

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aeee907bfc7c248eeec181361a541d57ba6981e4a783352a7bb229dfa01fda21
4
- data.tar.gz: 5452506b02ee9ab69f48f55963b3a37ad7196c4642bfc3e7f94bda8beb9ab891
3
+ metadata.gz: 041b60ff7e7d85926a01fe639e900d83cf1e95a702960a14ca652af48cc8249b
4
+ data.tar.gz: dbba29721fc429bdc2a65ded91498486afe70810d26223023c8aadc61a4444eb
5
5
  SHA512:
6
- metadata.gz: 7289cb78e75f72448dc40f1ca9834e22965789b4f76ec336cdc522fff37538a01469084f017cbf28ffcc0397bfb2d9528217d7ebe21e01df293c23f55e16ecda
7
- data.tar.gz: 858af3ebc0e7f97f4213675adfa6ca17d2a23f92b47a6ea7ed3b8b08dee0ed8f0bd438d8db0667e82c7e1958f22daf5405334c5028b23badb657b89b0ecb86ee
6
+ metadata.gz: f48e7d733e857094fcf3a4495d0b8e4fdd8da1c0202ea71704439e85da8722700eb6c43584918c4c960da79649526d3d1874328416e1b0ba101cbba558e6072f
7
+ data.tar.gz: a658d909e8b85644f637ddc66eb8cc97d1eefdfe8e40335cbb6b0a5f76620e76497675ea8bb6d673e1c4695f152f7e1be3b13511200221ef44ca17b66f29f074
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.128]:001 >>> PWN.help
40
+ pwn[v0.5.129]: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.128]:001 >>> PWN.help
55
+ pwn[v0.5.129]: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.128]:001 >>> PWN.help
65
+ pwn[v0.5.129]: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:
@@ -54,11 +54,11 @@ module PWN
54
54
  loop do
55
55
  message = irc_obj.gets
56
56
  @@logger.info(message)
57
- if block_given?
58
- # Extract the message text from the message
59
- message_text = message.split[3..-1].join(' ')[1..-1]
60
- yield message_text
61
- end
57
+ next unless block_given?
58
+
59
+ # Extract the message text from the message
60
+ message_text = message.split[3..-1].join(' ')[1..-1]
61
+ yield message_text
62
62
  end
63
63
  rescue StandardError => e
64
64
  raise e
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.128'
4
+ VERSION = '0.5.129'
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.128
4
+ version: 0.5.129
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.