ryo 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ryo/plugin/subdomain/dnsdumpster.rb +2 -1
- data/lib/ryo/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: 1861103b28b9cec19f8d6d92e211162895cb27b6253c36180fd04d34d3ebb6ba
|
4
|
+
data.tar.gz: d75a9b6a736320636e4aa894871840dc90b44150d4c59b31163a4164185d5568
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0956e2cd597ffda73d57b5b60d72591a24e0ccbdb07787793cb04affa443089e4b6b7e98c4b6627ed5952519aac76b6f2c9b2b68a409c6fd8ad34ad5d9a310b3'
|
7
|
+
data.tar.gz: 81ab3cb253cd9c221ff8daaef3669dee1702f8716f2b0e86db0a52c060ece50667ef960ebf2a987ebf7f374d75410b60b37a851352b24207287139a9af34a8b7
|
@@ -20,11 +20,12 @@ module Ryo
|
|
20
20
|
def parse
|
21
21
|
tables = doc.css("table.table")
|
22
22
|
return [] if tables.empty?
|
23
|
+
|
23
24
|
table = tables.last
|
24
25
|
table.css("tr").map do |row|
|
25
26
|
cols = row.css("td")
|
26
27
|
domain = cols.first.text.lines.first.chomp
|
27
|
-
ip = cols[1].
|
28
|
+
ip = cols[1].inner_text.chomp
|
28
29
|
{ domain: domain, ip: ip }
|
29
30
|
end
|
30
31
|
end
|
data/lib/ryo/version.rb
CHANGED