pwn 0.4.901 → 0.4.903

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: 612e27693c86bab2687e1c4fc53a518474ee02bdc940dd1e5b361c97f3bcb5fc
4
- data.tar.gz: 32afadc3ad880fe1dc4d1d0a0e05f4decd8a1fbd0a40f0541862710d015cd797
3
+ metadata.gz: 5de6a96d91343303cae09ae5d5974c7f8752b2086f98923d850bef95811ef16f
4
+ data.tar.gz: 12ae5821ad2b2f6d6a629e3f249e35236d67f789cf010ac645e336f4d898132e
5
5
  SHA512:
6
- metadata.gz: 1f930c274144c32d2fe07ade62be8f644dcbd70f195c06599ffd50d9383d08a9e104107e71ed51e041e29060bf16b25cb84be9bf1e82dccd2c123d79820f1876
7
- data.tar.gz: '08dff78d1e883c7beeb7d0287161ebaeff253f2b9ac1e840fde33ac2a7a4a8db0a677f9fc41f8fb001b9cf1a79dba6545a02a5aeb98ca92298c0b27abc9407f6'
6
+ metadata.gz: 61e12bd6d032128a250b2ac594f9eab034e63b705c1627096b218fe0eb279eb10b4988b184849bd8fbbeaf735dcd67ffca0c071ccb38b23cb48db5fe9d35652d
7
+ data.tar.gz: 3a33790b6c7760d180ff303b0234cef343b2f1efb4aefa032ef1121e17d3439b5a14080536fab6005b360f32b00c7ef746c3cdeb571f68658d931fe827d7a0a1
data/Gemfile CHANGED
@@ -69,7 +69,7 @@ gem 'rmagick', '5.3.0'
69
69
  gem 'rqrcode', '2.2.0'
70
70
  gem 'rspec', '3.12.0'
71
71
  gem 'rtesseract', '3.1.2'
72
- gem 'rubocop', '1.56.1'
72
+ gem 'rubocop', '1.56.2'
73
73
  gem 'rubocop-rake', '0.6.0'
74
74
  gem 'rubocop-rspec', '2.23.2'
75
75
  gem 'ruby-audio', '1.6.1'
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.901]:001 >>> PWN.help
40
+ pwn[v0.4.903]: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.901]:001 >>> PWN.help
55
+ pwn[v0.4.903]:001 >>> PWN.help
56
56
  ```
57
57
 
58
58
 
@@ -32,8 +32,8 @@ module PWN
32
32
  tls_min_version = OpenSSL::SSL::TLS1_VERSION if tls_min_version.nil?
33
33
  # tls_version Values can be Displayed via:
34
34
  # OpenSSL::SSL::SSLContext::METHODS
35
- tls_version = 'TLSv1' if tls_version.nil?
36
- tls_version = nil if tls_min_version == OpenSSL::SSL::TLS1_3_VERSION
35
+ # tls_version = 'TLSv1' if tls_version.nil?
36
+ # tls_version = nil if tls_min_version == OpenSSL::SSL::TLS1_3_VERSION
37
37
  cipher_tls = 'TLSv1.0' if cipher_tls.nil?
38
38
 
39
39
  case protocol
@@ -42,8 +42,8 @@ module PWN
42
42
  sock = TCPSocket.open(target, port)
43
43
  tls_context = OpenSSL::SSL::SSLContext.new
44
44
  tls_context.set_params(verify_mode: OpenSSL::SSL::VERIFY_NONE)
45
- tls_context.verify_hostname = false
46
- tls_context.ssl_version = tls_version
45
+ # tls_context.verify_hostname = false
46
+ # tls_context.ssl_version = tls_version
47
47
  tls_context.min_version = tls_min_version
48
48
  tls_context.ciphers = tls_context.ciphers.select { |c| c[1] == cipher_tls }
49
49
  tls_sock = OpenSSL::SSL::SSLSocket.new(sock, tls_context)
@@ -63,12 +63,12 @@ module PWN
63
63
  case tls_min_version
64
64
  when OpenSSL::SSL::TLS1_VERSION
65
65
  puts 'Attempting OpenSSL::SSL::TLS1_1_VERSION...'
66
- tls_version = 'TLSv1_1'
66
+ # tls_version = 'TLSv1_1'
67
67
  cipher_tls = 'TLSv1.0'
68
68
  tls_min_version = OpenSSL::SSL::TLS1_1_VERSION
69
69
  when OpenSSL::SSL::TLS1_1_VERSION
70
70
  puts 'Attempting OpenSSL::SSL::TLS1_2_VERSION...'
71
- tls_version = 'TLSv1_2'
71
+ # tls_version = 'TLSv1_2'
72
72
  cipher_tls = 'TLSv1.2'
73
73
  tls_min_version = OpenSSL::SSL::TLS1_2_VERSION
74
74
  when OpenSSL::SSL::TLS1_2_VERSION
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.901'
4
+ VERSION = '0.4.903'
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.901
4
+ version: 0.4.903
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.
@@ -814,14 +814,14 @@ dependencies:
814
814
  requirements:
815
815
  - - '='
816
816
  - !ruby/object:Gem::Version
817
- version: 1.56.1
817
+ version: 1.56.2
818
818
  type: :runtime
819
819
  prerelease: false
820
820
  version_requirements: !ruby/object:Gem::Requirement
821
821
  requirements:
822
822
  - - '='
823
823
  - !ruby/object:Gem::Version
824
- version: 1.56.1
824
+ version: 1.56.2
825
825
  - !ruby/object:Gem::Dependency
826
826
  name: rubocop-rake
827
827
  requirement: !ruby/object:Gem::Requirement