pwn 0.4.871 → 0.4.872

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: 688013ca9711925ca1ba86766eef88e7a6e9744f4296dc7b5b2d7ac4d4daffdf
4
- data.tar.gz: 27f0b770e26efa5ef6f94ec658f5a304413dc46afd7a016fb5ac9634bafaf4e6
3
+ metadata.gz: 1a856da52404961582f5a9951a3b493799529e3b1791798289605f8d34129fc2
4
+ data.tar.gz: 9e23c63441c390fe0f02b1f34c268677d44742a5460ad2bfffbf7b2a2b97a07b
5
5
  SHA512:
6
- metadata.gz: a7150ff126fffc4e5ec5bf71fb76e1b2cc9c1657b750635a62d3f43b102f9185b18f7fb934e161d54023557dea483131b249a37507166e545c7b3b18b3e64933
7
- data.tar.gz: 03eedef01154a49d6b962fd4ac2d2ea3ff0fc20f2a365e2eb59690d9e48dc9cba2e8c93e450d67b50798d757fafaf1ebbfaa6cc960b4e7ae9febfe99a6c7c8d5
6
+ metadata.gz: 5450e5b7355e1f4902b7545727650484317f1b7e7dc8838278a5010d3aa021ab265c3d1acab3b91776200b90b87b01f21c78971a4071038c0c20c5f4ae882e77
7
+ data.tar.gz: 693983d7afca26e49fac9dd0717c4c006964c804801b4e0715a91950295cf7c49f9084e9da0d4f0ba0344032a600c8d9f814058379f33b044c3d3718dc767e59
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.871]:001 >>> PWN.help
40
+ pwn[v0.4.872]: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.871]:001 >>> PWN.help
55
+ pwn[v0.4.872]:001 >>> PWN.help
56
56
  ```
57
57
 
58
58
 
@@ -105,6 +105,8 @@ module PWN
105
105
  raise @@logger.error("Unsupported HTTP Method #{http_method} for #{self} Plugin")
106
106
  end
107
107
  JSON.parse(response.scrub, symbolize_names: true)
108
+ rescue JSON::ParserError => e
109
+ { error: "JSON::ParserError #{e.message}" }
108
110
  rescue RestClient::TooManyRequests
109
111
  print 'Too many requests. Sleeping 10s...'
110
112
  sleep 10
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.871'
4
+ VERSION = '0.4.872'
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.871
4
+ version: 0.4.872
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.