benbekkou
benbekkou
·
AI & ML interests
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hydra Password Cracker - Ethical Hacking Tool</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>
.terminal {
font-family: 'Courier New', monospace;
background-color: #1e1e1e;
color: #00ff00;
}
.progress-bar {
height: 4px;
background: linear-gradient(90deg, #4f46e5 0%, #10b981 50%, #ef4444 100%);
}
.blink {
animation: blink 1s infinite;
}
@keyframes blink {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
</style>
</head>
<body class="bg-gray-900 text-gray-100">
<div class="container mx-auto px-4 py-8">
<!-- Header -->
<header class="flex items-center justify-between mb-8 border-b border-gray-700 pb-4">
<div class="flex items-center space-x-3">
<i class="fas fa-skull text-3xl text-red-500"></i>
<h1 class="text-2xl font-bold bg-gradient-to-r from-purple-600 to-blue-500 bg-clip-text text-transparent">
HYDRA Password Cracker
</h1>
</div>
<div class="flex space-x-4">
<button class="px-4 py-2 bg-gray-800 hover:bg-gray-700 rounded-lg flex items-center space-x-2">
<i class="fas fa-book"></i>
<span>Docs</span>
</button>
<button class="px-4 py-2 bg-gray-800 hover:bg-gray-700 rounded-lg flex items-center space-x-2">
<i class="fas fa-cog"></i>
<span>Settings</span>
</button>
</div>
</header>
<!-- Main Content -->
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
<!-- Attack Configuration Panel -->
<div class="lg:col-span-1 bg-gray-800 rounded-xl p-6 shadow-lg">
<h2 class="text-xl font-semibold mb-4 flex items-center">
<i class="fas fa-cogs mr-2 text-blue-400"></i>
Attack Configuration
</h2>
<div class="space-y-5">
<!-- Target Selection -->
<div>
<label class="block text-sm font-medium mb-1">Target</label>
<div class="flex space-x-2">
<select class="w-full bg-gray-700 border border-gray-600 rounded-lg px-3 py-2">
<option>Single Target</option>
<option>Target List</option>
<option>Network Range</option>
</select>
</div>
<input type="text" placeholder="IP/Hostname" class="w-full mt-2 bg-gray-700 border border-gray-600 rounded-lg px-3 py-2">
</div>
<!-- Service Selection -->
<div>
<label class="block text-sm font-medium mb-1">Service</label>
<select class="w-full bg-gray-700 border border-gray-600 rounded-lg px-3 py-2">
<option>SSH</option>
<option>FTP</option>
<option>HTTP</option>
<option>MySQL</option>
<option>RDP</option>
</select>
</div>
<!-- Attack Method -->
<div>
<label class="block text-sm font-medium mb-1">Attack Type</label>
<div class="grid grid-cols-2 gap-2">
<button class="bg-gray-700 hover:bg-blue-600 px-3 py-2 rounded-lg text-sm">Dictionary</button>
<button class="bg-gray-700 hover:bg-blue-600 px-3 py-2 rounded-lg text-sm">Brute Force</button>
<button class="bg-gray-700 hover:bg-blue-600 px-3 py-2 rounded-lg text-sm">Combinator</button>
<button class="bg-gray-700 hover:bg-blue-600 px-3 py-2 rounded-lg text-sm">Hybrid</button>
</div>
</div>
<!-- Wordlist Selection -->
<div>
<label class="block text-sm font-medium mb-1">Wordlist</label>
<div class="flex space-x-2">
<select class="flex-1 bg-gray-700 border border-gray-600 rounded-lg px-3 py-2">
<option>rockyou.txt</option>
<option>custom.txt</option>
<option>passwords.lst</option>
</select>
<button class="bg-gray-700 hover:bg-gray-600 px-3 py-2 rounded-lg">
<i class="fas fa-folder-open"></i>
</button>
</div>
</div>
<!-- Advanced Options -->
<div class="pt-2 border-t border-gray-700">
<div class="flex items-center justify-between cursor-pointer">
<h3 class="text-sm font-medium flex items-center">
<i class="fas fa-sliders-h mr-2 text-yellow-400"></i>
Advanced Options
</h3>
<i class="fas fa-chevron-down text-xs"></i>
</div>
<div class="mt-2 space-y-3">
<div class="flex items-center justify-between">
<span class="text-sm">Threads</span>
<input type="number" value="16" class="w-20 bg-gray-700 border border-gray-600 rounded-lg px-2 py-1 text-sm">
</div>
<div class="flex items-center justify-between">
<span class="text-sm">Timeout (sec)</span>
<input type="number" value="30" class="w-20 bg-gray-700 border border-gray-600 rounded-lg px-2 py-1 text-sm">
</div>
<div class="flex items-center space-x-2">
<input type="checkbox" id="ssl" class="rounded bg-gray-700 border-gray-600">
<label for="ssl" class="text-sm">Use SSL</label>
</div>
</div>
</div>
<!-- Start Button -->
<button class="w-full py-3 bg-gradient-to-r from-red-600 to-purple-600 hover:from-red-500 hover:to-purple-500 rounded-lg font-semibold flex items-center justify-center space-x-2">
<i class="fas fa-play"></i>
<span>Launch Attack</span>
</button>
</div>
</div>
<!-- Results Panel -->
<div class="lg:col-span-2 space-y-6">
<!-- Terminal Output -->
<div class="bg-gray-800 rounded-xl shadow-lg overflow-hidden">
<div class="px-4 py-3 bg-gray-900 flex items-center justify-between">
<div class="flex items-center space-x-2">
<div class="w-3 h-3 rounded-full bg-red-500"></div>
<div class="w-3 h-3 rounded-full bg-yellow-500"></div>
<div class="w-3 h-3 rounded-full bg-green-500"></div>
</div>
<div class="text-sm font-mono">HYDRA v9.3 - Terminal</div>
<div class="flex space-x-2">
<button class="text-gray-400 hover:text-white">
<i class="fas fa-expand"></i>
</button>
<button class="text-gray-400 hover:text-white">
<i class="fas fa-times"></i>
</button>
</div>
</div>
<div class="terminal p-4 h-64 overflow-y-auto">
<div class="font-mono text-sm">
<div class="text-green-400">[+] Hydra v9.3 (c) 2023 by The Hacker's Choice</div>
<div class="text-blue-400">[+] Starting at 14:30:45</div>
<div>[DATA] max 16 tasks per 1 server, overall 16 tasks, 14344396 login tries</div>
<div>[DATA] attacking ssh://192.168.1.100:22/</div>
<div class="text-yellow-400">[WARNING] Restorefile ignored</div>
<div>[22][ssh] host: 192.168.1.100 login: admin password: password123</div>
<div class="text-green-500 font-bold">[SUCCESS] 1 valid password found</div>
<div class="text-gray-500">[STATUS] attack finished for 192.168.1.100 (waiting for children to complete tests)</div>
<div class="text-blue-400">[+] Ending at 14:32:18</div>
<div class="text-green-400">[+] Elapsed time: 1 minute 33 seconds</div>
<div class="blink">_</div>
</div>
</div>
</div>
<!-- Results Summary -->
<div class="bg-gray-800 rounded-xl p-6 shadow-lg">
<h2 class="text-xl font-semibold mb-4 flex items-center">
<i class="fas fa-clipboard-list mr-2 text-green-400"></i>
Results Summary
</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 mb-6">
<div class="bg-gray-700 p-4 rounded-lg">
<div class="text-sm text-gray-400">Targets Tested</div>
<div class="text-2xl font-bold">1</div>
</div>
<div class="bg-gray-700 p-4 rounded-lg">
<div class="text-sm text-gray-400">Passwords Tried</div>
<div class="text-2xl font-bold">24,568</div>
</div>
<div class="bg-gray-700 p-4 rounded-lg">
<div class="text-sm text-gray-400">Credentials Found</div>
<div class="text-2xl font-bold text-green-400">1</div>
</div>
</div>
<div class="mb-4">
<div class="flex justify-between text-sm mb-1">
<span>Progress</span>
<span>12%</span>
</div>
<div class="w-full bg-gray-700 rounded-full h-2.5">
<div class="progress-bar h-2.5 rounded-full" style="width: 12%"></div>
</div>
</div>
<div class="overflow-x-auto">
<table class="w-full text-sm">
<thead class="text-gray-400 border-b border-gray-700">
<tr>
<th class="py-2 text-left">Host</th>
<th class="py-2 text-left">Service</th>
<th class="py-2 text-left">Username</th>
<th class="py-2 text-left">Password</th>
</tr>
</thead>
<tbody>
<tr class="border-b border-gray-700 hover:bg-gray-700">
<td class="py-3">192.168.1.100</td>
<td class="py-3">SSH (22)</td>
<td class="py-3">admin</td>
<td class="py-3 text-green-400 font-mono">password123</td>
</tr>
</tbody>
</table>
</div>
<div class="mt-4 flex justify-end space-x-3">
<button class="px-4 py-2 bg-gray-700 hover:bg-gray-600 rounded-lg flex items-center space-x-2">
<i class="fas fa-save"></i>
<span>Save Results</span>
</button>
<button class="px-4 py-2 bg-blue-600 hover:bg-blue-500 rounded-lg flex items-center space-x-2">
<i class="fas fa-redo"></i>
<span>Run Again</span>
</button>
</div>
</div>
</div>
</div>
<!-- Footer -->
<footer class="mt-12 pt-6 border-t border-gray-800 text-center text-gray-500 text-sm">
<p>This tool is for educational and authorized penetration testing purposes only.</p>
<p class="mt-1">Unauthorized use against systems you don't own is illegal.</p>
</footer>
</div>
<script>
// Simple animation for the terminal output
document.addEventListener('DOMContentLoaded', function() {
const terminal = document.querySelector('.terminal');
// Simulate scrolling to bottom
terminal.scrollTop = terminal.scrollHeight;
// Add blinking cursor effect
setInterval(() => {
const cursor = document.querySelector('.blink');
cursor.style.visibility = cursor.style.visibility === 'hidden' ? 'visible' : 'hidden';
}, 500);
// Simulate adding new lines to terminal
setInterval(() => {
const terminalContent = terminal.querySelector('.font-mono');
const newLine = document.createElement('div');
newLine.textContent = '[DATA] testing: admin -> ' + Math.random().toString(36).slice(2, 10);
newLine.className = 'text-gray-400';
terminalContent.insertBefore(newLine, document.querySelector('.blink'));
terminal.scrollTop = terminal.scrollHeight;
}, 3000);
});
</script>
</body>
</html>