pwn 0.4.531 → 0.4.534

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: 6394ac8b510c9c427d2fc3b33ee841f1704fa48396b2b7c36f363cbb5b7b49cc
4
- data.tar.gz: 8881fadfee9f8a141a2d88ff6cb7b3dc634248aa30286237d8df90556c38d32f
3
+ metadata.gz: 2ee5449e17ec2681731388b5e8140eac6624af6b3abc9d4c3493ddc3ed901b9d
4
+ data.tar.gz: 41062a2e6c384693bdb76ef1cfa5d6cb5bdea07a3751716b25d925b0218259a7
5
5
  SHA512:
6
- metadata.gz: 0d6a8a9d848e2a0997f1c66c79a8ff5384105ca366ee52870bad930926135307da9aa0668a579a63c407fa2c65fa375545a20cdd7abf659eb1ce3f5c65283cc4
7
- data.tar.gz: ec79695ebc8ad252ca484658683bb522f70d621c5354ac88971369bd395044d7d336670b26aea4b8a30678bdcdd43f04afcee1e498bd94213856bc04276972e3
6
+ metadata.gz: 29fe90a0ee1a2569e1c225da618ddfff6626f303ac6719c3f1969ee16f7667a576c7a6e3654e017fbd0d445961301a09dfe2f0d5ba591d62f9b3a41922bb23e9
7
+ data.tar.gz: 527edf1e00ad62adfdf1672c8cb746357ecc5e331c433e1721921c25a20d8b75ea0c54b4528bf82047dff5d7556385cc76b1301d59722c88be2d126c15aabf79
data/README.md CHANGED
@@ -37,7 +37,7 @@ $ rvm use ruby-3.1.2@pwn
37
37
  $ rvm list gemsets
38
38
  $ gem install --verbose pwn
39
39
  $ pwn
40
- pwn[v0.4.531]:001 >>> PWN.help
40
+ pwn[v0.4.534]: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.1.2@pwn
52
52
  $ gem uninstall --all --executables pwn
53
53
  $ gem install --verbose pwn
54
54
  $ pwn
55
- pwn[v0.4.531]:001 >>> PWN.help
55
+ pwn[v0.4.534]:001 >>> PWN.help
56
56
  ```
57
57
 
58
58
 
@@ -88,6 +88,7 @@ begin
88
88
 
89
89
  next if wordlist_line.match?(/^#/)
90
90
 
91
+ # http_methods = %i[CONNECT DELETE GET HEAD OPTIONS PATCH POST PUT TRACE]
91
92
  http_methods = %i[GET HEAD POST PUT DELETE OPTIONS TRACE]
92
93
  http_methods.each do |http_method|
93
94
  begin
@@ -118,10 +119,13 @@ begin
118
119
  http_resp_code: response.code,
119
120
  http_resp: response.body[0..300]
120
121
  }
121
- rescue RestClient::Forbidden,
122
- RestClient::BadRequest,
122
+ rescue RestClient::BadRequest,
123
+ RestClient::Forbidden,
124
+ RestClient::GatewayTimeout,
125
+ RestClient::InternalServerError,
123
126
  RestClient::MethodNotAllowed,
124
- RestClient::NotFound => e
127
+ RestClient::NotFound,
128
+ RestClient::ServiceUnavailable => e
125
129
 
126
130
  rest_client_resp_hash = {
127
131
  request_timestamp: Time.now.strftime('%Y-%m-%d_%H-%M-%S'),
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.531'
4
+ VERSION = '0.4.534'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pwn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.531
4
+ version: 0.4.534
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-29 00:00:00.000000000 Z
11
+ date: 2022-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport