-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
111 lines (108 loc) · 4.72 KB
/
index.html
File metadata and controls
111 lines (108 loc) · 4.72 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Check URLs to detect online threats and suspicious sites (Demonstration purposes only).">
<meta property="og:title" content="Netcraft API Frontend">
<meta property="og:description" content="Check URLs to detect online threats and suspicious sites (Demonstration purposes only).">
<meta property="og:type" content="website">
<meta name="twitter:title" content="Netcraft API Frontend">
<meta name="twitter:description" content="Check URLs to detect online threats and suspicious sites (Demonstration purposes only).">
<title>Netcraft API Frontend</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/water.css@2/out/water.css">
<style>
table {
table-layout: auto;
padding: 2rem;
}
.table-container {
overflow-x: scroll;
}
tr>td {
vertical-align: middle;
}
tr>td>input {
margin: revert;
}
</style>
</head>
<body>
<header>
<h1>Netcraft API Frontend</h1>
<hr>
</header>
<main>
<p> You could also use the more interesting <a href="https://sitereport.netcraft.com/" target="_blank" rel="noopener noreferrer">Netcraft's Site Report</a>. </p>
<section>
<form id="scanForm">
<label for="url-input"> Provide a valid URL and press <kbd>Enter</kbd> or click the "Check" button: </label>
<div style="display: flex; gap: 8px; margin-top: 16px;">
<input type="url" id="url-input" placeholder="http(s)://www.example.com" required style="flex: 1">
<button type="submit" id="checkBtn">Check</button>
<button type="submit" id="netcraftBtn">Netcraft</button>
</div>
</form>
</section>
<section id="loading-message" style="display: none">
<p>Fetching data...</p>
</section>
<section>
<table id="results-table" style="display: none">
<thead>
<tr>
<th>Thing</th>
<th>Data</th>
</tr>
</thead>
<tbody>
<!-- results -->
</tbody>
</table>
<p id="error-message" style="display: none; color: red"></p>
</section>
<details>
<summary>Disclaimer</summary>
<p> This project is not affiliated with <a href="https://www.netcraft.com/" target="_blank" rel="noopener noreferrer">Netcraft Ltd</a>. It is provided for educational and demonstration purposes to raise awareness about online risks. For production use or <em>real</em> security-related decisions, please use the official Netcraft services. </p>
</details>
<details>
<summary>How to read the results?</summary>
<ul>
<li>
<b>Risk</b>: A rating associated with the site, anything above 4 should be considered suspicious.
</li>
<li>
<b>First Seen</b>: The date when the site was first observed by Netcraft. Be aware that sites with an 'undefined' date (new sites) may not have an accurate rating.
</li>
<li>
<b>Pattern Matches</b>: The number of threat patterns that match the given input. Even a single match indicates confirmed malicious activity.
</li>
<li>
<b>Note on Netblock / IP</b>: The IP address and netblock may not match when CDNs are involved.
</li>
</ul>
</details>
<details>
<summary>Fallback scanners</summary>
<p>Not sure about the results? Try looking up at some of these options:</p>
<ul>
<li>
<a href="https://intelix.sophos.com/url" target="_blank" rel="noopener noreferrer">Sophos Intelix</a>
</li>
<li>
<a href="https://talosintelligence.com/reputation_center/" target="_blank" rel="noopener noreferrer">Cisto Talos</a>
</li>
<li>
<a href="https://www.ipqualityscore.com/threat-feeds/malicious-url-scanner" target="_blank" rel="noopener noreferrer">IPQualityScore URL Scanner</a>
</li>
</ul>
</details>
</main>
<footer>
<p> Licensed under <a href="https://www.gnu.org/licenses/gpl-3.0.html" target="_blank" rel="noopener noreferrer"> GPL 3.0 </a> | <a href="https://github.com/Zet4ky/Netcraft-API-Frontend" target="_blank" rel="noopener noreferrer"> Source code </a>
</p>
</footer>
<script src="scripts/script.js"></script>
</body>
</html>