203 lines
5.0 KiB
HTML
203 lines
5.0 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Chrome's Hammer</title>
|
|
<style>
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
|
|
background: #2d3748;
|
|
color: white;
|
|
padding: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 100vh;
|
|
}
|
|
.container {
|
|
text-align: center;
|
|
max-width: 380px;
|
|
}
|
|
h1 {
|
|
font-size: 24px;
|
|
margin-bottom: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
}
|
|
.icon {
|
|
font-size: 32px;
|
|
}
|
|
.status {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
backdrop-filter: blur(10px);
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
margin: 20px 0;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
.status-item {
|
|
margin: 10px 0;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-size: 14px;
|
|
}
|
|
.label {
|
|
font-weight: 500;
|
|
opacity: 0.9;
|
|
}
|
|
.value {
|
|
font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
padding: 4px 10px;
|
|
border-radius: 6px;
|
|
font-size: 13px;
|
|
}
|
|
.indicator {
|
|
display: inline-block;
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
margin-right: 8px;
|
|
animation: pulse 2s infinite;
|
|
}
|
|
.indicator.active {
|
|
background: #48bb78;
|
|
box-shadow: 0 0 10px #48bb78;
|
|
}
|
|
.indicator.inactive {
|
|
background: #f56565;
|
|
box-shadow: 0 0 10px #f56565;
|
|
}
|
|
@keyframes pulse {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.5; }
|
|
}
|
|
.info {
|
|
font-size: 12px;
|
|
opacity: 0.7;
|
|
margin-top: 15px;
|
|
line-height: 1.5;
|
|
}
|
|
.heartbeat {
|
|
font-size: 11px;
|
|
opacity: 0.5;
|
|
margin-top: 12px;
|
|
}
|
|
.stats-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 10px;
|
|
margin-top: 15px;
|
|
padding-top: 15px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
.stat-box {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
padding: 10px;
|
|
border-radius: 8px;
|
|
}
|
|
.stat-label {
|
|
font-size: 10px;
|
|
opacity: 0.7;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
margin-bottom: 4px;
|
|
}
|
|
.stat-value {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
|
|
}
|
|
.connections-list {
|
|
margin-top: 15px;
|
|
text-align: left;
|
|
}
|
|
.connection-item {
|
|
font-size: 11px;
|
|
opacity: 0.8;
|
|
padding: 4px 0;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
.connection-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<h1><span class="icon">🔨</span> Chrome's Hammer</h1>
|
|
|
|
<div class="status">
|
|
<div class="status-item">
|
|
<span class="label">Status</span>
|
|
<span class="value">
|
|
<span class="indicator active" id="indicator"></span>
|
|
<span id="status">Running</span>
|
|
</span>
|
|
</div>
|
|
<div class="status-item">
|
|
<span class="label">Host</span>
|
|
<span class="value">127.0.0.1</span>
|
|
</div>
|
|
<div class="status-item">
|
|
<span class="label">Port</span>
|
|
<span class="value">1080</span>
|
|
</div>
|
|
<div class="status-item">
|
|
<span class="label">Protocol</span>
|
|
<span class="value">SOCKS5</span>
|
|
</div>
|
|
|
|
<div class="stats-grid">
|
|
<div class="stat-box">
|
|
<div class="stat-label">Active Connections</div>
|
|
<div class="stat-value" id="activeConnections">0</div>
|
|
</div>
|
|
<div class="stat-box">
|
|
<div class="stat-label">Total Connections</div>
|
|
<div class="stat-value" id="totalConnections">0</div>
|
|
</div>
|
|
<div class="stat-box">
|
|
<div class="stat-label">Data Received</div>
|
|
<div class="stat-value" id="bytesReceived">0 B</div>
|
|
</div>
|
|
<div class="stat-box">
|
|
<div class="stat-label">Data Sent</div>
|
|
<div class="stat-value" id="bytesSent">0 B</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="status-item" style="margin-top: 15px;">
|
|
<span class="label">Uptime</span>
|
|
<span class="value" id="uptime">0s</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="connections-list" id="connectionsList" style="display: none;">
|
|
<div style="font-size: 11px; opacity: 0.7; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px;">
|
|
Active Connections
|
|
</div>
|
|
</div>
|
|
|
|
<div class="info">
|
|
Keep this window open to maintain connection.
|
|
</div>
|
|
|
|
<div class="heartbeat" id="heartbeat">
|
|
Last heartbeat: --
|
|
</div>
|
|
</div>
|
|
|
|
<script src="window.js"></script>
|
|
</body>
|
|
</html>
|