pwn 0.5.133 → 0.5.134

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: b6b69478864e3c84fbb9beb4ce6e456e6327c92151ddf32fc506ae004de301f2
4
- data.tar.gz: 32701a1687c2df266e74803849e6499b282b894ab0dda483bc23ce109a4cda47
3
+ metadata.gz: 40156d586e7bb5254f9ae90d29037c670bef8c03b38ece3abb96eb6233ea1894
4
+ data.tar.gz: dcc5f403c475699cb13bbc84637751ec2742c53ef381d8caf1185be138947aba
5
5
  SHA512:
6
- metadata.gz: ba460d420705872c5b87469a16a5d2c53d891105caab012c48bb915ed2efbf03e7723df65c2a7cc0b76d83b14f1f46012bd0d5d742a85c65db334cfa987c5b54
7
- data.tar.gz: b71f8e03f22acb57c0cec7b9b57c9999b5983c91355d338eec49ec89d61a47ebe8b654742cae449c28c02eae2983b2293450ac8a6b0653f98ac0cef1e64a3264
6
+ metadata.gz: f4ec54babbe156ff57670b08d2f56fbf716c315866cbda71e698a99323668808410b25edba02cae44e6f91b42e8c654664d360c96525ce56eaf6cbdfd5ab3337
7
+ data.tar.gz: ee91a7eaea14ed829835efca6197bb820eae6b9f4c273bc88eca357a22b2a58e0555c273cf22018d6e767535eed8b52ac39cc6eb74c97fc5d7f39ef199677e11
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.133]:001 >>> PWN.help
40
+ pwn[v0.5.134]: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.133]:001 >>> PWN.help
55
+ pwn[v0.5.134]: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.133]:001 >>> PWN.help
65
+ pwn[v0.5.134]: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,6 +54,7 @@ module PWN
54
54
  loop do
55
55
  message = irc_obj.gets
56
56
  @@logger.info(message.to_s.chomp)
57
+ irc_obj.flush
57
58
  next unless block_given?
58
59
 
59
60
  yield message
@@ -77,7 +78,8 @@ module PWN
77
78
 
78
79
  irc_obj.puts(message)
79
80
  # Wait for a response from the server
80
- does_respond = irc_obj.wait_readable(response_timeout)
81
+ # does_respond = irc_obj.wait_readable(response_timeout)
82
+ irc_obj.gets
81
83
  irc_obj.flush
82
84
  rescue StandardError => e
83
85
  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.133'
4
+ VERSION = '0.5.134'
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.133
4
+ version: 0.5.134
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.