osakana 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +52 -0
- data/.rspec +3 -0
- data/.travis.yml +10 -0
- data/Gemfile +6 -0
- data/LICENSE +21 -0
- data/README.md +59 -0
- data/Rakefile +8 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/exe/osakana +8 -0
- data/lib/osakana/censys.rb +30 -0
- data/lib/osakana/cli.rb +25 -0
- data/lib/osakana/dnpedia.rb +67 -0
- data/lib/osakana/monitor.rb +17 -0
- data/lib/osakana/notifier.rb +35 -0
- data/lib/osakana/version.rb +5 -0
- data/lib/osakana/website.rb +66 -0
- data/lib/osakana.rb +17 -0
- data/osakana.gemspec +39 -0
- data/screenshots/censys.png +0 -0
- data/screenshots/dnpedia.png +0 -0
- metadata +219 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: e5ea11ceb6e38c5052b03e962c782cfb605a3dde60589bcc1c3b6b1ff733735d
|
4
|
+
data.tar.gz: 41a688d31fbca126797691766647bd9788bfc749bdabb65488f8b69b23a77623
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 12bf56dd596c3dab85c8d03b0cc10a06b2d38ee4b72bfbf68e13180d9e3d197eede62f96e48a7e06423f884c64ff7ff9fecd1a95c2b4e7f196e952f50b5b938a
|
7
|
+
data.tar.gz: 6d369800ad13c6eb83f133ddf2fc1b0f72e9ac794913de6997fe4ae57b5bd65212455e20254dd0b165aff6e00bbd72683eae535a057bceb2235a419e2a8090af
|
data/.gitignore
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
*.gem
|
2
|
+
*.rbc
|
3
|
+
/.config
|
4
|
+
/coverage/
|
5
|
+
/InstalledFiles
|
6
|
+
/pkg/
|
7
|
+
/spec/reports/
|
8
|
+
/spec/examples.txt
|
9
|
+
/test/tmp/
|
10
|
+
/test/version_tmp/
|
11
|
+
/tmp/
|
12
|
+
|
13
|
+
# Used by dotenv library to load environment variables.
|
14
|
+
.env
|
15
|
+
|
16
|
+
## Specific to RubyMotion:
|
17
|
+
.dat*
|
18
|
+
.repl_history
|
19
|
+
build/
|
20
|
+
*.bridgesupport
|
21
|
+
build-iPhoneOS/
|
22
|
+
build-iPhoneSimulator/
|
23
|
+
|
24
|
+
## Specific to RubyMotion (use of CocoaPods):
|
25
|
+
#
|
26
|
+
# We recommend against adding the Pods directory to your .gitignore. However
|
27
|
+
# you should judge for yourself, the pros and cons are mentioned at:
|
28
|
+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
|
29
|
+
#
|
30
|
+
# vendor/Pods/
|
31
|
+
|
32
|
+
## Documentation cache and generated files:
|
33
|
+
/.yardoc/
|
34
|
+
/_yardoc/
|
35
|
+
/doc/
|
36
|
+
/rdoc/
|
37
|
+
|
38
|
+
## Environment normalization:
|
39
|
+
/.bundle/
|
40
|
+
/vendor/bundle
|
41
|
+
/lib/bundler/man/
|
42
|
+
|
43
|
+
# for a library or gem, you might want to ignore these files since the code is
|
44
|
+
# intended to run in multiple environments; otherwise, check them in:
|
45
|
+
Gemfile.lock
|
46
|
+
.ruby-version
|
47
|
+
.ruby-gemset
|
48
|
+
|
49
|
+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
50
|
+
.rvmrc
|
51
|
+
|
52
|
+
.rspec_status
|
data/.rspec
ADDED
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2019 Manabu Niseki
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,59 @@
|
|
1
|
+
# Osakana
|
2
|
+
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/osakana.svg)](https://badge.fury.io/rb/osakana)
|
4
|
+
[![Build Status](https://travis-ci.org/ninoseki/osakana.svg?branch=master)](https://travis-ci.org/ninoseki/osakana)
|
5
|
+
[![Coverage Status](https://coveralls.io/repos/github/ninoseki/osakana/badge.svg?branch=master)](https://coveralls.io/github/ninoseki/osakana?branch=master)
|
6
|
+
|
7
|
+
Osakana is a Swiss army knife tool for my phishing research.
|
8
|
+
|
9
|
+
## Features
|
10
|
+
|
11
|
+
- Censys lookup
|
12
|
+
- Check newly registered domains on DNPedia by keyword
|
13
|
+
- Slack integration
|
14
|
+
|
15
|
+
## Prerequisites
|
16
|
+
|
17
|
+
- Ruby (> 2.5)
|
18
|
+
|
19
|
+
## Install
|
20
|
+
|
21
|
+
```shell
|
22
|
+
gem install osakana
|
23
|
+
```
|
24
|
+
|
25
|
+
## Usage
|
26
|
+
|
27
|
+
```shell
|
28
|
+
$ osakana
|
29
|
+
Commands:
|
30
|
+
osakana censys_lookup [QUERY] # lookup on Censys by a given query
|
31
|
+
osakana check_newly_domains [KEYWORD] # check newly registered domains on DNPedia by a given keyword
|
32
|
+
osakana help [COMMAND] # Describe available commands or one specific command
|
33
|
+
```
|
34
|
+
|
35
|
+
## Configuration
|
36
|
+
|
37
|
+
### Censys
|
38
|
+
|
39
|
+
Please set the following environmental variables for enabling Censys lookup.
|
40
|
+
|
41
|
+
- CENSYS_ID: your Censys API ID
|
42
|
+
- CENSYS_SECRET: your Censys secret key
|
43
|
+
|
44
|
+
### Slack
|
45
|
+
|
46
|
+
Please set the following environmental variables for enabling Slack integration.
|
47
|
+
|
48
|
+
- SLACK_WEBHOOK_URL: A Slack webhook URL.
|
49
|
+
- SLACK_CHANNEL_NAME: A Slask channel name which will be notified.
|
50
|
+
|
51
|
+
## Screenshots
|
52
|
+
|
53
|
+
### `osakana censys_lookup`
|
54
|
+
|
55
|
+
![censys](./screenshots/censys.png)
|
56
|
+
|
57
|
+
### `osakana check_newly_domains`
|
58
|
+
|
59
|
+
![dnpedia](./screenshots/dnpedia.png)
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
require "bundler/setup"
|
5
|
+
require "osakana"
|
6
|
+
|
7
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
8
|
+
# with your gem easier. You can also use a different console, if you like.
|
9
|
+
|
10
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
11
|
+
# require "pry"
|
12
|
+
# Pry.start
|
13
|
+
|
14
|
+
require "irb"
|
15
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
data/exe/osakana
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "censys"
|
4
|
+
|
5
|
+
module Osakana
|
6
|
+
class Censys
|
7
|
+
def initialize
|
8
|
+
@censys = ::Censys::API.new
|
9
|
+
end
|
10
|
+
|
11
|
+
def lookup(query)
|
12
|
+
res = @censys.ipv4.search(query: query)
|
13
|
+
|
14
|
+
websites = []
|
15
|
+
res.each_page do |page|
|
16
|
+
page.each do |result|
|
17
|
+
ipv4 = result.ip
|
18
|
+
view = @censys.ipv4[ipv4]
|
19
|
+
updated_at = view.dig("updated_at")
|
20
|
+
websites << Website.new(ipv4: result.to_s, date: updated_at)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
websites
|
24
|
+
end
|
25
|
+
|
26
|
+
def self.lookup(query)
|
27
|
+
new.lookup(query)
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
data/lib/osakana/cli.rb
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "thor"
|
4
|
+
|
5
|
+
module Osakana
|
6
|
+
class CLI < Thor
|
7
|
+
desc "check_newly_domains [KEYWORD]", "check newly registered domains on DNPedia by a given keyword"
|
8
|
+
def check_newly_domains(keyword)
|
9
|
+
Monitor.check_newly_domains(keyword)
|
10
|
+
end
|
11
|
+
|
12
|
+
desc "censys_lookup [QUERY]", "lookup on Censys by a given query"
|
13
|
+
def censys_lookup(query)
|
14
|
+
Monitor.censys_lookup(query)
|
15
|
+
end
|
16
|
+
|
17
|
+
no_commands do
|
18
|
+
def with_error_handling
|
19
|
+
yield
|
20
|
+
rescue StandardError => e
|
21
|
+
puts "Warning: #{e}"
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,67 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "http"
|
4
|
+
require "json"
|
5
|
+
require "zlib"
|
6
|
+
|
7
|
+
module Osakana
|
8
|
+
class DNPedia
|
9
|
+
BASE_URL = "https://dnpedia.com/tlds/ajax.php"
|
10
|
+
|
11
|
+
DEFAULT_HEADERS = {
|
12
|
+
"Accept-Encoding" => "gzip",
|
13
|
+
"Referer" => "https://dnpedia.com/tlds/search.php",
|
14
|
+
"X-Requested-With" => "XMLHttpRequest",
|
15
|
+
}.freeze
|
16
|
+
|
17
|
+
def payload(keyword)
|
18
|
+
{
|
19
|
+
cmd: "search",
|
20
|
+
columns: "id,name,zoneid,length,idn,thedate,ipv4,ipasname,ipasnumber,ipchecked,",
|
21
|
+
ecf: "name",
|
22
|
+
ecv: "~%#{keyword}%",
|
23
|
+
days: "1",
|
24
|
+
mode: "added",
|
25
|
+
_search: "false",
|
26
|
+
nd: "1547680980461",
|
27
|
+
rows: "500",
|
28
|
+
page: "1",
|
29
|
+
sidx: "length",
|
30
|
+
sord: "asc"
|
31
|
+
}
|
32
|
+
end
|
33
|
+
|
34
|
+
def search(keyword)
|
35
|
+
res = HTTP.headers(DEFAULT_HEADERS).get(BASE_URL, params: payload(keyword))
|
36
|
+
return {} unless res.code == 200
|
37
|
+
|
38
|
+
sio = StringIO.new(res.body)
|
39
|
+
gz = Zlib::GzipReader.new(sio)
|
40
|
+
body = gz.read
|
41
|
+
|
42
|
+
parse body
|
43
|
+
end
|
44
|
+
|
45
|
+
def parse(body)
|
46
|
+
begin
|
47
|
+
json = JSON.parse(body)
|
48
|
+
rescue StandardError => _
|
49
|
+
return { domains: [] }
|
50
|
+
end
|
51
|
+
|
52
|
+
rows = json["rows"]
|
53
|
+
rows.map do |row|
|
54
|
+
name = row.dig("name")
|
55
|
+
zoneid = row.dig("zoneid")
|
56
|
+
domain = [name, zoneid].join(".")
|
57
|
+
|
58
|
+
date = row["thedate"]
|
59
|
+
Website.new(domain: domain, date: date)
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
def self.search(keyword)
|
64
|
+
new.search(keyword)
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Osakana
|
4
|
+
class Monitor
|
5
|
+
def self.check_newly_domains(keyword)
|
6
|
+
websites = DNPedia.search(keyword)
|
7
|
+
attachements = websites.map(&:to_attachement)
|
8
|
+
Notifier.notify("DNPedia keyword: #{keyword}", attachements)
|
9
|
+
end
|
10
|
+
|
11
|
+
def self.censys_lookup(query)
|
12
|
+
websites = Censys.lookup(query)
|
13
|
+
attachements = websites.map(&:to_attachement)
|
14
|
+
Notifier.notify("Censys query: #{query}", attachements)
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "slack/incoming/webhooks"
|
4
|
+
|
5
|
+
module Osakana
|
6
|
+
class Notifier
|
7
|
+
def notifiy(title, attachments = [])
|
8
|
+
if slack_webhook_url?
|
9
|
+
slack = Slack::Incoming::Webhooks.new(slack_webhook_url, channel: slack_channel)
|
10
|
+
slack.post title, attachments: attachments
|
11
|
+
else
|
12
|
+
puts title
|
13
|
+
attachments.each do |attachment|
|
14
|
+
puts attachment.dig(:title)
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
def slack_webhook_url
|
20
|
+
ENV.fetch "SLACK_WEBHOOK_URL"
|
21
|
+
end
|
22
|
+
|
23
|
+
def slack_channel
|
24
|
+
ENV.fetch "SLACK_CHANNEL", "#general"
|
25
|
+
end
|
26
|
+
|
27
|
+
def slack_webhook_url?
|
28
|
+
ENV.key? "SLACK_WEBHOOK_URL"
|
29
|
+
end
|
30
|
+
|
31
|
+
def self.notify(title, text)
|
32
|
+
new.notifiy(title, text)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,66 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "date"
|
4
|
+
require "robtex"
|
5
|
+
|
6
|
+
module Osakana
|
7
|
+
class Website
|
8
|
+
attr_reader :primal_type, :date
|
9
|
+
|
10
|
+
def initialize(ipv4: nil, domain: nil, date: nil)
|
11
|
+
raise ArgumentError, "Please provide ipv4 or domain for the initialization." if ipv4.nil? && domain.nil?
|
12
|
+
|
13
|
+
@primal_type = domain ? "domain" : "ipv4"
|
14
|
+
|
15
|
+
@ipv4 = ipv4
|
16
|
+
@domain = domain
|
17
|
+
@date = date ? DateTime.parse(date).to_date.to_s : "N/A"
|
18
|
+
|
19
|
+
@robtex = Robtex::API.new
|
20
|
+
end
|
21
|
+
|
22
|
+
def domain
|
23
|
+
@domain ||= [].tap do |out|
|
24
|
+
res = @robtex.ip(ipv4)
|
25
|
+
active = res.dig("act")
|
26
|
+
next unless active
|
27
|
+
|
28
|
+
out << active.first.dig("o")
|
29
|
+
end.first || "N/A"
|
30
|
+
end
|
31
|
+
|
32
|
+
def ipv4
|
33
|
+
@ipv4 ||= [].tap do |out|
|
34
|
+
results = @robtex.fpdns(domain)
|
35
|
+
result = results.find do |res|
|
36
|
+
res.dig("rrtype") == "A"
|
37
|
+
end
|
38
|
+
next unless result
|
39
|
+
|
40
|
+
out << result.dig("rrdata")
|
41
|
+
end.first || "N/A"
|
42
|
+
end
|
43
|
+
|
44
|
+
def summary
|
45
|
+
@summary ||= "#{domain}, #{ipv4} (date: #{date})"
|
46
|
+
end
|
47
|
+
|
48
|
+
def vt_link
|
49
|
+
primal_type == "domain" ? "https://www.virustotal.com/#/domain/#{domain}" : "https://www.virustotal.com/#/ip-address/#{ipv4}"
|
50
|
+
end
|
51
|
+
|
52
|
+
def urlscan_link
|
53
|
+
primal_type == "domain" ? "https://urlscan.io/domain/#{domain}" : "https://urlscan.io/ip/#{ipv4}"
|
54
|
+
end
|
55
|
+
|
56
|
+
def to_attachement
|
57
|
+
{
|
58
|
+
fallback: "urlscan.io link",
|
59
|
+
title: summary,
|
60
|
+
title_link: urlscan_link,
|
61
|
+
footer: "urlscan.io",
|
62
|
+
footer_icon: "http://www.google.com/s2/favicons?domain=urlscan.io"
|
63
|
+
}
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
data/lib/osakana.rb
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "osakana/version"
|
4
|
+
|
5
|
+
require "osakana/website"
|
6
|
+
|
7
|
+
require "osakana/censys"
|
8
|
+
require "osakana/dnpedia"
|
9
|
+
|
10
|
+
require "osakana/notifier"
|
11
|
+
require "osakana/monitor"
|
12
|
+
|
13
|
+
require "osakana/cli"
|
14
|
+
|
15
|
+
module Osakana
|
16
|
+
class Error < StandardError; end
|
17
|
+
end
|
data/osakana.gemspec
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
lib = File.expand_path('lib', __dir__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require "osakana/version"
|
6
|
+
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = "osakana"
|
9
|
+
spec.version = Osakana::VERSION
|
10
|
+
spec.authors = ["Manabu Niseki"]
|
11
|
+
spec.email = ["manabu.niseki@gmail.com"]
|
12
|
+
|
13
|
+
spec.summary = 'A Swiss army knife for the phishing research.'
|
14
|
+
spec.description = 'A Swiss army knife for the phishing research.'
|
15
|
+
spec.homepage = "https://github.com/ninoseki/osakana"
|
16
|
+
spec.license = "MIT"
|
17
|
+
|
18
|
+
# Specify which files should be added to the gem when it is released.
|
19
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
20
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
21
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
22
|
+
end
|
23
|
+
spec.bindir = "exe"
|
24
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
25
|
+
spec.require_paths = ["lib"]
|
26
|
+
|
27
|
+
spec.add_development_dependency "bundler", "~> 2.0"
|
28
|
+
spec.add_development_dependency "coveralls", "~> 0.8"
|
29
|
+
spec.add_development_dependency "rake", "~> 12.3"
|
30
|
+
spec.add_development_dependency "rspec", "~> 3.8"
|
31
|
+
spec.add_development_dependency "vcr", "~> 4.0"
|
32
|
+
spec.add_development_dependency "webmock", "~> 3.5"
|
33
|
+
|
34
|
+
spec.add_dependency "censu", "~> 0.2"
|
35
|
+
spec.add_dependency "http", "~> 4.0"
|
36
|
+
spec.add_dependency "robtex", "~> 0.1"
|
37
|
+
spec.add_dependency "slack-incoming-webhooks", "~> 0.2"
|
38
|
+
spec.add_dependency "thor", "~> 0.19"
|
39
|
+
end
|
Binary file
|
Binary file
|
metadata
ADDED
@@ -0,0 +1,219 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: osakana
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Manabu Niseki
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-01-22 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2.0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: coveralls
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0.8'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0.8'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '12.3'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '12.3'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.8'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.8'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: vcr
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '4.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '4.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: webmock
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '3.5'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '3.5'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: censu
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0.2'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0.2'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: http
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '4.0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '4.0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: robtex
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0.1'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0.1'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: slack-incoming-webhooks
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0.2'
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0.2'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: thor
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0.19'
|
160
|
+
type: :runtime
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0.19'
|
167
|
+
description: A Swiss army knife for the phishing research.
|
168
|
+
email:
|
169
|
+
- manabu.niseki@gmail.com
|
170
|
+
executables:
|
171
|
+
- osakana
|
172
|
+
extensions: []
|
173
|
+
extra_rdoc_files: []
|
174
|
+
files:
|
175
|
+
- ".gitignore"
|
176
|
+
- ".rspec"
|
177
|
+
- ".travis.yml"
|
178
|
+
- Gemfile
|
179
|
+
- LICENSE
|
180
|
+
- README.md
|
181
|
+
- Rakefile
|
182
|
+
- bin/console
|
183
|
+
- bin/setup
|
184
|
+
- exe/osakana
|
185
|
+
- lib/osakana.rb
|
186
|
+
- lib/osakana/censys.rb
|
187
|
+
- lib/osakana/cli.rb
|
188
|
+
- lib/osakana/dnpedia.rb
|
189
|
+
- lib/osakana/monitor.rb
|
190
|
+
- lib/osakana/notifier.rb
|
191
|
+
- lib/osakana/version.rb
|
192
|
+
- lib/osakana/website.rb
|
193
|
+
- osakana.gemspec
|
194
|
+
- screenshots/censys.png
|
195
|
+
- screenshots/dnpedia.png
|
196
|
+
homepage: https://github.com/ninoseki/osakana
|
197
|
+
licenses:
|
198
|
+
- MIT
|
199
|
+
metadata: {}
|
200
|
+
post_install_message:
|
201
|
+
rdoc_options: []
|
202
|
+
require_paths:
|
203
|
+
- lib
|
204
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - ">="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
210
|
+
requirements:
|
211
|
+
- - ">="
|
212
|
+
- !ruby/object:Gem::Version
|
213
|
+
version: '0'
|
214
|
+
requirements: []
|
215
|
+
rubygems_version: 3.0.2
|
216
|
+
signing_key:
|
217
|
+
specification_version: 4
|
218
|
+
summary: A Swiss army knife for the phishing research.
|
219
|
+
test_files: []
|