pwn 0.4.873 → 0.4.874

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: ddfd61a7a7db3f9accdf3e3392a16ae9e9b060b7c52453ddb6234bf569b1149f
4
- data.tar.gz: cf83b5cb2578083e36a142d44907a9da9fffa85c4f96789d618bb39d1adda22d
3
+ metadata.gz: fd251a67e8b0ad9bdbd295b9aa55a9d0421821ce7aecf5735dfebd5826075839
4
+ data.tar.gz: d805df30041247686af3674b9b4f618633cf0894a41d3317354cae64175237f6
5
5
  SHA512:
6
- metadata.gz: 5ee16345127238e574991ad477f62399bd8fb835b5f97e233886601d7c037482b0c9fbb864808d579405c39d1351a02530b8648ef186311114ef6be81f7abae8
7
- data.tar.gz: 7bd3642e16e8e3d1e9bce63608af08b65e1767077e398bbd0bf2ccf1e5dc93a8bb065030142c9a18932480b35a336fcaf824fd88f58ba96fd336d7dc14b532b7
6
+ metadata.gz: a83fd2d9d0f3dcd44a73fb130b93f8803bdcc3459e2efd715e121dd03342abf30650764869ca8eefa92ab655b1040699d2ff4040072647f6b3c4291c2e9f950d
7
+ data.tar.gz: 7e9a1f24f24ef51de6ff3378890059851fa26833506ff136dad4651a445a9a7972e8fde21c0d712340c84a3f1a95ac53772399a44777655463586517f423c942
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.873]:001 >>> PWN.help
40
+ pwn[v0.4.874]: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.873]:001 >>> PWN.help
55
+ pwn[v0.4.874]:001 >>> PWN.help
56
56
  ```
57
57
 
58
58
 
@@ -106,7 +106,13 @@ module PWN
106
106
  end
107
107
  JSON.parse(response.scrub, symbolize_names: true)
108
108
  rescue JSON::ParserError => e
109
- "{ \"error\": \"JSON::ParserError #{e.message}\", \"params\": \"#{params}\" }"
109
+ {
110
+ total: 0,
111
+ matches: [],
112
+ error: "JSON::ParserError #{e.message}",
113
+ rest_call: rest_call,
114
+ params: params
115
+ }
110
116
  rescue RestClient::TooManyRequests
111
117
  print 'Too many requests. Sleeping 10s...'
112
118
  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.873'
4
+ VERSION = '0.4.874'
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.873
4
+ version: 0.4.874
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.