pwn 0.4.654 → 0.4.655

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: 473473414ab3732072d2d6b8bdbf4eae1bfbb120da3c284f9c2febf1fea5cac3
4
- data.tar.gz: 586707790ae9dc07d77582f5afaf38741d9b069f44aa07a59d9dfa078434e609
3
+ metadata.gz: 4f7af8cb18c8f36419c44dd3b4617bf3b61565e48fc03d7801fb1b6530c6800b
4
+ data.tar.gz: 3fe307e7bc617016528cbc1f8c9c3abdcb10f47339d654f43f9bc21328484563
5
5
  SHA512:
6
- metadata.gz: 63661e592b625fcafb80c93444e68fdef6356a834e4e91615d9c0957584dcd7a4c50d3726ebcb61d692ad007407449eab84d8c94011106395d40ba1ee40d1105
7
- data.tar.gz: 79791151d635d851bdb9f6aa0095deefe2ed3a9ef295c8740d4b05715e6cc9e4581889426dca0fd4840153c88f29f1f400b1d7049858e12a0810cf53d9d28e5b
6
+ metadata.gz: c13a613a2ec71b311b819660911bafdc98c54f5d09aea269ef3f88b22a22b6af0446d172bd3fa988f38a51bb74ab2998d198b5a8ae7260b28a168cd7b5693826
7
+ data.tar.gz: 4326ba050a6572591520c5394576a2a8e3f00b996c523d313d8cf88c98a57a32754ade72bd1822b49e2ef1a3915f0ac46998015d45806812d2b2e5beeb18e199
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.654]:001 >>> PWN.help
40
+ pwn[v0.4.655]: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.654]:001 >>> PWN.help
55
+ pwn[v0.4.655]:001 >>> PWN.help
56
56
  ```
57
57
 
58
58
 
@@ -71,13 +71,15 @@ module PWN
71
71
  end
72
72
 
73
73
  JSON.parse(response, symbolize_names: true)
74
- rescue StandardError => e
74
+ rescue ExceptionWithResponse => e
75
75
  case e.message
76
76
  when '400 Bad Request', '404 Resource Not Found'
77
77
  "#{e.message}: #{e.response}"
78
78
  else
79
79
  raise e
80
80
  end
81
+ rescue StandardError => e
82
+ raise e
81
83
  ensure
82
84
  spinner.stop
83
85
  end
@@ -104,7 +106,7 @@ module PWN
104
106
  rest_call(
105
107
  base_api_uri: base_api_uri,
106
108
  token: token,
107
- rest_call: "/issue/#{issue}"
109
+ rest_call: "issue/#{issue}"
108
110
  )
109
111
  rescue StandardError => e
110
112
  raise e
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.654'
4
+ VERSION = '0.4.655'
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.654
4
+ version: 0.4.655
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.