<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SafeLink - Advanced Phishing Detector</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
.gradient-bg {
background: linear-gradient(135deg, #6b73ff 0%, #000dff 100%);
}
.pulse-animation {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% {
box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
}
70% {
box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
}
}
.result-box {
transition: all 0.3s ease;
}
</style>
</head>
<body class="bg-gray-50 font-sans">
<!-- Header -->
<header class="gradient-bg text-white shadow-lg">
<div class="container mx-auto px-4 py-6">
<div class="flex justify-between items-center">
<div class="flex items-center space-x-2">
<i class="fas fa-shield-alt text-2xl"></i>
<h1 class="text-2xl font-bold">SafeLink</h1>
</div>
<nav class="hidden md:flex space-x-6">
<a href="#" class="hover:text-blue-200 transition">Home</a>
<a href="#" class="hover:text-blue-200 transition">How It Works</a>
<a href="#" class="hover:text-blue-200 transition">About</a>
<a href="#" class="hover:text-blue-200 transition">Contact</a>
</nav>
<button class="md:hidden text-xl">
<i class="fas fa-bars"></i>
</button>
</div>
</div>
</header>
<!-- Hero Section -->
<section class="gradient-bg text-white py-16">
<div class="container mx-auto px-4 flex flex-col md:flex-row items-center">
<div class="md:w-1/2 mb-10 md:mb-0">
<h2 class="text-4xl md:text-5xl font-bold mb-4">Protect Yourself From Phishing Attacks</h2>
<p class="text-xl mb-8">Our advanced AI analyzes URLs in real-time to detect phishing attempts and keep your data safe.</p>
<div class="flex space-x-4">
<button class="bg-white text-blue-600 px-6 py-3 rounded-lg font-semibold hover:bg-gray-100 transition">Try It Now</button>
<button class="border-2 border-white px-6 py-3 rounded-lg font-semibold hover:bg-white hover:text-blue-600 transition">Learn More</button>
</div>
</div>
<div class="md:w-1/2 flex justify-center">
<img src="https://illustrations.popsy.co/amber/secure-server.svg" alt="Security Illustration" class="w-full max-w-md">
</div>
</div>
</section>
<!-- Detector Section -->
<section class="py-16 bg-white">
<div class="container mx-auto px-4">
<div class="text-center mb-12">
<h2 class="text-3xl font-bold text-gray-800 mb-4">Phishing URL Detector</h2>
<p class="text-gray-600 max-w-2xl mx-auto">Enter any URL below to check if it's safe or potentially a phishing attempt.</p>
</div>
<div class="max-w-3xl mx-auto bg-gray-100 rounded-xl p-6 shadow-md">
<div class="flex flex-col md:flex-row gap-4">
<input type="text" id="url-input" placeholder="https://example.com" class="flex-grow px-4 py-3 rounded-lg border-2 border-gray-300 focus:border-blue-500 focus:outline-none">
<button id="check-btn" class="bg-blue-600 hover:bg-blue-700 text-white px-6 py-3 rounded-lg font-semibold transition flex items-center justify-center">
<i class="fas fa-search mr-2"></i> Check URL
</button>
</div>
<div id="result-container" class="mt-6 hidden">
<div id="result-box" class="result-box p-6 rounded-lg shadow-inner">
<div class="flex items-center mb-4">
<div id="status-icon" class="text-3xl mr-3">
<i class="fas fa-question-circle text-gray-400"></i>
</div>
<h3 id="result-title" class="text-xl font-semibold">Analyzing URL...</h3>
</div>
<div id="result-details" class="text-gray-700">
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div>
<p class="font-medium">URL:</p>
<p id="url-display" class="truncate">-</p>
</div>
<div>
<p class="font-medium">Domain Age:</p>
<p id="domain-age">-</p>
</div>
<div>
<p class="font-medium">SSL Certificate:</p>
<p id="ssl-status">-</p>
</div>
<div>
<p class="font-medium">Suspicious Keywords:</p>
<p id="keywords">-</p>
</div>
</div>
<div class="mt-4">
<p class="font-medium">Detailed Analysis:</p>
<p id="detailed-analysis" class="text-sm">-</p>
</div>
</div>
</div>
<div class="mt-6 flex justify-between">
<button id="report-btn" class="text-red-600 hover:text-red-800 font-medium flex items-center">
<i class="fas fa-flag mr-2"></i> Report False Result
</button>
<button id="copy-btn" class="text-blue-600 hover:text-blue-800 font-medium flex items-center">
<i class="fas fa-copy mr-2"></i> Copy Report
</button>
</div>
</div>
</div>
</div>
</section>
<!-- Features Section -->
<section class="py-16 bg-gray-50">
<div class="container mx-auto px-4">
<div class="text-center mb-12">
<h2 class="text-3xl font-bold text-gray-800 mb-4">How SafeLink Protects You</h2>
<p class="text-gray-600 max-w-2xl mx-auto">Our advanced detection system checks multiple indicators to identify phishing attempts.</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="bg-white p-6 rounded-xl shadow-md hover:shadow-lg transition">
<div class="text-blue-600 mb-4">
<i class="fas fa-globe text-4xl"></i>
</div>
<h3 class="text-xl font-semibold mb-2">Domain Analysis</h3>
<p class="text-gray-600">We check domain registration details, age, and reputation to identify suspicious domains.</p>
</div>
<div class="bg-white p-6 rounded-xl shadow-md hover:shadow-lg transition">
<div class="text-green-600 mb-4">
<i class="fas fa-lock text-4xl"></i>
</div>
<h3 class="text-xl font-semibold mb-2">SSL Verification</h3>
<p class="text-gray-600">Our system verifies SSL certificates to ensure secure connections and detect fake certificates.</p>
</div>
<div class="bg-white p-6 rounded-xl shadow-md hover:shadow-lg transition">
<div class="text-purple-600 mb-4">
<i class="fas fa-robot text-4xl"></i>
</div>
<h3 class="text-xl font-semibold mb-2">AI Detection</h3>
<p class="text-gray-600">Advanced machine learning models analyze website content for phishing patterns and suspicious elements.</p>
</div>
</div>
</div>
</section>
<!-- Stats Section -->
<section class="py-16 gradient-bg text-white">
<div class="container mx-auto px-4">
<div class="grid grid-cols-2 md:grid-cols-4 gap-8 text-center">
<div>
<div class="text-4xl font-bold mb-2">10M+</div>
<p class="opacity-90">URLs Analyzed</p>
</div>
<div>
<div class="text-4xl font-bold mb-2">98.7%</div>
<p class="opacity-90">Detection Accuracy</p>
</div>
<div>
<div class="text-4xl font-bold mb-2">24/7</div>
<p class="opacity-90">Real-time Protection</p>
</div>
<div>
<div class="text-4xl font-bold mb-2">100K+</div>
<p class="opacity-90">Phishing Sites Blocked</p>
</div>
</div>
</div>
</section>
<!-- FAQ Section -->
<section class="py-16 bg-white">
<div class="container mx-auto px-4">
<div class="text-center mb-12">
<h2 class="text-3xl font-bold text-gray-800 mb-4">Frequently Asked Questions</h2>
<p class="text-gray-600 max-w-2xl mx-auto">Find answers to common questions about phishing and our detection service.</p>
</div>
<div class="max-w-3xl mx-auto">
<div class="mb-4 border-b pb-4">
<button class="faq-toggle flex justify-between items-center w-full text-left font-semibold text-lg">
<span>What is phishing?</span>
<i class="fas fa-chevron-down transition-transform"></i>
</button>
<div class="faq-content mt-2 text-gray-600 hidden">
Phishing is a cybercrime where targets are contacted by email, telephone, or text message by someone posing as a legitimate institution to lure individuals into providing sensitive data such as personally identifiable information, banking and credit card details, and passwords.
</div>
</div>
<div class="mb-4 border-b pb-4">
<button class="faq-toggle flex justify-between items-center w-full text-left font-semibold text-lg">
<span>How does SafeLink detect phishing sites?</span>
<i class="fas fa-chevron-down transition-transform"></i>
</button>
<div class="faq-content mt-2 text-gray-600 hidden">
SafeLink uses multiple detection methods including domain analysis, SSL verification, content scanning, and machine learning algorithms to identify phishing attempts. We compare URLs against known phishing databases and analyze website characteristics for suspicious patterns.
</div>
</div>
<div class="mb-4 border-b pb-4">
<button class="faq-toggle flex justify-between items-center w-full text-left font-semibold text-lg">
<span>Is SafeLink free to use?</span>
<i class="fas fa-chevron-down transition-transform"></i>
</button>
<div class="faq-content mt-2 text-gray-600 hidden">
Yes, our basic URL checking service is completely free. We also offer premium services for businesses that require API access or advanced protection features.
</div>
</div>
<div class="mb-4 border-b pb-4">
<button class="faq-toggle flex justify-between items-center w-full text-left font-semibold text-lg">
<span>What should I do if I find a phishing site?</span>
<i class="fas fa-chevron-down transition-transform"></i>
</button>
<div class="faq-content mt-2 text-gray-600 hidden">
If you encounter a phishing site, do not enter any personal information. Report it immediately using our "Report False Result" feature. You should also notify the legitimate organization being impersonated and consider reporting it to your local cybersecurity authority.
</div>
</div>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="py-16 bg-blue-50">
<div class="container mx-auto px-4 text-center">
<h2 class="text-3xl font-bold text-gray-800 mb-6">Stay Protected Against Phishing</h2>
<p class="text-gray-600 max-w-2xl mx-auto mb-8">Join thousands of users who trust SafeLink to keep their online activities secure.</p>
<button class="bg-blue-600 hover:bg-blue-700 text-white px-8 py-4 rounded-lg font-semibold text-lg transition pulse-animation">
<i class="fas fa-shield-alt mr-2"></i> Check a URL Now
</button>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-800 text-white py-12">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<div class="flex items-center space-x-2 mb-4">
<i class="fas fa-shield-alt text-2xl"></i>
<h3 class="text-xl font-bold">SafeLink</h3>
</div>
<p class="text-gray-400">Advanced phishing detection to keep your online activities secure and private.</p>
<div class="flex space-x-4 mt-4">
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-twitter"></i></a>
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-facebook"></i></a>
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-linkedin"></i></a>
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-github"></i></a>
</div>
</div>
<div>
<h4 class="text-lg font-semibold mb-4">Quick Links</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">Home</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Detector</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">How It Works</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">About Us</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-semibold mb-4">Resources</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">Blog</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Phishing Statistics</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Security Tips</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">API Documentation</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-semibold mb-4">Contact</h4>
<ul class="space-y-2">
<li class="flex items-center text-gray-400"><i class="fas fa-envelope mr-2"></i> support@safelink.com</li>
<li class="flex items-center text-gray-400"><i class="fas fa-phone mr-2"></i> +1 (555) 123-4567</li>
<li class="flex items-center text-gray-400"><i class="fas fa-map-marker-alt mr-2"></i> 123 Security Ave, Cyber City</li>
</ul>
</div>
</div>
<div class="border-t border-gray-700 mt-12 pt-8 text-center text-gray-400">
<p>© 2023 SafeLink. All rights reserved. | <a href="#" class="hover:text-white">Privacy Policy</a> | <a href="#" class="hover:text-white">Terms of Service</a></p>
</div>
</div>
</footer>
<script>
document.addEventListener('DOMContentLoaded', function() {
// URL Check Functionality
const urlInput = document.getElementById('url-input');
const checkBtn = document.getElementById('check-btn');
const resultContainer = document.getElementById('result-container');
const resultBox = document.getElementById('result-box');
const statusIcon = document.getElementById('status-icon');
const resultTitle = document.getElementById('result-title');
const urlDisplay = document.getElementById('url-display');
const domainAge = document.getElementById('domain-age');
const sslStatus = document.getElementById('ssl-status');
const keywords = document.getElementById('keywords');
const detailedAnalysis = document.getElementById('detailed-analysis');
const reportBtn = document.getElementById('report-btn');
const copyBtn = document.getElementById('copy-btn');
// Sample phishing URLs for demo
const phishingUrls = [
'paypa1.com',
'faceb00k-login.com',
'google-verify-account.com',
'amaz0n-security.com',
'appleid-apple.com.secure-login.net'
];
// Sample suspicious keywords
const suspiciousKeywords = [
'login', 'verify', 'account', 'security', 'update',
'password', 'banking', 'credit', 'card', 'personal',
'urgent', 'immediate', 'action', 'required'
];
checkBtn.addEventListener('click', function() {
const url = urlInput.value.trim();
if (!url) {
alert('Please enter a URL to check');
return;
}
// Show loading state
resultContainer.classList.remove('hidden');
resultBox.classList.add('bg-gray-100');
statusIcon.innerHTML = '<i class="fas fa-spinner fa-spin text-blue-500"></i>';
resultTitle.textContent = 'Analyzing URL...';
urlDisplay.textContent = url;
domainAge.textContent = 'Checking...';
sslStatus.textContent = 'Checking...';
keywords.textContent = 'Checking...';
detailedAnalysis.textContent = 'Performing comprehensive analysis of the URL structure, content, and reputation...';
// Simulate API call with timeout
setTimeout(function() {
// Determine if URL is suspicious
const isPhishing = phishingUrls.some(phishUrl => url.includes(phishUrl)) ||
Math.random() < 0.3; // 30% chance for demo
// Get domain from URL
let domain = url.replace(/^(https?:\/\/)?(www\.)?/, '').split('/')[0];
// Generate random domain age for demo (1 day to 5 years)
const randomAge = Math.floor(Math.random() * 1825) + 1;
const ageYears = Math.floor(randomAge / 365);
const ageDays = randomAge % 365;
const ageText = ageYears > 0 ?
`${ageYears} year${ageYears > 1 ? 's' : ''} ${ageDays} day${ageDays !== 1 ? 's' : ''}` :
`${ageDays} day${ageDays !== 1 ? 's' : ''}`;
// Generate SSL status (85% chance of having SSL)
const hasSSL = Math.random() < 0.85;
const sslText = hasSSL ?
'Valid SSL Certificate' :
'No SSL Certificate (Not Secure)';
// Find suspicious keywords in URL
const foundKeywords = suspiciousKeywords.filter(keyword =>
url.toLowerCase().includes(keyword.toLowerCase()));
// Update UI based on result
if (isPhishing) {
resultBox.classList.remove('bg-gray-100');
resultBox.classList.add('bg-red-50', 'border-l-4', 'border-red-500');
statusIcon.innerHTML = '<i class="fas fa-exclamation-triangle text-red-500"></i>';
resultTitle.textContent = 'Warning: Potential Phishing Site';
let analysisText = `Our analysis indicates this URL (${domain}) has characteristics commonly associated with phishing attempts. `;
analysisText += `The domain is ${randomAge < 30 ? 'very new (created in the last 30 days), which is a common tactic for phishing sites. ' : ''}`;
analysisText += foundKeywords.length > 0 ?
`The URL contains suspicious keywords (${foundKeywords.join(', ')}), which are often used in phishing attempts. ` :
'The URL structure matches known phishing patterns. ';
analysisText += hasSSL ?
'Although the site has an SSL certificate, this alone does not guarantee legitimacy. ' :
'The lack of an SSL certificate is another red flag. ';
analysisText += 'We strongly recommend not entering any personal information on this site.';
detailedAnalysis.textContent = analysisText;
} else {
resultBox.classList.remove('bg-gray-100');
resultBox.classList.add('bg-green-50', 'border-l-4', 'border-green-500');
statusIcon.innerHTML = '<i class="fas fa-check-circle text-green-500"></i>';
resultTitle.textContent = 'This URL Appears Safe';
let analysisText = `Our analysis of ${domain} found no immediate signs of phishing. `;
analysisText += `The domain has been registered for ${ageText}, which ${randomAge < 30 ? 'is relatively new but ' : ''}doesn't indicate phishing. `;
analysisText += hasSSL ? 'The site has a valid SSL certificate, which helps protect your data. ' : '';
analysisText += foundKeywords.length > 0 ?
`While the URL contains some common keywords (${foundKeywords.join(', ')}), these alone don't indicate a phishing attempt. ` :
'No suspicious keywords were detected in the URL. ';
analysisText += 'However, always remain cautious when entering personal information online.';
detailedAnalysis.textContent = analysisText;
}
// Update other details
domainAge.textContent = ageText;
sslStatus.textContent = sslText;
keywords.textContent = foundKeywords.length > 0 ? foundKeywords.join(', ') : 'None detected';
}, 1500);
});
// Copy report functionality
copyBtn.addEventListener('click', function() {
const reportText = `SafeLink Phishing Detection Report\n\n` +
`URL: ${urlDisplay.textContent}\n` +
`Status: ${resultTitle.textContent}\n` +
`Domain Age: ${domainAge.textContent}\n` +
`SSL Certificate: ${sslStatus.textContent}\n` +
`Suspicious Keywords: ${keywords.textContent}\n\n` +
`Detailed Analysis:\n${detailedAnalysis.textContent}`;
navigator.clipboard.writeText(reportText).then(function() {
const originalText = copyBtn.innerHTML;
copyBtn.innerHTML = '<i class="fas fa-check mr-2"></i> Copied!';
setTimeout(function() {
copyBtn.innerHTML = originalText;
}, 2000);
});
});
// Report false result functionality
reportBtn.addEventListener('click', function() {
alert('Thank you for your report. Our team will review this URL and update our database if necessary.');
});
// FAQ toggle functionality
const faqToggles = document.querySelectorAll('.faq-toggle');
faqToggles.forEach(toggle => {
toggle.addEventListener('click', function() {
const content = this.nextElementSibling;
const icon = this.querySelector('i');
content.classList.toggle('hidden');
icon.classList.toggle('rotate-180');
});
});
// Scroll to detector when clicking CTA buttons
const ctaButtons = document.querySelectorAll('button.bg-blue-600');
ctaButtons.forEach(button => {
button.addEventListener('click', function() {
document.getElementById('url-input').scrollIntoView({
behavior: 'smooth'
});
urlInput.focus();
});
});
});
</script>
</body>
</html>