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
|
# File 'lib/checks/checkpoint.rb', line 6
def generate_checks(url)
[
{
:type => "application",
:vendor => "Checkpoint",
:tags => ["tech:vpn"],
:product =>"GO",
:match_details =>"page title",
:references => ["https://en.wikipedia.org/wiki/Check_Point_GO"],
:version => nil,
:match_type => :content_body,
:match_content => /<title>Check Point Mobile GO/i,
:examples => ["http://192.234.138.61:80"],
:verify => ["eGNlbGVuZXJneSNJbnRyaWd1ZTo6RW50aXR5OjpVcmkjaHR0cDovLzE5Mi4yMzQuMTM4LjYxOjgw"],
:paths => ["#{url}"]
},
{
:type => "application",
:vendor => "Checkpoint",
:tags => ["tech:vpn"],
:product =>"GO",
:match_details =>"server header",
:references => ["https://en.wikipedia.org/wiki/Check_Point_GO"],
:version => nil,
:match_type => :content_headers,
:match_content => /server: CPWS/i,
:examples => ["http://200.142.200.1:80"],
:verify => ["aWJtI0ludHJpZ3VlOjpFbnRpdHk6OlVyaSNodHRwOi8vMjAwLjE0Mi4yMDAuMTo4MA=="],
:paths => ["#{url}"]
},
{
:type => "application",
:vendor => "Checkpoint",
:tags => ["tech:vpn"],
:product =>"SSL Network Extender",
:match_details =>"server header",
:references => [],
:version => nil,
:match_type => :content_headers,
:match_content => /server: Check Point SVN foundation/i,
:examples => ["https://www.cora.ro:8443"],
:verify => ["aWJtI0ludHJpZ3VlOjpFbnRpdHk6OlVyaSNodHRwczovL3d3dy5jb3JhLnJvOjg0NDM="],
:paths => ["#{url}"]
}
]
end
|