hackpulse-guardian / scanner.html
orckfofo's picture
cria um programa de pentest com todos os arquivos e tudo necessario para iniciar autorização pra criar pasta e arquivos tudo automatizado e em portugues brasileiro
2cc3187 verified
Raw History Blame Contribute Delete
9.75 kB
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HackPulse - Scanner</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<style>
.scan-card {
transition: all 0.3s ease;
border: 1px solid #4c1d95;
}
.scan-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(124, 58, 237, 0.3);
}
.progress-bar {
height: 6px;
background-color: #1e1e2d;
}
.progress-fill {
height: 100%;
background: linear-gradient(90deg, #7e22ce, #4c1d95);
transition: width 0.5s ease;
}
.vulnerability-critical {
border-left: 4px solid #ef4444;
}
.vulnerability-high {
border-left: 4px solid #f97316;
}
.vulnerability-medium {
border-left: 4px solid #eab308;
}
.vulnerability-low {
border-left: 4px solid #22c55e;
}
</style>
</head>
<body class="bg-gray-900 text-gray-100 min-h-screen">
<div class="container mx-auto px-4 py-8">
<div class="flex justify-between items-center mb-8">
<h1 class="text-3xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-purple-400 to-pink-600">
<i data-feather="target" class="inline mr-2"></i> Scanner de Vulnerabilidades
</h1>
<button id="new-scan-btn" class="bg-purple-600 hover:bg-purple-700 text-white px-6 py-3 rounded-lg font-medium flex items-center">
<i data-feather="plus" class="mr-2"></i> Novo Scan
</button>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 mb-8">
<div class="scan-card bg-gray-800 rounded-lg p-6">
<div class="flex justify-between items-start mb-4">
<h3 class="text-xl font-semibold">Scan Completo</h3>
<span class="bg-green-900 text-green-400 text-xs px-2 py-1 rounded">Concluído</span>
</div>
<p class="text-gray-400 mb-4">Varredura completa de portas e serviços</p>
<div class="progress-bar rounded-full mb-2">
<div class="progress-fill rounded-full" style="width: 100%"></div>
</div>
<div class="flex justify-between text-sm text-gray-400">
<span>15 vulnerabilidades</span>
<span>Hoje, 14:30</span>
</div>
</div>
<div class="scan-card bg-gray-800 rounded-lg p-6">
<div class="flex justify-between items-start mb-4">
<h3 class="text-xl font-semibold">Teste SQLi</h3>
<span class="bg-yellow-900 text-yellow-400 text-xs px-2 py-1 rounded">Em andamento</span>
</div>
<p class="text-gray-400 mb-4">Injeção SQL em formulários</p>
<div class="progress-bar rounded-full mb-2">
<div class="progress-fill rounded-full" style="width: 65%"></div>
</div>
<div class="flex justify-between text-sm text-gray-400">
<span>3 vulnerabilidades</span>
<span>Hoje, 15:45</span>
</div>
</div>
<div class="scan-card bg-gray-800 rounded-lg p-6">
<div class="flex justify-between items-start mb-4">
<h3 class="text-xl font-semibold">XSS Check</h3>
<span class="bg-blue-900 text-blue-400 text-xs px-2 py-1 rounded">Pendente</span>
</div>
<p class="text-gray-400 mb-4">Teste de Cross-Site Scripting</p>
<div class="progress-bar rounded-full mb-2">
<div class="progress-fill rounded-full" style="width: 0%"></div>
</div>
<div class="flex justify-between text-sm text-gray-400">
<span>0 vulnerabilidades</span>
<span>Agendado</span>
</div>
</div>
</div>
<div class="bg-gray-800 rounded-lg overflow-hidden">
<div class="px-6 py-4 border-b border-gray-700 flex justify-between items-center">
<h2 class="text-xl font-semibold">Resultados Recentes</h2>
<div class="flex space-x-4">
<button class="text-gray-400 hover:text-purple-400 flex items-center">
<i data-feather="filter" class="mr-1 w-4 h-4"></i> Filtrar
</button>
<button class="text-gray-400 hover:text-purple-400 flex items-center">
<i data-feather="download" class="mr-1 w-4 h-4"></i> Exportar
</button>
</div>
</div>
<div class="divide-y divide-gray-700">
<div class="vulnerability-critical px-6 py-4 hover:bg-gray-700 cursor-pointer">
<div class="flex justify-between items-center">
<div>
<h3 class="font-medium">SQL Injection</h3>
<p class="text-sm text-gray-400">/login.php</p>
</div>
<span class="bg-red-900 text-red-400 text-xs px-2 py-1 rounded">Crítico</span>
</div>
</div>
<div class="vulnerability-high px-6 py-4 hover:bg-gray-700 cursor-pointer">
<div class="flex justify-between items-center">
<div>
<h3 class="font-medium">XSS Refletido</h3>
<p class="text-sm text-gray-400">/search.php?q=</p>
</div>
<span class="bg-orange-900 text-orange-400 text-xs px-2 py-1 rounded">Alto</span>
</div>
</div>
<div class="vulnerability-medium px-6 py-4 hover:bg-gray-700 cursor-pointer">
<div class="flex justify-between items-center">
<div>
<h3 class="font-medium">CSRF</h3>
<p class="text-sm text-gray-400">/profile/update</p>
</div>
<span class="bg-yellow-900 text-yellow-400 text-xs px-2 py-1 rounded">Médio</span>
</div>
</div>
</div>
</div>
</div>
<!-- New Scan Modal -->
<div id="new-scan-modal" class="fixed inset-0 bg-black bg-opacity-70 flex items-center justify-center hidden z-50">
<div class="bg-gray-800 rounded-lg w-full max-w-md p-6">
<div class="flex justify-between items-center mb-4">
<h3 class="text-xl font-semibold">Novo Scan</h3>
<button id="close-modal" class="text-gray-400 hover:text-white">
<i data-feather="x"></i>
</button>
</div>
<form id="scan-form">
<div class="mb-4">
<label class="block text-gray-400 mb-2">URL ou IP</label>
<input type="text" class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-2 focus:border-purple-500 focus:outline-none" placeholder="https://exemplo.com ou 192.168.1.1" required>
</div>
<div class="mb-4">
<label class="block text-gray-400 mb-2">Tipo de Scan</label>
<select class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-2 focus:border-purple-500 focus:outline-none">
<option>Completo</option>
<option>SQL Injection</option>
<option>XSS</option>
<option>CSRF</option>
<option>Personalizado</option>
</select>
</div>
<div class="flex justify-end space-x-4">
<button type="button" id="cancel-scan" class="px-4 py-2 rounded-lg border border-gray-600 hover:bg-gray-700">Cancelar</button>
<button type="submit" class="bg-purple-600 hover:bg-purple-700 text-white px-6 py-2 rounded-lg font-medium">Iniciar Scan</button>
</div>
</form>
</div>
</div>
<script>
feather.replace();
// Modal functionality
const newScanBtn = document.getElementById('new-scan-btn');
const newScanModal = document.getElementById('new-scan-modal');
const closeModal = document.getElementById('close-modal');
const cancelScan = document.getElementById('cancel-scan');
newScanBtn.addEventListener('click', () => {
newScanModal.classList.remove('hidden');
});
closeModal.addEventListener('click', () => {
newScanModal.classList.add('hidden');
});
cancelScan.addEventListener('click', () => {
newScanModal.classList.add('hidden');
});
// Close modal when clicking outside
newScanModal.addEventListener('click', (e) => {
if (e.target === newScanModal) {
newScanModal.classList.add('hidden');
}
});
</script>
</body>
</html>