Spaces:
Sleeping
Sleeping
File size: 2,725 Bytes
56ca4c1 |
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 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Web Phishing Detection</title>
<style>
body {
margin: 0;
padding: 0;
background: url('https://i.pinimg.com/originals/19/e1/71/19e171391727335f510db47a13269d2d.gif') no-repeat center center fixed;
background-size: cover;
font-family: 'Courier New', Courier, monospace;
display: flex;
flex-direction: column;
align-items: center;
color: #0ff;
}
h1 {
border-bottom: 2px solid #0ff;
padding-bottom: 10px;
}
form {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 20px;
border: 2px solid #0ff;
border-radius: 10px;
background-color: rgba(0, 0, 0, 0.6);
margin-top: 30px;
}
textarea, input[type="text"] {
width: 300px;
border: 2px solid #0ff;
background-color: rgba(0, 0, 0, 0.8);
color: #0ff;
padding: 10px;
border-radius: 5px;
font-family: 'Courier New', Courier, monospace;
}
textarea {
height: 100px;
resize: none;
}
input[type="submit"] {
margin-top: 10px;
padding: 10px 20px;
background-color: #0ff;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
input[type="submit"]:hover {
background-color: #08e;
}
h2 {
color: white;
margin-top: 30px;
border-top: 2px solid #0ff;
padding-top: 10px;
}
.result {
margin-top: 20px;
color: #0ff;
}
.safe {
color: rgb(0, 255, 0);
}
.phishing {
color: red;
}
</style>
</head>
<body>
<h1>Web Phishing Detection</h1>
<form action="/" method="post">
<h2>Check if a URL is Safe or Phishing</h2>
<input type="text" id="url" name="url" placeholder="Enter URL" required>
<input type="submit" value="Check URL">
</form>
{% if result %}
<div class="result">
<div class="result {{ result_class }}">
<h2>URL Check Result</h2>
<h1><p>{{ result }}</p></h1>
<h3><p>URL: {{ url }}</p></h3>
</div>
{% endif %}
</body>
</html>
|