pwn 0.5.134 → 0.5.135
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 +4 -4
- data/Gemfile +1 -1
- data/README.md +3 -3
- data/lib/pwn/plugins/irc.rb +0 -6
- data/lib/pwn/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 787176920f520cafc49e34a51947887cc58cf51eaf53045c76702b25295688d0
|
|
4
|
+
data.tar.gz: d3dcc8c9d1df3d4b05e0fd95b9bc8fed702993ec9e6ded41d9393a438536f77c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ea4627c8d3531c98ab6e51565e44c923787da3aba74de140fd4a6568318e722484e3bed407adb5ae1c90bba0595f2ef6672691b30e93c32b2fd44bb106317500
|
|
7
|
+
data.tar.gz: 94bbcef3fe72d2a21b4532c8bb138c4c2af599ecf71ac7610baf6ea3eb788b9a8817fabdf26226618b0ac9a1c7e44ce243aeaa7c10eb6c517150560468e61341
|
data/Gemfile
CHANGED
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.135]:001 >>> PWN.help
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
[](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.135]: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.135]: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
|
@@ -69,17 +69,12 @@ module PWN
|
|
|
69
69
|
# PWN::Plugins::IRC.send(
|
|
70
70
|
# irc_obj: 'required - irc_obj returned from #connect method',
|
|
71
71
|
# message: 'required - message to send',
|
|
72
|
-
# response_timeout: 'optional - response timeout in seconds (defaults to 3)'
|
|
73
72
|
# )
|
|
74
73
|
public_class_method def self.send(opts = {})
|
|
75
74
|
irc_obj = opts[:irc_obj]
|
|
76
75
|
message = opts[:message].to_s.scrub
|
|
77
|
-
response_timeout = opts[:response_timeout] || 3
|
|
78
76
|
|
|
79
77
|
irc_obj.puts(message)
|
|
80
|
-
# Wait for a response from the server
|
|
81
|
-
# does_respond = irc_obj.wait_readable(response_timeout)
|
|
82
|
-
irc_obj.gets
|
|
83
78
|
irc_obj.flush
|
|
84
79
|
rescue StandardError => e
|
|
85
80
|
raise e
|
|
@@ -124,7 +119,6 @@ module PWN
|
|
|
124
119
|
#{self}.send(
|
|
125
120
|
irc_obj: 'required - irc_obj returned from #connect method',
|
|
126
121
|
message: 'required - message to send',
|
|
127
|
-
response_timeout: 'optional - response timeout in seconds (defaults to 3)'
|
|
128
122
|
)
|
|
129
123
|
|
|
130
124
|
irc_obj = #{self}.disconnect(
|
data/lib/pwn/version.rb
CHANGED
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.135
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- 0day Inc.
|
|
@@ -1080,14 +1080,14 @@ dependencies:
|
|
|
1080
1080
|
requirements:
|
|
1081
1081
|
- - '='
|
|
1082
1082
|
- !ruby/object:Gem::Version
|
|
1083
|
-
version: 2.0.
|
|
1083
|
+
version: 2.0.2
|
|
1084
1084
|
type: :runtime
|
|
1085
1085
|
prerelease: false
|
|
1086
1086
|
version_requirements: !ruby/object:Gem::Requirement
|
|
1087
1087
|
requirements:
|
|
1088
1088
|
- - '='
|
|
1089
1089
|
- !ruby/object:Gem::Version
|
|
1090
|
-
version: 2.0.
|
|
1090
|
+
version: 2.0.2
|
|
1091
1091
|
- !ruby/object:Gem::Dependency
|
|
1092
1092
|
name: thin
|
|
1093
1093
|
requirement: !ruby/object:Gem::Requirement
|