Sample of DOS Attack using dynamic HTML.

pjblanco12

Leecher
Sample of DOS Attack using dynamic HTML.

You do not have permission to view the full content of this post. Log in or register now.

1787556159255.webp1787556172894.webp

Source code:

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>DDoS Script Collection - Simulation Interface</title>
<style>
body {
background-color: #212121;
color: #e0e0e0;
font-family: "Courier New", Courier, monospace;
margin: 20px;
line-height: 1.2;
}
pre {
margin: 0;
color: #ffd700;
font-weight: bold;
}
.menu {
margin-top: 25px;
margin-left: 10px;
}
.item {
margin-bottom: 6px;
cursor: pointer;
display: inline-block;
}
.item:hover {
background-color: #333;
}
.num {
color: #4da6ff;
font-weight: bold;
}
.exit-num {
color: #ff3333;
font-weight: bold;
}
.text {
color: #e0e0e0;
}

/* Interactive Dashboard Styles */
.dashboard {
margin-top: 25px;
border: 1px solid #444;
padding: 15px;
background-color: #1a1a1a;
max-width: 650px;
}
.dashboard h3 {
margin-top: 0;
color: #ffd700;
font-size: 1rem;
}
.stat-line {
margin-bottom: 8px;
}
.meter-bar {
width: 100%;
background-color: #333;
height: 14px;
margin-top: 4px;
border: 1px solid #555;
}
.meter-fill {
height: 100%;
width: 0%;
background-color: #4da6ff;
transition: width 0.3s ease, background-color 0.3s ease;
}
.terminal-log {
margin-top: 15px;
background-color: #000;
border: 1px solid #333;
height: 120px;
overflow-y: auto;
padding: 8px;
font-size: 0.85rem;
color: #00ff00;
}
.controls {
margin-top: 15px;
}
button {
background-color: #333;
color: #fff;
border: 1px solid #666;
padding: 6px 12px;
font-family: inherit;
cursor: pointer;
}
button:hover {
background-color: #555;
}
</style>
</head>
<body>

<pre>
------| /$$$$$$$ /$$$$$$$ Layer[4/7] /$$$$$$$ |------
| $$__ $$| $$__ $$ /$$__ $$ |
| $$ \ $$| $$ \ $$ /$$$$$$ | $$ \__/ |
| $$ | $$| $$ | $$/$______/| $$$$$$ |
| $$ | $$| $$ | $$| $$$$$$ \______ $$|
| $$ | $$| $$ | $$ \______/ /$$ \ $$|
| $$$$$$$/| $$$$$$$/ | $$$$$$/|
------|________/ |________/ \______/ |------
[DDoS Script Collection]
</pre>

<div class="menu">
<div class="item" onclick="selectOption('TCP Connection Flood')"><span class="num">1:.</span> <span class="text">TCP Connection Flood</span></div><br>
<div class="item" onclick="selectOption('HTTP Attacks')"><span class="num">2:.</span> <span class="text">HTTP Attacks</span></div><br>
<div class="item" onclick="selectOption('NTP AMP Attack')"><span class="num">3:.</span> <span class="text">NTP AMP Attack</span></div><br>
<div class="item" onclick="selectOption('DNS AMP Attack')"><span class="num">4:.</span> <span class="text">DNS AMP Attack</span></div><br>
<div class="item" onclick="selectOption('SSDP AMP Attack')"><span class="num">5:.</span> <span class="text">SSDP AMP Attack</span></div><br>
<div class="item" onclick="selectOption('DOMINATE')"><span class="num">6:.</span> <span class="text">DOMINATE</span></div><br>
<div class="item" onclick="selectOption('CHARGEN AMP Attacks')"><span class="num">7:.</span> <span class="text">CHARGEN AMP Attacks</span></div><br>
<div class="item" onclick="selectOption('SUDP AMP Attack')"><span class="num">8:.</span> <span class="text">SUDP AMP Attack</span></div><br>
<div class="item" onclick="selectOption('QUAKE AMP Attacks')"><span class="num">9:.</span> <span class="text">QUAKE AMP Attacks</span></div><br>
<div class="item" onclick="selectOption('TS3 AMP Attacks')"><span class="num">10:.</span> <span class="text">TS3 AMP Attacks</span></div><br>
<br>
<div class="item" onclick="stopSimulation()"><span class="exit-num">99:.</span> <span class="text">Stop / Reset</span></div>
</div>

