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 +4 -4
- data/README.md +2 -2
- data/bin/pwn_www_checkip +2 -1
- data/lib/pwn/plugins/ip_info.rb +5 -2
- data/lib/pwn/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a85fbb128c8c5ba0dafc425373d33839998f866ccc0982b9d0f596ce7ee2411
|
4
|
+
data.tar.gz: ab8a86d182d5cc69e7509596bd38a0515b2c8c0b532ca61b59675558fb5df554
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
55
|
+
pwn[v0.4.886]:001 >>> PWN.help
|
56
56
|
```
|
57
57
|
|
58
58
|
|
data/bin/pwn_www_checkip
CHANGED
data/lib/pwn/plugins/ip_info.rb
CHANGED
@@ -81,7 +81,11 @@ module PWN
|
|
81
81
|
)
|
82
82
|
|
83
83
|
ip_resp[:tls_avail] = tls_port_avail
|
84
|
-
ip_resp[:
|
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