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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 166a1fddc570f084a95e186663f2e180834dcfa1066678991c4d6ea27f2f1af4
4
- data.tar.gz: bc44cf63a3d83664550920d04b2fa527b1c05cb92229a0f661cd0686ce2f2cb8
3
+ metadata.gz: cc8a49cc98035612ecb5f3a085b885175ca8c69d426f6a9b059a4db7b79ab9fa
4
+ data.tar.gz: 268d4db3a53946e56fdaa796a6664928fe49ef8a80c9337bd7cdc0221fb0c684
5
5
  SHA512:
6
- metadata.gz: 90e6bb04c2054742753eb92015443792afdd43002ccb16b9e96119d96627c0c4b34264382412e98b449f3474aeb95dfdebc51d6302c79b3071b17d82ceb4ac97
7
- data.tar.gz: 1c65f5dea8bab1c7a7abe44814d0f2703cab12b3e8e3049bb89635540f205d54e3b7396830af0404732706f186b336af2c573c116c54cbb546058a3123ec21cc
6
+ metadata.gz: c9a7685eb8b46fb553472a10d3fa4efe8252be5aef403f69ad7e92d37225352df528070039763f53389182405f5e19df72a24ffb17e63bf336c3af9d378e244c
7
+ data.tar.gz: e7e4959a8d6db5ca19b8fa670117b3e1206d8ebbe0ec185c5c18db0be74175a07f0dfb9207b8c631d43f67037099b5e12151ba2f91df9a35ef8dfbdc110342e6
@@ -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
- puts "#{website.url}: it doesn't contain a phishing kit." if verbose && !website.has_kit?
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Miteru
4
- VERSION = "0.6.0"
4
+ VERSION = "0.6.1"
5
5
  end
@@ -43,6 +43,12 @@ module Miteru
43
43
  doc
44
44
  end
45
45
 
46
+ def unbuild
47
+ @doc = nil
48
+ @response = nil
49
+ @zip_files = nil
50
+ end
51
+
46
52
  private
47
53
 
48
54
  def response
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: miteru
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manabu Niseki