-
Notifications
You must be signed in to change notification settings - Fork 40
/
dyn.rb
51 lines (51 loc) · 1.45 KB
/
dyn.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
module Intrigue
module Ident
module Check
class Dyn < Intrigue::Ident::Check::Base
def generate_checks(url)
[
{
type: 'fingerprint',
category: 'service',
tags: ['Hosting'],
vendor: 'Dyn',
product: 'Dns',
website: 'https://account.dyn.com/',
description: 'dynect.net cookie',
version: nil,
match_logic: :all,
matches: [
{
match_type: :content_cookies,
match_content: /Domain=.dynect.net/i,
}
],
paths: [{ path: url.to_s, follow_redirects: true }],
inference: false
},
{
type: 'fingerprint',
category: 'service',
tags: ['Hosting'],
vendor: 'Dyn',
product: 'Dns',
website: 'https://account.dyn.com/',
description: 'default login page',
version: nil,
match_logic: :all,
matches: [
{
match_type: :content_title,
match_content: /^Login | Dyn Portal$/i,
}
],
paths: [{ path: url.to_s, follow_redirects: true }],
inference: false,
hide: true
}
]
end
end
end
end
end