pwn 0.4.892 → 0.4.893

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: 6b23b0df75137582f0d3e408f126fe3dcdc4d6c5f7d1593197acdde601cfcd37
4
- data.tar.gz: ab49a9e1275b8476e890068866406b732c6ce34eae3837845abafc86db4d4e9b
3
+ metadata.gz: 9e23ba06c3e706f2e183f7d0f55b32c027e9a609b08dea8e40d23690d1e1f6a9
4
+ data.tar.gz: 360c14efbc504390e504ae2ba4947f1ee7a5a544ebedf4de9f10ae29468bbf53
5
5
  SHA512:
6
- metadata.gz: 895f5f5630b245d9ce1827a2714706cce8b6a9094b858ace6d36cd57ffdce843860d745ff9f4618315c3409737449bc8a464a26fa52e0bf2c3b917f5aad888dd
7
- data.tar.gz: 4e914dca5bbe364dae6672c1af222a197a81ac358abf351fccf961a1fc07e3fd2a71621975cd03ed32a3eded8b5f92b8c317b192289276b891857a39567e0360
6
+ metadata.gz: 705fbae85de346bc9421c056c9a5c48b5195bcdaf21def5b0f9aded8d20d426d70673bba8832eb72925182d57c9ef7df3eca82972239900811d60c45a6e81091
7
+ data.tar.gz: 897e3627a2bdddf0b797391c26a31b8a240aa0c51c186434c332c5190b9c03b0231c78e402d0b0497b75542d4e7d624c0b871d475fb60f5f8d0e499677184327
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.892]:001 >>> PWN.help
40
+ pwn[v0.4.893]: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.892]:001 >>> PWN.help
55
+ pwn[v0.4.893]:001 >>> PWN.help
56
56
  ```
57
57
 
58
58
 
@@ -53,20 +53,22 @@ module PWN
53
53
 
54
54
  sock_obj
55
55
  rescue OpenSSL::SSL::SSLError => e
56
- print '.'
57
56
  tls_min_version = case tls_min_version
58
57
  when OpenSSL::SSL::TLS1_VERSION
58
+ puts 'Attempting OpenSSL::SSL::TLS1_1_VERSION...'
59
59
  OpenSSL::SSL::TLS1_1_VERSION
60
60
  when OpenSSL::SSL::TLS1_1_VERSION
61
+ puts 'Attempting OpenSSL::SSL::TLS1_2_VERSION...'
61
62
  OpenSSL::SSL::TLS1_2_VERSION
62
63
  when OpenSSL::SSL::TLS1_2_VERSION
64
+ puts 'Attempting OpenSSL::SSL::TLS1_3_VERSION...'
63
65
  OpenSSL::SSL::TLS1_3_VERSION
64
66
  else
65
67
  :abort
66
68
  end
67
69
 
68
70
  retry unless tls_min_version == :abort
69
- raise e if tls_min_version == :abort
71
+ raise "\n#{e}" if tls_min_version == :abort
70
72
  rescue StandardError => e
71
73
  sock_obj = disconnect(sock_obj: sock_obj) unless sock_obj.nil?
72
74
  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.892'
4
+ VERSION = '0.4.893'
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.892
4
+ version: 0.4.893
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.