wmap 2.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/CHANGELOG.md +141 -0
- data/LICENSE.txt +15 -0
- data/README.rdoc +98 -0
- data/TODO +13 -0
- data/bin/deprime +21 -0
- data/bin/distrust +38 -0
- data/bin/googleBot +23 -0
- data/bin/prime +21 -0
- data/bin/refresh +26 -0
- data/bin/run_tests +16 -0
- data/bin/spiderBot +26 -0
- data/bin/trust +38 -0
- data/bin/updateAll +57 -0
- data/bin/wadd +25 -0
- data/bin/wadds +26 -0
- data/bin/wcheck +28 -0
- data/bin/wdel +25 -0
- data/bin/wdump +21 -0
- data/bin/wmap +151 -0
- data/bin/wscan +32 -0
- data/data/cidrs +2 -0
- data/data/deactivated_sites +1 -0
- data/data/domains +2 -0
- data/data/hosts +1 -0
- data/data/prime_hosts +1 -0
- data/data/sites +2 -0
- data/data/sub_domains +2 -0
- data/demos/bruter.rb +27 -0
- data/demos/dns_brutes.rb +28 -0
- data/demos/filter_cidr.rb +18 -0
- data/demos/filter_crawls.rb +5 -0
- data/demos/filter_domain.rb +25 -0
- data/demos/filter_geoip.rb +26 -0
- data/demos/filter_known_services.rb +59 -0
- data/demos/filter_netinfo.rb +23 -0
- data/demos/filter_prime.rb +25 -0
- data/demos/filter_profiler.rb +3 -0
- data/demos/filter_redirection.rb +19 -0
- data/demos/filter_site.rb +40 -0
- data/demos/filter_siteip.rb +31 -0
- data/demos/filter_status.rb +17 -0
- data/demos/filter_timestamp.rb +23 -0
- data/demos/filter_url.rb +19 -0
- data/demos/new_fnd.rb +66 -0
- data/demos/nmap_parser.pl +138 -0
- data/demos/site_format.rb +18 -0
- data/demos/whois_domain.rb +78 -0
- data/dicts/GeoIP.dat +0 -0
- data/dicts/GeoIPASNum.dat +0 -0
- data/dicts/GeoLiteCity.dat +0 -0
- data/dicts/ccsld.txt +2646 -0
- data/dicts/cctld.txt +243 -0
- data/dicts/gtld.txt +25 -0
- data/dicts/hostnames-dict.big +1402 -0
- data/dicts/hostnames-dict.txt +101 -0
- data/lib/wmap/cidr_tracker.rb +327 -0
- data/lib/wmap/dns_bruter.rb +308 -0
- data/lib/wmap/domain_tracker/sub_domain.rb +142 -0
- data/lib/wmap/domain_tracker.rb +342 -0
- data/lib/wmap/geoip_tracker.rb +72 -0
- data/lib/wmap/google_search_scraper.rb +177 -0
- data/lib/wmap/host_tracker/primary_host.rb +130 -0
- data/lib/wmap/host_tracker.rb +550 -0
- data/lib/wmap/network_profiler.rb +144 -0
- data/lib/wmap/port_scanner.rb +208 -0
- data/lib/wmap/site_tracker/deactivated_site.rb +85 -0
- data/lib/wmap/site_tracker.rb +937 -0
- data/lib/wmap/url_checker.rb +314 -0
- data/lib/wmap/url_crawler.rb +381 -0
- data/lib/wmap/utils/domain_root.rb +184 -0
- data/lib/wmap/utils/logger.rb +53 -0
- data/lib/wmap/utils/url_magic.rb +343 -0
- data/lib/wmap/utils/utils.rb +333 -0
- data/lib/wmap/whois.rb +76 -0
- data/lib/wmap.rb +227 -0
- data/logs/wmap.log +17 -0
- data/ruby_whois_patches/base_cocca2.rb +149 -0
- data/ruby_whois_patches/kero.yachay.pe.rb +120 -0
- data/ruby_whois_patches/whois.PublicDomainRegistry.com.rb +124 -0
- data/ruby_whois_patches/whois.above.com.rb +61 -0
- data/ruby_whois_patches/whois.adamsnames.tc.rb +107 -0
- data/ruby_whois_patches/whois.aeda.net.ae.rb +105 -0
- data/ruby_whois_patches/whois.ai.rb +112 -0
- data/ruby_whois_patches/whois.arnes.si.rb +121 -0
- data/ruby_whois_patches/whois.ascio.com.rb +91 -0
- data/ruby_whois_patches/whois.cnnic.cn.rb +123 -0
- data/ruby_whois_patches/whois.corporatedomains.com.rb +67 -0
- data/ruby_whois_patches/whois.crsnic.net.rb +108 -0
- data/ruby_whois_patches/whois.denic.de.rb +174 -0
- data/ruby_whois_patches/whois.dk-hostmaster.dk.rb +120 -0
- data/ruby_whois_patches/whois.dns.be.rb +134 -0
- data/ruby_whois_patches/whois.dns.lu.rb +129 -0
- data/ruby_whois_patches/whois.dns.pl.rb +150 -0
- data/ruby_whois_patches/whois.dns.pt.rb +119 -0
- data/ruby_whois_patches/whois.domain.kg.rb +126 -0
- data/ruby_whois_patches/whois.domainregistry.my.rb +123 -0
- data/ruby_whois_patches/whois.domreg.lt.rb +110 -0
- data/ruby_whois_patches/whois.dot.tk.rb +140 -0
- data/ruby_whois_patches/whois.hkirc.hk.rb +121 -0
- data/ruby_whois_patches/whois.isnic.is.rb +130 -0
- data/ruby_whois_patches/whois.je.rb +119 -0
- data/ruby_whois_patches/whois.jprs.jp.rb +137 -0
- data/ruby_whois_patches/whois.kenic.or.ke.rb +140 -0
- data/ruby_whois_patches/whois.markmonitor.com.rb +118 -0
- data/ruby_whois_patches/whois.melbourneit.com.rb +58 -0
- data/ruby_whois_patches/whois.nic.as.rb +96 -0
- data/ruby_whois_patches/whois.nic.at.rb +109 -0
- data/ruby_whois_patches/whois.nic.ch.rb +141 -0
- data/ruby_whois_patches/whois.nic.cl.rb +117 -0
- data/ruby_whois_patches/whois.nic.ec.rb +157 -0
- data/ruby_whois_patches/whois.nic.im.rb +120 -0
- data/ruby_whois_patches/whois.nic.it.rb +170 -0
- data/ruby_whois_patches/whois.nic.lv.rb +116 -0
- data/ruby_whois_patches/whois.nic.ly.rb +127 -0
- data/ruby_whois_patches/whois.nic.mu.rb +27 -0
- data/ruby_whois_patches/whois.nic.mx.rb +123 -0
- data/ruby_whois_patches/whois.nic.net.sa.rb +111 -0
- data/ruby_whois_patches/whois.nic.or.kr.rb +101 -0
- data/ruby_whois_patches/whois.nic.tel.rb +129 -0
- data/ruby_whois_patches/whois.nic.tr.rb +133 -0
- data/ruby_whois_patches/whois.nic.us.rb +129 -0
- data/ruby_whois_patches/whois.nic.ve.rb +135 -0
- data/ruby_whois_patches/whois.norid.no.rb +127 -0
- data/ruby_whois_patches/whois.pandi.or.id.rb +118 -0
- data/ruby_whois_patches/whois.psi-usa.info.rb +63 -0
- data/ruby_whois_patches/whois.registro.br.rb +109 -0
- data/ruby_whois_patches/whois.registrygate.com.rb +55 -0
- data/ruby_whois_patches/whois.rrpproxy.net.rb +61 -0
- data/ruby_whois_patches/whois.sgnic.sg.rb +130 -0
- data/ruby_whois_patches/whois.srs.net.nz.rb +166 -0
- data/ruby_whois_patches/whois.tucows.com.rb +70 -0
- data/ruby_whois_patches/whois.twnic.net.tw.rb +133 -0
- data/settings/discovery_ports +24 -0
- data/settings/google_keywords.txt +9 -0
- data/settings/google_locator.txt +23 -0
- data/test/domain_tracker_test.rb +31 -0
- data/test/utils_test.rb +168 -0
- data/version.txt +13 -0
- data/wmap.gemspec +49 -0
- metadata +202 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
#--
|
|
2
|
+
# Wmap
|
|
3
|
+
#
|
|
4
|
+
# A pure Ruby library for the Internet web application discovery and tracking.
|
|
5
|
+
#
|
|
6
|
+
# Copyright (c) 2012-2015 Yang Li <yang.li@owasp.org>
|
|
7
|
+
#++
|
|
8
|
+
# Unit Test File for Wmap::DomainTracker class
|
|
9
|
+
|
|
10
|
+
require "minitest/autorun"
|
|
11
|
+
require "Wmap"
|
|
12
|
+
|
|
13
|
+
class DomainTrackerTest < MiniTest::Unit::TestCase
|
|
14
|
+
include Wmap::Utils
|
|
15
|
+
|
|
16
|
+
def test_domain_known_case_1?
|
|
17
|
+
assert_equal false, Wmap::DomainTracker.new.domain_known?("yahoo.com")
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
def test_domain_known_case_2?
|
|
21
|
+
assert_equal true, Wmap::DomainTracker.new.domain_known?("YourDomain.co.uk")
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
def test_domain_known_case_3?
|
|
25
|
+
assert_equal false, Wmap::DomainTracker::SubDomain.new.domain_known?("mail.yahoo.com")
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
def test_domain_known_case_4?
|
|
29
|
+
assert_equal true, Wmap::DomainTracker::SubDomain.new.domain_known?("YourHost.YourDomain.co.uk")
|
|
30
|
+
end
|
|
31
|
+
end
|
data/test/utils_test.rb
ADDED
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
#--
|
|
2
|
+
# Wmap
|
|
3
|
+
#
|
|
4
|
+
# A pure Ruby library for the Internet web application discovery and tracking.
|
|
5
|
+
#
|
|
6
|
+
# Copyright (c) 2012-2015 Yang Li <yang.li@owasp.org>
|
|
7
|
+
#++
|
|
8
|
+
# Unit Test File for Wmap::Utils module
|
|
9
|
+
|
|
10
|
+
require "minitest/autorun"
|
|
11
|
+
require "Wmap"
|
|
12
|
+
|
|
13
|
+
class UtilsTest < MiniTest::Unit::TestCase
|
|
14
|
+
include Wmap::Utils
|
|
15
|
+
|
|
16
|
+
def test_sld_domain_conversion
|
|
17
|
+
assert_equal "yahoo.com", get_domain_root("yahoo.com")
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
def test_host_2_sld_domain_coversion
|
|
21
|
+
assert_equal "yahoo.com", get_domain_root("www.yahoo.com")
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
def test_host_2_cclld_domain_coversion
|
|
25
|
+
assert_equal "yahoo.co.uk", get_domain_root("www.yahoo.co.uk")
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
def test_is_domain_root_case_1?
|
|
29
|
+
assert_equal false, is_domain_root?("www.yahoo.co.uk")
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
def test_is_domain_root_case_2?
|
|
33
|
+
assert_equal true, is_domain_root?("yahoo.co.uk")
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
def test_get_sub_domain
|
|
37
|
+
assert_equal "mail.yahoo.co.uk", get_sub_domain("www.mail.yahoo.co.uk")
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
def test_is_url_case_1?
|
|
41
|
+
assert_equal true, is_url?("http://www.mail.yahoo.co.uk/")
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
def test_is_url_case_2?
|
|
45
|
+
assert_equal true, is_url?("https://www.mail.yahoo.co.uk/")
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
def test_is_url_case_3?
|
|
49
|
+
assert_equal false, is_url?("http://www.mail.yahoo.uii/")
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
def test_is_url_case_4?
|
|
53
|
+
assert_equal false, is_url?("http:\\www.mail.yahoo.co.uk")
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
def test_is_ssl?
|
|
57
|
+
assert_equal false, is_ssl?("http://www.mail.yahoo.co.uk/")
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
def test_is_site?
|
|
61
|
+
assert_equal false, is_site?("https://login.yahoo.com/?.src=ym&.intl=us&.lang=en-US&.done=https%3a//mail.yahoo.com")
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
def test_url_2_host
|
|
65
|
+
assert_equal "login.yahoo.com", url_2_host("https://login.yahoo.com/?.src=ym&.intl=us&.lang=en-US&.done=https%3a//mail.yahoo.com")
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
def test_url_2_site_case_1
|
|
69
|
+
assert_equal "https://login.yahoo.com/", url_2_site("https://login.yahoo.com/?.src=ym&.intl=us&.lang=en-US&.done=https%3a//mail.yahoo.com")
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
def test_url_2_site_case_2
|
|
73
|
+
assert_equal "https://login.yahoo.com/", url_2_site("https://login.yahoo.com?.src=ym&.intl=us&.lang=en-US&.done=https%3a//mail.yahoo.com")
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
def test_url_2_site_case_3
|
|
77
|
+
assert_equal "https://login.yahoo.com/", url_2_site("https://login.yahoo.com#.src=ym&.intl=us&.lang=en-US&.done=https%3a//mail.yahoo.com")
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
def test_url_2_path
|
|
81
|
+
assert_equal "/?.src=ym&.intl=us&.lang=en-US&.done=https%3a//mail.yahoo.com", url_2_path("https://login.yahoo.com/?.src=ym&.intl=us&.lang=en-US&.done=https%3a//mail.yahoo.com")
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
def test_urls_on_same_domain?
|
|
85
|
+
assert_equal true, urls_on_same_domain?("https://login.yahoo.com/?.src=ym&.intl=us&.lang=en-US&.done=https%3a//mail.yahoo.com", "https://us-mg4.mail.yahoo.com/neo/launch?.rand=8hjd08hc6t1lq")
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
def test_host_2_url_case_1
|
|
89
|
+
assert_equal "https://mail.yahoo.com/", host_2_url("mail.yahoo.com",443)
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
def test_host_2_url_case_2
|
|
93
|
+
assert_equal "http://mail.yahoo.com/", host_2_url("mail.yahoo.com")
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
def test_make_absolute
|
|
97
|
+
assert_equal "http://games.yahoo.com/game/the-magic-snowman-flash.html", make_absolute("http://games.yahoo.com/","game/the-magic-snowman-flash.html")
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
def test_create_absolute_url_from_base
|
|
101
|
+
assert_equal "http://images.search.yahoo.com/search/images?p=raiders", create_absolute_url_from_base("http://images.search.yahoo.com/images","/search/images?p=raiders")
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
def test_create_absolute_url_from_context
|
|
105
|
+
assert_equal "http://images.search.yahoo.com/images/search/images?p=raiders", create_absolute_url_from_context("http://images.search.yahoo.com/images/logo.png","/search/images?p=raiders")
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
def test_normalize_url_case_1
|
|
109
|
+
assert_equal "http://images.search.yahoo.com/images/search/images?p=raiders", normalize_url("http://images.search.yahoo.com/./images/search/images?p=raiders")
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
def test_normalize_url_case_2
|
|
113
|
+
assert_equal "http://images.search.yahoo.com/images/search/images?p=raiders", normalize_url("http://images.search.yahoo.com/../images/../search/images?p=raiders")
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
def test_normalize_url_case_3
|
|
117
|
+
assert_equal "http://images.search.yahoo.com/images/search/images?p=raiders", normalize_url("http://images.search.yahoo.com./../images/../search/images?p=raiders")
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
def test_is_ip_case_1?
|
|
121
|
+
assert_equal false, is_ip?("256.2.3.1")
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
def test_is_ip_case_2?
|
|
125
|
+
assert_equal false, is_ip?("25.2.3.1.22")
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
def test_is_ip_case_3?
|
|
129
|
+
assert_equal true, is_ip?("196.168.230.1")
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
def test_is_fqdn_case_1?
|
|
133
|
+
assert_equal true, is_fqdn?("images.search.yahoo.com")
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
def test_is_fqdn_case_2?
|
|
137
|
+
assert_equal true, is_fqdn?("yahoo.com")
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
def test_is_fqdn_case_3?
|
|
141
|
+
assert_equal false, is_fqdn?("images.search.yahoo")
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
def test_is_fqdn_case_4?
|
|
145
|
+
assert_equal false, is_fqdn?("images")
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
def test_is_cidr_case_1?
|
|
149
|
+
assert_equal false, is_cidr?("196.168.230.1")
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
def test_is_cidr_case_2?
|
|
153
|
+
assert_equal false, is_cidr?("196.168.2.257/12")
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
def test_is_cidr_case_3?
|
|
157
|
+
assert_equal true, is_cidr?("196.168.2.25/12")
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
def test_cidr_2_ips
|
|
161
|
+
assert_equal ["192.168.1.1"], cidr_2_ips("192.168.1.1/32")
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
def test_sort_ips
|
|
165
|
+
assert_equal ["192.168.1.1", "192.168.1.2", "192.168.2.1"], sort_ips(["192.168.1.2", "192.168.2.1","192.168.1.1"])
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
end
|
data/version.txt
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
###############################################################################
|
|
2
|
+
# Simple Program Version Information
|
|
3
|
+
###############################################################################
|
|
4
|
+
package = wmap
|
|
5
|
+
# wmap version 2.0 == web_discovery version 1.5.3
|
|
6
|
+
version = 2.4.4
|
|
7
|
+
date = 2018-01-16
|
|
8
|
+
|
|
9
|
+
author = Yang Li
|
|
10
|
+
email = yang.li@owasp.org
|
|
11
|
+
linkedin = http://www.linkedin.com/in/yangli8/
|
|
12
|
+
github = https://github.com/yangsec888/wmap
|
|
13
|
+
###############################################################################
|
data/wmap.gemspec
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
#--
|
|
2
|
+
# Wmap
|
|
3
|
+
#
|
|
4
|
+
# A pure Ruby library for Internet web application discovery and tracking.
|
|
5
|
+
#
|
|
6
|
+
# Copyright (c) 2012-2015 Yang Li <yang.li@owasp.org>
|
|
7
|
+
#++
|
|
8
|
+
|
|
9
|
+
# -*- encoding: utf-8 -*-
|
|
10
|
+
VERSION = File.dirname(__FILE__) + "/version.txt"
|
|
11
|
+
|
|
12
|
+
# Simple parser for the project version file
|
|
13
|
+
info=Hash.new
|
|
14
|
+
f=File.open(VERSION,'r')
|
|
15
|
+
f.each do |line|
|
|
16
|
+
line.chomp!
|
|
17
|
+
case line
|
|
18
|
+
when /^(\s)*#/
|
|
19
|
+
next
|
|
20
|
+
when /\=/
|
|
21
|
+
entry=line.split("=").map! {|x| x.strip}
|
|
22
|
+
info[entry[0]]=entry[1]
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
f.close
|
|
26
|
+
#
|
|
27
|
+
|
|
28
|
+
Gem::Specification.new do |s|
|
|
29
|
+
s.name = info["package"]
|
|
30
|
+
s.version = info["version"]
|
|
31
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
32
|
+
s.authors = info["author"]
|
|
33
|
+
s.homepage = info["github"]
|
|
34
|
+
s.licenses = ["MIT"]
|
|
35
|
+
s.date = info["date"]
|
|
36
|
+
s.description = "wmap is written to perform Internet web application / service discovery. The discovery results are designed to be automatically tracked by the software."
|
|
37
|
+
s.email = info["email"]
|
|
38
|
+
s.executables = ["wmap","wscan","wadd","wadds","wdel","wcheck","wdump","spiderBot","googleBot","updateAll","prime","deprime","refresh","trust","distrust","run_tests"]
|
|
39
|
+
s.files = ["CHANGELOG.md", "TODO", "settings/discovery_ports","settings/google_keywords.txt","settings/google_locator.txt","data/cidrs","data/domains","data/sub_domains","data/hosts","data/sites","data/deactivated_sites","data/prime_hosts","lib/wmap/cidr_tracker.rb","lib/wmap/dns_bruter.rb","lib/wmap/domain_tracker.rb","lib/wmap/domain_tracker/sub_domain.rb","lib/wmap/host_tracker.rb","lib/wmap/host_tracker/primary_host.rb","lib/wmap/network_profiler.rb","lib/wmap/port_scanner.rb","lib/wmap/site_tracker.rb","lib/wmap/site_tracker/deactivated_site.rb","lib/wmap/url_checker.rb","lib/wmap/url_crawler.rb","lib/wmap/geoip_tracker.rb","lib/wmap/google_search_scraper.rb","lib/wmap/utils/logger.rb","lib/wmap/utils/domain_root.rb","lib/wmap/utils/url_magic.rb","lib/wmap/utils/utils.rb","lib/wmap/whois.rb","lib/wmap.rb","LICENSE.txt","version.txt","README.rdoc", "wmap.gemspec"]
|
|
40
|
+
s.files += Dir['bin/*'] + Dir['demos/*'] + Dir['test/*'] + Dir['ruby_whois_patches/*'] + Dir['dicts/*'] + Dir['logs/wmap.log']
|
|
41
|
+
#s.homepage = "none"
|
|
42
|
+
s.post_install_message = "*"*80 + "\n\nThank you for installing the wmap gem - a pure Ruby library for Internet web application discovery and tracking. Please refer to the README.rdoc for more information of using this gem. \n\n" + "*"*80 + "\n"
|
|
43
|
+
s.require_paths = ["lib"]
|
|
44
|
+
s.required_ruby_version = Gem::Requirement.new(">= 1.9.2")
|
|
45
|
+
s.rubyforge_project = "wmap"
|
|
46
|
+
s.rubygems_version = "1.8.24"
|
|
47
|
+
s.summary = "A pure Ruby web application and service discovery API."
|
|
48
|
+
|
|
49
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: wmap
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 2.4.4
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Yang Li
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2018-01-16 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
13
|
+
description: wmap is written to perform Internet web application / service discovery.
|
|
14
|
+
The discovery results are designed to be automatically tracked by the software.
|
|
15
|
+
email: yang.li@owasp.org
|
|
16
|
+
executables:
|
|
17
|
+
- wmap
|
|
18
|
+
- wscan
|
|
19
|
+
- wadd
|
|
20
|
+
- wadds
|
|
21
|
+
- wdel
|
|
22
|
+
- wcheck
|
|
23
|
+
- wdump
|
|
24
|
+
- spiderBot
|
|
25
|
+
- googleBot
|
|
26
|
+
- updateAll
|
|
27
|
+
- prime
|
|
28
|
+
- deprime
|
|
29
|
+
- refresh
|
|
30
|
+
- trust
|
|
31
|
+
- distrust
|
|
32
|
+
- run_tests
|
|
33
|
+
extensions: []
|
|
34
|
+
extra_rdoc_files: []
|
|
35
|
+
files:
|
|
36
|
+
- CHANGELOG.md
|
|
37
|
+
- LICENSE.txt
|
|
38
|
+
- README.rdoc
|
|
39
|
+
- TODO
|
|
40
|
+
- bin/deprime
|
|
41
|
+
- bin/distrust
|
|
42
|
+
- bin/googleBot
|
|
43
|
+
- bin/prime
|
|
44
|
+
- bin/refresh
|
|
45
|
+
- bin/run_tests
|
|
46
|
+
- bin/spiderBot
|
|
47
|
+
- bin/trust
|
|
48
|
+
- bin/updateAll
|
|
49
|
+
- bin/wadd
|
|
50
|
+
- bin/wadds
|
|
51
|
+
- bin/wcheck
|
|
52
|
+
- bin/wdel
|
|
53
|
+
- bin/wdump
|
|
54
|
+
- bin/wmap
|
|
55
|
+
- bin/wscan
|
|
56
|
+
- data/cidrs
|
|
57
|
+
- data/deactivated_sites
|
|
58
|
+
- data/domains
|
|
59
|
+
- data/hosts
|
|
60
|
+
- data/prime_hosts
|
|
61
|
+
- data/sites
|
|
62
|
+
- data/sub_domains
|
|
63
|
+
- demos/bruter.rb
|
|
64
|
+
- demos/dns_brutes.rb
|
|
65
|
+
- demos/filter_cidr.rb
|
|
66
|
+
- demos/filter_crawls.rb
|
|
67
|
+
- demos/filter_domain.rb
|
|
68
|
+
- demos/filter_geoip.rb
|
|
69
|
+
- demos/filter_known_services.rb
|
|
70
|
+
- demos/filter_netinfo.rb
|
|
71
|
+
- demos/filter_prime.rb
|
|
72
|
+
- demos/filter_profiler.rb
|
|
73
|
+
- demos/filter_redirection.rb
|
|
74
|
+
- demos/filter_site.rb
|
|
75
|
+
- demos/filter_siteip.rb
|
|
76
|
+
- demos/filter_status.rb
|
|
77
|
+
- demos/filter_timestamp.rb
|
|
78
|
+
- demos/filter_url.rb
|
|
79
|
+
- demos/new_fnd.rb
|
|
80
|
+
- demos/nmap_parser.pl
|
|
81
|
+
- demos/site_format.rb
|
|
82
|
+
- demos/whois_domain.rb
|
|
83
|
+
- dicts/GeoIP.dat
|
|
84
|
+
- dicts/GeoIPASNum.dat
|
|
85
|
+
- dicts/GeoLiteCity.dat
|
|
86
|
+
- dicts/ccsld.txt
|
|
87
|
+
- dicts/cctld.txt
|
|
88
|
+
- dicts/gtld.txt
|
|
89
|
+
- dicts/hostnames-dict.big
|
|
90
|
+
- dicts/hostnames-dict.txt
|
|
91
|
+
- lib/wmap.rb
|
|
92
|
+
- lib/wmap/cidr_tracker.rb
|
|
93
|
+
- lib/wmap/dns_bruter.rb
|
|
94
|
+
- lib/wmap/domain_tracker.rb
|
|
95
|
+
- lib/wmap/domain_tracker/sub_domain.rb
|
|
96
|
+
- lib/wmap/geoip_tracker.rb
|
|
97
|
+
- lib/wmap/google_search_scraper.rb
|
|
98
|
+
- lib/wmap/host_tracker.rb
|
|
99
|
+
- lib/wmap/host_tracker/primary_host.rb
|
|
100
|
+
- lib/wmap/network_profiler.rb
|
|
101
|
+
- lib/wmap/port_scanner.rb
|
|
102
|
+
- lib/wmap/site_tracker.rb
|
|
103
|
+
- lib/wmap/site_tracker/deactivated_site.rb
|
|
104
|
+
- lib/wmap/url_checker.rb
|
|
105
|
+
- lib/wmap/url_crawler.rb
|
|
106
|
+
- lib/wmap/utils/domain_root.rb
|
|
107
|
+
- lib/wmap/utils/logger.rb
|
|
108
|
+
- lib/wmap/utils/url_magic.rb
|
|
109
|
+
- lib/wmap/utils/utils.rb
|
|
110
|
+
- lib/wmap/whois.rb
|
|
111
|
+
- logs/wmap.log
|
|
112
|
+
- ruby_whois_patches/base_cocca2.rb
|
|
113
|
+
- ruby_whois_patches/kero.yachay.pe.rb
|
|
114
|
+
- ruby_whois_patches/whois.PublicDomainRegistry.com.rb
|
|
115
|
+
- ruby_whois_patches/whois.above.com.rb
|
|
116
|
+
- ruby_whois_patches/whois.adamsnames.tc.rb
|
|
117
|
+
- ruby_whois_patches/whois.aeda.net.ae.rb
|
|
118
|
+
- ruby_whois_patches/whois.ai.rb
|
|
119
|
+
- ruby_whois_patches/whois.arnes.si.rb
|
|
120
|
+
- ruby_whois_patches/whois.ascio.com.rb
|
|
121
|
+
- ruby_whois_patches/whois.cnnic.cn.rb
|
|
122
|
+
- ruby_whois_patches/whois.corporatedomains.com.rb
|
|
123
|
+
- ruby_whois_patches/whois.crsnic.net.rb
|
|
124
|
+
- ruby_whois_patches/whois.denic.de.rb
|
|
125
|
+
- ruby_whois_patches/whois.dk-hostmaster.dk.rb
|
|
126
|
+
- ruby_whois_patches/whois.dns.be.rb
|
|
127
|
+
- ruby_whois_patches/whois.dns.lu.rb
|
|
128
|
+
- ruby_whois_patches/whois.dns.pl.rb
|
|
129
|
+
- ruby_whois_patches/whois.dns.pt.rb
|
|
130
|
+
- ruby_whois_patches/whois.domain.kg.rb
|
|
131
|
+
- ruby_whois_patches/whois.domainregistry.my.rb
|
|
132
|
+
- ruby_whois_patches/whois.domreg.lt.rb
|
|
133
|
+
- ruby_whois_patches/whois.dot.tk.rb
|
|
134
|
+
- ruby_whois_patches/whois.hkirc.hk.rb
|
|
135
|
+
- ruby_whois_patches/whois.isnic.is.rb
|
|
136
|
+
- ruby_whois_patches/whois.je.rb
|
|
137
|
+
- ruby_whois_patches/whois.jprs.jp.rb
|
|
138
|
+
- ruby_whois_patches/whois.kenic.or.ke.rb
|
|
139
|
+
- ruby_whois_patches/whois.markmonitor.com.rb
|
|
140
|
+
- ruby_whois_patches/whois.melbourneit.com.rb
|
|
141
|
+
- ruby_whois_patches/whois.nic.as.rb
|
|
142
|
+
- ruby_whois_patches/whois.nic.at.rb
|
|
143
|
+
- ruby_whois_patches/whois.nic.ch.rb
|
|
144
|
+
- ruby_whois_patches/whois.nic.cl.rb
|
|
145
|
+
- ruby_whois_patches/whois.nic.ec.rb
|
|
146
|
+
- ruby_whois_patches/whois.nic.im.rb
|
|
147
|
+
- ruby_whois_patches/whois.nic.it.rb
|
|
148
|
+
- ruby_whois_patches/whois.nic.lv.rb
|
|
149
|
+
- ruby_whois_patches/whois.nic.ly.rb
|
|
150
|
+
- ruby_whois_patches/whois.nic.mu.rb
|
|
151
|
+
- ruby_whois_patches/whois.nic.mx.rb
|
|
152
|
+
- ruby_whois_patches/whois.nic.net.sa.rb
|
|
153
|
+
- ruby_whois_patches/whois.nic.or.kr.rb
|
|
154
|
+
- ruby_whois_patches/whois.nic.tel.rb
|
|
155
|
+
- ruby_whois_patches/whois.nic.tr.rb
|
|
156
|
+
- ruby_whois_patches/whois.nic.us.rb
|
|
157
|
+
- ruby_whois_patches/whois.nic.ve.rb
|
|
158
|
+
- ruby_whois_patches/whois.norid.no.rb
|
|
159
|
+
- ruby_whois_patches/whois.pandi.or.id.rb
|
|
160
|
+
- ruby_whois_patches/whois.psi-usa.info.rb
|
|
161
|
+
- ruby_whois_patches/whois.registro.br.rb
|
|
162
|
+
- ruby_whois_patches/whois.registrygate.com.rb
|
|
163
|
+
- ruby_whois_patches/whois.rrpproxy.net.rb
|
|
164
|
+
- ruby_whois_patches/whois.sgnic.sg.rb
|
|
165
|
+
- ruby_whois_patches/whois.srs.net.nz.rb
|
|
166
|
+
- ruby_whois_patches/whois.tucows.com.rb
|
|
167
|
+
- ruby_whois_patches/whois.twnic.net.tw.rb
|
|
168
|
+
- settings/discovery_ports
|
|
169
|
+
- settings/google_keywords.txt
|
|
170
|
+
- settings/google_locator.txt
|
|
171
|
+
- test/domain_tracker_test.rb
|
|
172
|
+
- test/utils_test.rb
|
|
173
|
+
- version.txt
|
|
174
|
+
- wmap.gemspec
|
|
175
|
+
homepage: https://github.com/yangsec888/wmap
|
|
176
|
+
licenses:
|
|
177
|
+
- MIT
|
|
178
|
+
metadata: {}
|
|
179
|
+
post_install_message: "********************************************************************************\n\nThank
|
|
180
|
+
you for installing the wmap gem - a pure Ruby library for Internet web application
|
|
181
|
+
discovery and tracking. Please refer to the README.rdoc for more information of
|
|
182
|
+
using this gem. \n\n********************************************************************************\n"
|
|
183
|
+
rdoc_options: []
|
|
184
|
+
require_paths:
|
|
185
|
+
- lib
|
|
186
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
187
|
+
requirements:
|
|
188
|
+
- - ">="
|
|
189
|
+
- !ruby/object:Gem::Version
|
|
190
|
+
version: 1.9.2
|
|
191
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
192
|
+
requirements:
|
|
193
|
+
- - ">="
|
|
194
|
+
- !ruby/object:Gem::Version
|
|
195
|
+
version: '0'
|
|
196
|
+
requirements: []
|
|
197
|
+
rubyforge_project: wmap
|
|
198
|
+
rubygems_version: 2.4.5.2
|
|
199
|
+
signing_key:
|
|
200
|
+
specification_version: 4
|
|
201
|
+
summary: A pure Ruby web application and service discovery API.
|
|
202
|
+
test_files: []
|