Skip to content

Commit 0cf78c6

Browse files
committed
Merge #250 - New proposed security.wdes.eu website
Pull-request: #250 Signed-off-by: William Desportes <williamdes@wdes.fr>
2 parents 4fc5175 + 16a5209 commit 0cf78c6

4 files changed

Lines changed: 626 additions & 0 deletions

File tree

website/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
### Static site with responsive design
2+
1. Adds an optional "purpose" field to API key /register POST action
3+
2. Adds an optional "reason" field to the /report POST action
4+
3. Allows for CIDR ranges for /report and /scan
5+
4. Adds "scanType" field with default of "snow" to the /scan POST action, allowing for other/add'l scanners in the future
6+
5. Validates all IPv4 and IPv6 values to ensure they are formatted correctly and not reserved, loopback, etc (applies to /report and /scan)
7+
8+
_Currently untested_

website/index.html

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Security Tools - WDES</title>
7+
<link rel="stylesheet" href="styles.css">
8+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
9+
</head>
10+
<body>
11+
<header>
12+
<nav>
13+
<div class="logo">
14+
<h1>Security Tools</h1>
15+
</div>
16+
</nav>
17+
</header>
18+
19+
<main>
20+
<section class="tools-section">
21+
<div class="tools-grid">
22+
<div class="tool-card">
23+
<i class="fas fa-key"></i>
24+
<h3>Get an API key</h3>
25+
<p>Request an API key for accessing our security services</p>
26+
<button class="tool-button" id="apiKeyBtn">Get API Key</button>
27+
</div>
28+
<div class="tool-card">
29+
<i class="fas fa-flag"></i>
30+
<h3>Report Abusive IP</h3>
31+
<p>Report suspicious activity from an IP address</p>
32+
<button class="tool-button" id="reportIpBtn">Report IP</button>
33+
</div>
34+
<div class="tool-card">
35+
<i class="fas fa-shield-alt"></i>
36+
<h3>Scan</h3>
37+
<p>Check an IP or IP Range for scanning infrastructure</p>
38+
<button class="tool-button" id="scanBtn">Start Scan</button>
39+
</div>
40+
</div>
41+
</section>
42+
</main>
43+
44+
<footer>
45+
<div class="footer-content">
46+
<p>&copy; 2025 WDES Security.</p>
47+
</div>
48+
</footer>
49+
50+
<script src="script.js"></script>
51+
</body>
52+
</html>

0 commit comments

Comments
 (0)