<!-- Real-Time Dynamic Simulation Panel -->
<div class="dashboard">
<h3>Active Module Demonstrator</h3>
<div class="stat-line">Selected Vector: <span id="selected-vector" style="color: #ffd700;">None</span></div>
<div class="stat-line">Simulated Requests Sent: <span id="req-count">0</span></div>

<div class="stat-line">
Simulated Server Load / Queue Usage: <span id="load-percent">0%</span>
<div class="meter-bar">
<div id="meter-fill" class="meter-fill"></div>
</div>
</div>

<div class="controls">
<button onclick="triggerRequest()">Send Manual Request</button>
<button onclick="toggleAutoStream()" id="stream-btn">Start Request Stream</button>
</div>

<div class="terminal-log" id="log-output">
[System] Select an option from the menu above to initialize simulation...
</div>
</div>

<script>
let reqCount = 0;
let serverLoad = 0;
let currentVector = "None";
let streamInterval = null;

function selectOption(name) {
currentVector = name;
document.getElementById('selected-vector').innerText = name;
logMessage([Module Initialized] Selected target vector: ${name});
}

function triggerRequest() {
if (currentVector === "None") {
logMessage("[Warning] Please select an option (1-10) first.");
return;
}

reqCount += Math.floor(Math.random() * 15) + 1;
serverLoad = Math.min(100, serverLoad + Math.floor(Math.random() * 8) + 2);

updateDisplay();
logMessage([${currentVector}] Dispatching packet payload... Load: ${serverLoad}%);
}

function toggleAutoStream() {
if (currentVector === "None") {
logMessage("[Warning] Please select an option (1-10) first.");
return;
}

const btn = document.getElementById('stream-btn');
if (streamInterval) {
clearInterval(streamInterval);
streamInterval = null;
btn.innerText = "Start Request Stream";
logMessage("[System] Traffic stream paused.");
} else {
btn.innerText = "Pause Request Stream";
logMessage("[System] High-rate request stream active...");
streamInterval = setInterval(() => {
reqCount += Math.floor(Math.random() * 50) + 20;
serverLoad = Math.min(100, serverLoad + Math.floor(Math.random() * 5) + 1);
updateDisplay();
logMessage([Stream Active] Receiving responses... Total Sent: ${reqCount});
}, 400);
}
}

function stopSimulation() {
if (streamInterval) {
clearInterval(streamInterval);
streamInterval = null;
document.getElementById('stream-btn').innerText = "Start Request Stream";
}
reqCount = 0;
serverLoad = 0;
currentVector = "None";
document.getElementById('selected-vector').innerText = "None";
updateDisplay();
logMessage("[System] Reset complete. Buffer cleared.");
}

function updateDisplay() {
document.getElementById('req-count').innerText = reqCount.toLocaleString();
document.getElementById('load-percent').innerText = ${serverLoad}%;

const meter = document.getElementById('meter-fill');
meter.style.width = ${serverLoad}%;

if (serverLoad > 80) {
meter.style.backgroundColor = "#ff3333";
} else if (serverLoad > 40) {
meter.style.backgroundColor = "#ffd700";
} else {
meter.style.backgroundColor = "#4da6ff";
}
}

function logMessage(msg) {
const log = document.getElementById('log-output');
const time = new Date().toLocaleTimeString();
log.innerHTML += <div>[${time}] ${msg}</div>;
log.scrollTop = log.scrollHeight;
}
</script>

</body>
</html>
 

About this Thread

  • 1
    Replies
  • 69
    Views
  • 2
    Participants
Last reply from:
Bobsymilk21

Trending Topics

Online now

Members online
1,052
Guests online
3,494
Total visitors
4,546

Forum statistics

Threads
2,325,805
Posts
29,224,533
Members
1,167,614
Latest member
sanjowud
Back
Top