inital commit

This commit is contained in:
KingKDot
2026-03-05 00:04:26 -06:00
commit f8515a2883
269 changed files with 47081 additions and 0 deletions
+179
View File
@@ -0,0 +1,179 @@
<!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>SOCKS5 Proxy - Overlord</title>
<link rel="stylesheet" href="/assets/tailwind.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css"
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link rel="stylesheet" href="/assets/main.css" />
<script src="/assets/toast.js"></script>
</head>
<body class="min-h-screen bg-gradient-to-br from-slate-950 via-slate-900 to-slate-950 text-slate-100">
<header id="top-nav"></header>
<main class="px-5 py-6 flex-1 flex flex-col">
<div class="flex-1 flex flex-col gap-4" style="max-width: 1400px; margin: 0 auto; width: 100%">
<!-- Header -->
<div class="flex flex-wrap gap-3 items-center justify-between">
<div class="flex items-center gap-3">
<div
class="bg-slate-900/70 border border-slate-800 rounded-lg px-3 py-2 flex items-center gap-3 shadow-lg"
>
<i class="fa-solid fa-network-wired text-blue-400"></i>
<span class="font-semibold">SOCKS5 Proxy</span>
<span id="status-pill" class="pill pill-offline">Connecting</span>
</div>
<div
class="bg-slate-900/70 border border-slate-800 rounded-lg px-3 py-2 text-sm text-slate-300 shadow-lg"
>
<span class="text-slate-400">Client:</span>
<span id="clientLabel" class="font-mono">-</span>
</div>
</div>
</div>
<!-- Main Content -->
<div class="grid grid-cols-1 lg:grid-cols-2 gap-4">
<!-- Proxy Control Panel -->
<div class="bg-slate-900/70 border border-slate-800 rounded-lg p-6 shadow-xl">
<h3 class="text-lg font-semibold mb-4 flex items-center gap-2">
<i class="fa-solid fa-sliders"></i>
Control Panel
</h3>
<div class="space-y-4">
<div>
<label class="block text-sm font-medium text-slate-300 mb-2">
Proxy Port (on agent)
</label>
<input
id="portInput"
type="number"
value="1080"
min="1"
max="65535"
class="w-full px-3 py-2 bg-slate-800 border border-slate-700 rounded-lg text-slate-100 focus:outline-none focus:ring-2 focus:ring-blue-500"
/>
<p class="text-xs text-slate-400 mt-1">
The SOCKS5 proxy will listen on localhost at this port on the agent machine
</p>
</div>
<div class="flex gap-2">
<button
id="startBtn"
class="button primary flex-1"
>
<i class="fa-solid fa-play"></i>
<span>Start Proxy</span>
</button>
<button
id="stopBtn"
class="button danger flex-1"
disabled
>
<i class="fa-solid fa-stop"></i>
<span>Stop Proxy</span>
</button>
</div>
<div id="proxyInfo" class="hidden p-4 bg-slate-800/70 border border-slate-700 rounded-lg">
<div class="flex items-center gap-2 mb-2">
<i class="fa-solid fa-circle-check text-green-400"></i>
<span class="font-semibold text-green-400">Proxy Running</span>
</div>
<div class="space-y-1 text-sm">
<div class="flex items-center gap-2">
<span class="text-slate-400">Address:</span>
<span class="font-mono text-slate-200" id="proxyAddress">127.0.0.1:1080</span>
</div>
<div class="flex items-center gap-2">
<span class="text-slate-400">Protocol:</span>
<span class="font-mono text-slate-200">SOCKS5</span>
</div>
</div>
</div>
</div>
</div>
<!-- Information Panel -->
<div class="bg-slate-900/70 border border-slate-800 rounded-lg p-6 shadow-xl">
<h3 class="text-lg font-semibold mb-4 flex items-center gap-2">
<i class="fa-solid fa-circle-info"></i>
How to Use
</h3>
<div class="space-y-4 text-sm text-slate-300">
<div>
<h4 class="font-semibold text-slate-200 mb-2 flex items-center gap-2">
<i class="fa-solid fa-1 text-blue-400"></i>
Start the Proxy
</h4>
<p class="text-slate-400 pl-6">
Click "Start Proxy" to launch a SOCKS5 proxy server on the agent machine. The proxy will listen on localhost (127.0.0.1) at the specified port.
</p>
</div>
<div>
<h4 class="font-semibold text-slate-200 mb-2 flex items-center gap-2">
<i class="fa-solid fa-2 text-blue-400"></i>
Configure Your Applications
</h4>
<p class="text-slate-400 pl-6">
Configure your browser or applications on the agent machine to use the SOCKS5 proxy at 127.0.0.1:[port]. This will route traffic through the agent's network.
</p>
</div>
<div>
<h4 class="font-semibold text-slate-200 mb-2 flex items-center gap-2">
<i class="fa-solid fa-3 text-blue-400"></i>
Use Your Agent's IP
</h4>
<p class="text-slate-400 pl-6">
All traffic routed through the proxy will appear to originate from the agent's IP address and network location.
</p>
</div>
<div class="p-3 bg-yellow-500/10 border border-yellow-500/30 rounded-lg">
<div class="flex items-start gap-2">
<i class="fa-solid fa-exclamation-triangle text-yellow-400 mt-1"></i>
<div class="text-xs">
<p class="font-semibold text-yellow-300 mb-1">Note</p>
<p class="text-yellow-200/80">
The proxy runs directly on the agent machine. You need to configure applications <strong>on that machine</strong> to use it, or set up port forwarding/tunneling to access it remotely.
</p>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Command Log -->
<div class="bg-slate-900/70 border border-slate-800 rounded-lg p-4 shadow-xl">
<h3 class="text-lg font-semibold mb-4 flex items-center gap-2">
<i class="fa-solid fa-terminal"></i>
Activity Log
</h3>
<div
id="logContainer"
class="font-mono text-xs bg-slate-950/70 border border-slate-800 rounded p-3 space-y-1 overflow-auto"
style="max-height: 200px"
>
<div class="text-slate-500">Waiting for connection...</div>
</div>
</div>
</div>
</main>
<script src="https://cdn.jsdelivr.net/npm/msgpackr@1.11.8/dist/index.js"></script>
<script type="module" src="/assets/nav.js"></script>
<script type="module" src="/assets/proxy.js"></script>
</body>
</html>