miteru 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/miteru/crawler.rb +4 -1
- data/lib/miteru/version.rb +1 -1
- data/lib/miteru/website.rb +6 -0
- 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: cc8a49cc98035612ecb5f3a085b885175ca8c69d426f6a9b059a4db7b79ab9fa
|
4
|
+
data.tar.gz: 268d4db3a53946e56fdaa796a6664928fe49ef8a80c9337bd7cdc0221fb0c684
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9a7685eb8b46fb553472a10d3fa4efe8252be5aef403f69ad7e92d37225352df528070039763f53389182405f5e19df72a24ffb17e63bf336c3af9d378e244c
|
7
|
+
data.tar.gz: e7e4959a8d6db5ca19b8fa670117b3e1206d8ebbe0ec185c5c18db0be74175a07f0dfb9207b8c631d43f67037099b5e12151ba2f91df9a35ef8dfbdc110342e6
|
data/lib/miteru/crawler.rb
CHANGED
@@ -61,7 +61,10 @@ module Miteru
|
|
61
61
|
suspicious_urls.each do |url|
|
62
62
|
pool.process do
|
63
63
|
website = Website.new(url)
|
64
|
-
|
64
|
+
unless website.has_kit?
|
65
|
+
puts "#{website.url}: it doesn't contain a phishing kit." if verbose
|
66
|
+
website.unbuild
|
67
|
+
end
|
65
68
|
websites << website
|
66
69
|
end
|
67
70
|
end
|
data/lib/miteru/version.rb
CHANGED
data/lib/miteru/website.rb
CHANGED