pwn 0.4.820 → 0.4.821

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: d8df5d7c582978e8fa4ecfc81eec8c26a92c1f2e0cd928c9ed70a84b7acb7898
4
- data.tar.gz: 56ea7c8f855ffd418e2270444e00d9e061bc3c4ded6d2b4551b935f92a174f0b
3
+ metadata.gz: c3ac59fc7a7af44959a91da6100a3897e8ccb88d4903aa47e379a2215869b7f3
4
+ data.tar.gz: 0b3430348fd739d3abb05923c9666af5cdb5ae48b0365e1bc0007971ca24c3ac
5
5
  SHA512:
6
- metadata.gz: 2d43f7e04a180f628addbdb453efd553e4700c582d2392c79e1f48d576fffeccf18a590ceb2000a357c32e4165d533da35318f55c75f7debcf774933006696a6
7
- data.tar.gz: 00d38ba7c69d76481491df2f86530513a8f8553bd8b7ad83562eb832df80b321df4f43e38bd3bb7eee064fa521618154e1d7d0103aaaaa3d0d56f840528aeca8
6
+ metadata.gz: 4fec522538dbe120a41397dfe8adfbf6670287d833ba11548f7ffb3f774bad51867fe33aa8071b14f162b22b6e3f23c80c99aa3b399c13188748228c25c6c626
7
+ data.tar.gz: 2b1b6882395861c9550f1ec89960ee2ba88d1df670ec5aa76113ec8f7990ba5576e6eaa468fe74b168bc398e83f3a10f4e3af9ea1f225d261ff0a68cbf9739be
data/README.md CHANGED
@@ -37,7 +37,7 @@ $ rvm use ruby-3.2.2@pwn
37
37
  $ rvm list gemsets
38
38
  $ gem install --verbose pwn
39
39
  $ pwn
40
- pwn[v0.4.820]:001 >>> PWN.help
40
+ pwn[v0.4.821]: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.2.2@pwn
52
52
  $ gem uninstall --all --executables pwn
53
53
  $ gem install --verbose pwn
54
54
  $ pwn
55
- pwn[v0.4.820]:001 >>> PWN.help
55
+ pwn[v0.4.821]:001 >>> PWN.help
56
56
  ```
57
57
 
58
58
 
@@ -161,7 +161,7 @@ puts 'complete.'
161
161
 
162
162
  # Start Simple HTTP Server (If Requested)
163
163
  if start_reporting_server
164
- listen_port = PWN::Plugins::Sock.get_random_unused_port
164
+ listen_port = PWN::Plugins::Sock.get_random_unused_port.to_s
165
165
  if pwn_provider == 'docker'
166
166
  listen_ip = '0.0.0.0'
167
167
  else
data/bin/pwn_phone CHANGED
@@ -114,7 +114,7 @@ begin
114
114
 
115
115
  # Start Simple HTTP Server (If Requested)
116
116
  if start_reporting_server
117
- listen_port = PWN::Plugins::Sock.get_random_unused_port
117
+ listen_port = PWN::Plugins::Sock.get_random_unused_port.to_s
118
118
 
119
119
  if pwn_provider == 'docker'
120
120
  listen_ip = '0.0.0.0'
data/bin/pwn_sast CHANGED
@@ -162,7 +162,7 @@ begin
162
162
 
163
163
  # Start Simple HTTP Server (If Requested)
164
164
  if start_reporting_server
165
- listen_port = PWN::Plugins::Sock.get_random_unused_port
165
+ listen_port = PWN::Plugins::Sock.get_random_unused_port.to_s
166
166
 
167
167
  if pwn_provider == 'docker'
168
168
  listen_ip = '0.0.0.0'
@@ -111,7 +111,8 @@ def request_path(opts = {})
111
111
  rescue Errno::ECONNRESET,
112
112
  RestClient::Exceptions::ReadTimeout,
113
113
  RestClient::Exceptions::OpenTimeout,
114
- RestClient::ServerBrokeConnection => e
114
+ RestClient::ServerBrokeConnection,
115
+ OpenSSL::SSL::SSLError => e
115
116
  rest_client_resp_hash = {
116
117
  request_timestamp: Time.now.strftime('%Y-%m-%d_%H-%M-%S'),
117
118
  http_uri: http_uri,
@@ -241,7 +242,7 @@ begin
241
242
 
242
243
  # Start Simple HTTP Server (If Requested)
243
244
  if start_reporting_server
244
- listen_port = PWN::Plugins::Sock.get_random_unused_port
245
+ listen_port = PWN::Plugins::Sock.get_random_unused_port.to_s
245
246
 
246
247
  if pwn_provider == 'docker'
247
248
  listen_ip = '0.0.0.0'
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.4.820'
4
+ VERSION = '0.4.821'
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.4.820
4
+ version: 0.4.821
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.