pwn 0.4.885 → 0.4.886

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 127f33ce1256a0c95de9483faec90b872a0ec1d69077fe5a47e7f1abb1f2da37
4
- data.tar.gz: 0a6319bf2bf3695e7654e42646b51f7a62156abaa148b4ad510ea2d7228eb368
3
+ metadata.gz: 5a85fbb128c8c5ba0dafc425373d33839998f866ccc0982b9d0f596ce7ee2411
4
+ data.tar.gz: ab8a86d182d5cc69e7509596bd38a0515b2c8c0b532ca61b59675558fb5df554
5
5
  SHA512:
6
- metadata.gz: 1a6d75b1317f4d9bf7a7523886aee05788b03e3c7120722690299f4284517d4d55c98fe6c7817b7d1515b5e49adc858d38741b69feba7793983f04edffe5a45f
7
- data.tar.gz: 12882f0022b60571cf08742818e54c3af7052c01419a8bb33b4bc833c6d7b33a277d9ea491292ac59d6283cb681b78e99bd4c5fb7096c712f44e456035ef30b6
6
+ metadata.gz: d3ef35410455de329014f16c01c6498ce9e7540a1edbf2028b3c181297e47084a4439e7e6344892ce33685868599cd44f3ffb21008bfcd83695f6b1931067a95
7
+ data.tar.gz: 0e3155be591274c629fc0dd73a45d94b830261af83bf4a074d05c4579d0eea110815f5efb6ef5adf439c16e171da51f7287f44e032f29ec29b719c8a4c163a9d
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.885]:001 >>> PWN.help
40
+ pwn[v0.4.886]: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.885]:001 >>> PWN.help
55
+ pwn[v0.4.886]:001 >>> PWN.help
56
56
  ```
57
57
 
58
58
 
data/bin/pwn_www_checkip CHANGED
@@ -47,7 +47,8 @@ begin
47
47
  ).to_s.chomp
48
48
  end
49
49
 
50
- puts "PUBLIC IP: #{public_ip_address}"
50
+ puts "PUBLIC IP: #{public_ip_address}" unless ipinfo
51
+
51
52
  if ipinfo
52
53
  ip_info_obj = PWN::Plugins::IPInfo.get(
53
54
  target: public_ip_address,
@@ -81,7 +81,11 @@ module PWN
81
81
  )
82
82
 
83
83
  ip_resp[:tls_avail] = tls_port_avail
84
- ip_resp[:cert_obj] = false
84
+ ip_resp[:cert_subject] = false
85
+ ip_resp[:cert_issuer] = false
86
+ ip_resp[:cert_serial] = false
87
+ ip_resp[:not_before] = false
88
+ ip_resp[:not_after] = false
85
89
  next unless tls_port_avail
86
90
 
87
91
  cert_obj = PWN::Plugins::Sock.get_tls_cert(
@@ -96,7 +100,6 @@ module PWN
96
100
  ip_resp[:cert_serial] = cert_obj.serial.to_s
97
101
  ip_resp[:not_before] = cert_obj.not_before.to_s
98
102
  ip_resp[:not_after] = cert_obj.not_after.to_s
99
- ip_resp[:cert_obj] = cert_obj
100
103
  end
101
104
  end
102
105
 
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.885'
4
+ VERSION = '0.4.886'
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.885
4
+ version: 0.4.886
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.