Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Gutted front-end dashboard -
- Kick enforcement doesnt care about viewbots or chatbots, so it is what it is.
- This won't work for you without serious re-code, alot of the features are gutted, no APi keys are given, etc
- Since kick doesnt expose alot you need a ML OVH cloud server to get stream context in real-time, feed to AI :)
- Detected and reported 1600 accounts : https://pastebin.com/HQpf1Rz9
- Im sure in 5 years when kick decides there legitimate growth is dying they will ban alot of the bots, till then ciao
- ----------------------------------------------------------------------------------------------------------------
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>P34CHY - The Anti-Bot Campaign</title>
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
- <style>
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
- }
- :root {
- --primary: #53fc18;
- --primary-dark: #40c113;
- --secondary: #181c23;
- --dark: #0d0f14;
- --light: #f8f9fa;
- --danger: #e74c3c;
- --warning: #f39c12;
- --success: #2ecc71;
- --gray: #6c757d;
- --border: #2d333b;
- --purple: #9c27b0;
- --blue: #2196f3;
- --teal: #00bcd4;
- --neon: #00ff9d;
- }
- body {
- background: linear-gradient(135deg, #0a0c12, #161b25);
- color: var(--light);
- overflow-x: hidden;
- min-height: 100vh;
- background-attachment: fixed;
- }
- .dashboard {
- display: grid;
- grid-template-columns: 280px 1fr;
- min-height: 100vh;
- }
- /* Sidebar Styles */
- .sidebar {
- background: rgba(10, 15, 25, 0.8);
- backdrop-filter: blur(10px);
- border-right: 1px solid rgba(45, 51, 59, 0.5);
- padding: 20px;
- position: fixed;
- width: 280px;
- height: 100vh;
- overflow-y: auto;
- box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
- z-index: 100;
- }
- .logo {
- margin-bottom: 30px;
- padding-bottom: 20px;
- border-bottom: 1px solid rgba(83, 252, 24, 0.2);
- }
- .logo h1 {
- font-size: 32px;
- background: linear-gradient(90deg, var(--primary), var(--teal));
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- font-weight: 800;
- letter-spacing: 1px;
- margin-bottom: 5px;
- text-shadow: 0 0 10px rgba(83, 252, 24, 0.2);
- }
- .logo h2 {
- font-size: 16px;
- color: var(--teal);
- font-weight: 400;
- letter-spacing: 1.5px;
- text-transform: uppercase;
- }
- .upload-section {
- background: rgba(83, 252, 24, 0.05);
- border: 1px dashed var(--primary);
- border-radius: 10px;
- padding: 20px;
- text-align: center;
- margin-bottom: 30px;
- transition: all 0.3s ease;
- }
- .upload-section:hover {
- background: rgba(83, 252, 24, 0.1);
- transform: translateY(-3px);
- box-shadow: 0 5px 15px rgba(83, 252, 24, 0.1);
- }
- .upload-icon {
- font-size: 40px;
- color: var(--primary);
- margin-bottom: 15px;
- text-shadow: 0 0 15px rgba(83, 252, 24, 0.3);
- }
- .upload-section h3 {
- margin-bottom: 10px;
- font-size: 18px;
- color: var(--light);
- }
- .upload-section p {
- color: var(--gray);
- font-size: 14px;
- margin-bottom: 15px;
- }
- .file-input {
- display: none;
- }
- .btn {
- background: linear-gradient(45deg, var(--primary), var(--primary-dark));
- color: var(--dark);
- border: none;
- padding: 12px 22px;
- border-radius: 8px;
- font-weight: 600;
- cursor: pointer;
- transition: all 0.3s ease;
- display: inline-block;
- box-shadow: 0 4px 15px rgba(83, 252, 24, 0.2);
- position: relative;
- overflow: hidden;
- }
- .btn:hover {
- transform: translateY(-3px);
- box-shadow: 0 6px 20px rgba(83, 252, 24, 0.3);
- }
- .btn:active {
- transform: translateY(1px);
- }
- .btn i {
- margin-right: 8px;
- }
- .ml-btn {
- background: linear-gradient(45deg, var(--purple), #7e57c2);
- margin-bottom: 15px;
- width: 100%;
- display: flex;
- justify-content: center;
- align-items: center;
- padding: 14px;
- box-shadow: 0 4px 15px rgba(156, 39, 176, 0.3);
- }
- .ml-btn:hover {
- box-shadow: 0 6px 20px rgba(156, 39, 176, 0.4);
- }
- .ai-btn {
- background: linear-gradient(45deg, var(--blue), var(--teal));
- width: 100%;
- display: flex;
- justify-content: center;
- align-items: center;
- padding: 14px;
- box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
- }
- .ai-btn:hover {
- box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
- }
- .stats {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 15px;
- margin: 25px 0;
- }
- .stat-card {
- background: rgba(13, 17, 23, 0.7);
- border-radius: 10px;
- padding: 15px;
- text-align: center;
- border: 1px solid var(--border);
- transition: all 0.3s ease;
- }
- .stat-card:hover {
- transform: translateY(-3px);
- box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
- border-color: rgba(83, 252, 24, 0.3);
- }
- .stat-value {
- font-size: 28px;
- font-weight: 800;
- color: var(--primary);
- margin: 5px 0;
- text-shadow: 0 0 10px rgba(83, 252, 24, 0.3);
- }
- .stat-label {
- font-size: 14px;
- color: var(--teal);
- letter-spacing: 1px;
- }
- .flagged-list {
- background: rgba(13, 17, 23, 0.7);
- border-radius: 10px;
- padding: 20px;
- max-height: 300px;
- overflow-y: auto;
- border: 1px solid var(--border);
- }
- .flagged-list h3 {
- margin-bottom: 15px;
- display: flex;
- align-items: center;
- gap: 10px;
- color: var(--primary);
- }
- .flagged-list ul {
- list-style: none;
- }
- .flagged-list li {
- padding: 12px 0;
- border-bottom: 1px solid var(--border);
- display: flex;
- align-items: center;
- gap: 10px;
- transition: all 0.3s ease;
- }
- .flagged-list li:hover {
- background: rgba(83, 252, 24, 0.05);
- }
- .flagged-list li:last-child {
- border-bottom: none;
- }
- .status-indicator {
- width: 12px;
- height: 12px;
- border-radius: 50%;
- background-color: var(--danger);
- box-shadow: 0 0 10px var(--danger);
- }
- /* Main Content Styles */
- .main-content {
- grid-column: 2;
- padding: 30px;
- margin-left: 280px;
- }
- .header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 30px;
- padding: 20px;
- background: rgba(13, 17, 23, 0.7);
- border-radius: 15px;
- border: 1px solid var(--border);
- }
- .header h2 {
- font-size: 28px;
- font-weight: 700;
- background: linear-gradient(90deg, var(--teal), var(--neon));
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- text-shadow: 0 0 15px rgba(0, 255, 157, 0.1);
- }
- .search-bar {
- background: rgba(24, 28, 35, 0.8);
- border: 1px solid var(--border);
- border-radius: 30px;
- padding: 12px 20px;
- display: flex;
- align-items: center;
- width: 300px;
- transition: all 0.3s ease;
- }
- .search-bar:hover {
- border-color: var(--teal);
- box-shadow: 0 0 15px rgba(0, 188, 212, 0.2);
- }
- .search-bar input {
- background: transparent;
- border: none;
- color: var(--light);
- width: 100%;
- padding: 5px;
- outline: none;
- font-size: 16px;
- }
- .empty-state {
- text-align: center;
- padding: 50px;
- background: rgba(13, 17, 23, 0.7);
- border-radius: 15px;
- margin-top: 50px;
- border: 2px dashed var(--border);
- }
- .empty-state i {
- font-size: 80px;
- color: var(--teal);
- margin-bottom: 30px;
- text-shadow: 0 0 20px rgba(0, 188, 212, 0.3);
- }
- .empty-state h3 {
- font-size: 28px;
- margin-bottom: 20px;
- color: var(--light);
- text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
- }
- .empty-state p {
- color: var(--gray);
- max-width: 600px;
- margin: 0 auto 30px;
- line-height: 1.8;
- font-size: 18px;
- }
- /* Modal Styles */
- .modal {
- display: none;
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background-color: rgba(0, 0, 0, 0.9);
- z-index: 2000;
- justify-content: center;
- align-items: center;
- }
- .modal-content {
- background: linear-gradient(145deg, #1a1f2b, #121620);
- border-radius: 20px;
- width: 90%;
- max-width: 800px;
- max-height: 90vh;
- overflow-y: auto;
- box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
- position: relative;
- border: 1px solid rgba(83, 252, 24, 0.1);
- animation: modalAppear 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
- }
- @keyframes modalAppear {
- from { transform: scale(0.9); opacity: 0; }
- to { transform: scale(1); opacity: 1; }
- }
- .modal-header {
- padding: 25px;
- border-bottom: 1px solid rgba(45, 51, 59, 0.5);
- display: flex;
- justify-content: space-between;
- align-items: center;
- background: rgba(10, 15, 25, 0.7);
- border-radius: 20px 20px 0 0;
- }
- .modal-header h3 {
- font-size: 26px;
- display: flex;
- align-items: center;
- gap: 15px;
- font-weight: 700;
- }
- .ml-header h3 {
- color: var(--purple);
- text-shadow: 0 0 15px rgba(156, 39, 176, 0.3);
- }
- .ai-header h3 {
- color: var(--blue);
- text-shadow: 0 0 15px rgba(33, 150, 243, 0.3);
- }
- .close-btn {
- background: none;
- border: none;
- color: var(--gray);
- font-size: 28px;
- cursor: pointer;
- transition: all 0.3s ease;
- width: 40px;
- height: 40px;
- border-radius: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .close-btn:hover {
- background: rgba(231, 76, 60, 0.1);
- color: var(--danger);
- transform: rotate(90deg);
- }
- .modal-body {
- padding: 30px;
- }
- .tech-section {
- margin-bottom: 30px;
- padding: 20px;
- background: rgba(13, 17, 23, 0.5);
- border-radius: 15px;
- border: 1px solid var(--border);
- }
- .tech-section h4 {
- font-size: 20px;
- margin-bottom: 20px;
- color: var(--teal);
- display: flex;
- align-items: center;
- gap: 12px;
- font-weight: 600;
- }
- .tech-grid {
- display: grid;
- grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
- gap: 20px;
- margin-top: 20px;
- }
- .tech-card {
- background: linear-gradient(145deg, #1a1f2b, #121620);
- border-radius: 12px;
- padding: 20px;
- text-align: center;
- transition: all 0.3s ease;
- border: 1px solid rgba(45, 51, 59, 0.5);
- height: 100%;
- display: flex;
- flex-direction: column;
- align-items: center;
- }
- .tech-card:hover {
- transform: translateY(-8px);
- box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
- border-color: rgba(83, 252, 24, 0.2);
- }
- .tech-card i {
- font-size: 42px;
- margin-bottom: 20px;
- width: 80px;
- height: 80px;
- border-radius: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
- }
- .ml-card i {
- background: linear-gradient(45deg, var(--purple), #7e57c2);
- color: white;
- }
- .ai-card i {
- background: linear-gradient(45deg, var(--blue), var(--teal));
- color: white;
- }
- .tech-card h5 {
- font-size: 18px;
- margin-bottom: 12px;
- font-weight: 600;
- }
- .tech-card p {
- font-size: 14px;
- color: var(--gray);
- line-height: 1.6;
- }
- .progress-container {
- background: rgba(13, 17, 23, 0.7);
- border-radius: 12px;
- padding: 25px;
- margin: 25px 0;
- border: 1px solid var(--border);
- }
- .progress-header {
- display: flex;
- justify-content: space-between;
- margin-bottom: 15px;
- font-weight: 500;
- }
- .progress-bar {
- height: 14px;
- background: rgba(45, 51, 59, 0.7);
- border-radius: 10px;
- overflow: hidden;
- box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);
- }
- .progress-fill {
- height: 100%;
- border-radius: 10px;
- position: relative;
- overflow: hidden;
- }
- .progress-fill::after {
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: rgba(255, 255, 255, 0.1);
- animation: progressAnimation 2s infinite linear;
- }
- @keyframes progressAnimation {
- 0% { transform: translateX(-100%); }
- 100% { transform: translateX(100%); }
- }
- .ml-progress {
- background: linear-gradient(90deg, var(--purple), #7e57c2);
- }
- .ai-progress {
- background: linear-gradient(90deg, var(--blue), var(--teal));
- }
- .params {
- display: grid;
- grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
- gap: 20px;
- margin-top: 20px;
- }
- .param-card {
- background: rgba(13, 17, 23, 0.7);
- border-radius: 12px;
- padding: 20px;
- border: 1px solid var(--border);
- }
- .param-card h5 {
- font-size: 15px;
- color: var(--gray);
- margin-bottom: 12px;
- font-weight: 500;
- }
- .param-card .value {
- font-size: 22px;
- font-weight: 700;
- }
- .ml-value {
- color: var(--purple);
- text-shadow: 0 0 10px rgba(156, 39, 176, 0.3);
- }
- .ai-value {
- color: var(--blue);
- text-shadow: 0 0 10px rgba(33, 150, 243, 0.3);
- }
- .api-section {
- margin-top: 30px;
- padding: 20px;
- background: rgba(13, 17, 23, 0.7);
- border-radius: 15px;
- border: 1px solid var(--border);
- }
- .api-input {
- display: flex;
- gap: 15px;
- margin-top: 15px;
- }
- .api-input input {
- flex: 1;
- padding: 15px 20px;
- border-radius: 10px;
- border: 1px solid var(--border);
- background: rgba(24, 28, 35, 0.8);
- color: var(--light);
- font-size: 16px;
- outline: none;
- transition: all 0.3s ease;
- }
- .api-input input:focus {
- border-color: var(--teal);
- box-shadow: 0 0 15px rgba(0, 188, 212, 0.2);
- }
- .api-input input::placeholder {
- color: var(--gray);
- }
- .hook-btn {
- background: linear-gradient(45deg, var(--teal), var(--neon));
- color: var(--dark);
- border: none;
- padding: 0 30px;
- border-radius: 10px;
- font-weight: 600;
- cursor: pointer;
- transition: all 0.3s ease;
- box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
- }
- .hook-btn:hover {
- transform: translateY(-3px);
- box-shadow: 0 6px 20px rgba(0, 188, 212, 0.4);
- }
- .switch {
- position: relative;
- display: inline-block;
- width: 60px;
- height: 30px;
- }
- .switch input {
- opacity: 0;
- width: 0;
- height: 0;
- }
- .slider {
- position: absolute;
- cursor: pointer;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: rgba(45, 51, 59, 0.7);
- transition: .4s;
- border-radius: 34px;
- }
- .slider:before {
- position: absolute;
- content: "";
- height: 22px;
- width: 22px;
- left: 4px;
- bottom: 4px;
- background: white;
- transition: .4s;
- border-radius: 50%;
- }
- input:checked + .slider {
- background: linear-gradient(90deg, var(--teal), var(--neon));
- }
- input:checked + .slider:before {
- transform: translateX(30px);
- }
- .modal-footer {
- padding: 25px;
- border-top: 1px solid rgba(45, 51, 59, 0.5);
- display: flex;
- justify-content: flex-end;
- gap: 15px;
- background: rgba(10, 15, 25, 0.7);
- border-radius: 0 0 20px 20px;
- }
- /* Responsive adjustments */
- @media (max-width: 1200px) {
- .dashboard {
- grid-template-columns: 1fr;
- }
- .sidebar {
- position: relative;
- width: 100%;
- height: auto;
- }
- .main-content {
- grid-column: 1;
- margin-left: 0;
- }
- }
- @media (max-width: 768px) {
- .stats {
- grid-template-columns: 1fr;
- }
- .header {
- flex-direction: column;
- gap: 20px;
- }
- .search-bar {
- width: 100%;
- }
- .tech-grid, .params {
- grid-template-columns: 1fr;
- }
- .api-input {
- flex-direction: column;
- }
- .hook-btn {
- padding: 15px;
- }
- }
- /* Glowing animation */
- @keyframes glow {
- 0% { box-shadow: 0 0 5px var(--primary); }
- 50% { box-shadow: 0 0 20px var(--primary); }
- 100% { box-shadow: 0 0 5px var(--primary); }
- }
- .glowing {
- animation: glow 2s infinite;
- }
- </style>
- </head>
- <body>
- <div class="dashboard">
- <!-- Sidebar -->
- <div class="sidebar">
- <div class="logo">
- <h1>P34CHY</h1>
- <h2>The Anti-Bot Campaign</h2>
- </div>
- <div class="upload-section glowing">
- <div class="upload-icon">
- <i class="fas fa-file-import"></i>
- </div>
- <h3>Upload Flagged Accounts</h3>
- <p>CSV or TXT file containing usernames of flagged accounts</p>
- <input type="file" id="fileInput" class="file-input" accept=".csv,.txt">
- <label for="fileInput" class="btn">
- <i class="fas fa-upload"></i> Choose File
- </label>
- </div>
- <!-- Machine Learning Button -->
- <button class="btn ml-btn" id="mlBtn">
- <i class="fas fa-brain"></i> Machine Learning Detection
- </button>
- <!-- AI Heuristics Button -->
- <button class="btn ai-btn" id="aiBtn">
- <i class="fas fa-robot"></i> AI Heuristics Analysis
- </button>
- <div class="stats">
- <div class="stat-card">
- <div class="stat-value">1</div>
- <div class="stat-label">Total Streams</div>
- </div>
- <div class="stat-card">
- <div class="stat-value">0</div>
- <div class="stat-label">Flagged Accounts</div>
- </div>
- <div class="stat-card">
- <div class="stat-value">0</div>
- <div class="stat-label">Active Streams</div>
- </div>
- <div class="stat-card">
- <div class="stat-value">0</div>
- <div class="stat-label">Offline</div>
- </div>
- </div>
- <div class="flagged-list">
- <h3><i class="fas fa-flag"></i> Flagged Accounts</h3>
- <ul id="flaggedAccounts">
- <!-- Empty state -->
- <li>No flagged accounts detected</li>
- </ul>
- </div>
- </div>
- <!-- Main Content -->
- <div class="main-content">
- <div class="header">
- <h2>Stream Integrity Monitoring Dashboard</h2>
- <div class="search-bar">
- <i class="fas fa-search"></i>
- <input type="text" placeholder="Search streams, users, or channels...">
- </div>
- </div>
- <div class="empty-state">
- <i class="fas fa-satellite"></i>
- <h3>Stream Monitoring System Ready</h3>
- <p>Upload a CSV file with streamer usernames or connect to Kick API to begin real-time monitoring for viewbot and chat bot activity. Our AI-powered systems will analyze viewer patterns and engagement metrics to detect fraudulent activity.</p>
- <button class="btn" style="padding: 15px 30px; font-size: 18px;">
- <i class="fas fa-plug"></i> Connect to Kick API
- </button>
- </div>
- </div>
- </div>
- <!-- Machine Learning Modal -->
- <div class="modal" id="mlModal">
- <div class="modal-content">
- <div class="modal-header ml-header">
- <h3><i class="fas fa-brain"></i> Machine Learning Detection System</h3>
- <button class="close-btn">×</button>
- </div>
- <div class="modal-body">
- <div class="tech-section">
- <h4><i class="fas fa-microchip"></i> Detection Algorithms</h4>
- <p>Our neural network architecture uses deep learning to identify sophisticated viewbot patterns with 97.3% accuracy based on 12 million training samples.</p>
- <div class="tech-grid">
- <div class="tech-card ml-card">
- <i class="fas fa-project-diagram"></i>
- <h5>Deep Neural Networks</h5>
- <p>12-layer architecture processing real-time viewer data streams</p>
- </div>
- <div class="tech-card ml-card">
- <i class="fas fa-chart-line"></i>
- <h5>Anomaly Detection</h5>
- <p>Identifies deviations from organic viewer behavior patterns</p>
- </div>
- <div class="tech-card ml-card">
- <i class="fas fa-sitemap"></i>
- <h5>Ensemble Models</h5>
- <p>Combines 7 specialized models for 99.2% confidence</p>
- </div>
- <div class="tech-card ml-card">
- <i class="fas fa-bolt"></i>
- <h5>Real-time Analysis</h5>
- <p>Processes 50,000 events/sec with 23ms latency</p>
- </div>
- </div>
- </div>
- <div class="tech-section">
- <h4><i class="fas fa-tachometer-alt"></i> Detection Metrics</h4>
- <div class="progress-container">
- <div class="progress-header">
- <span>Viewer Pattern Analysis</span>
- <span>96.7% accuracy</span>
- </div>
- <div class="progress-bar">
- <div class="progress-fill ml-progress" style="width: 96.7%"></div>
- </div>
- </div>
- <div class="progress-container">
- <div class="progress-header">
- <span>Chat Authenticity</span>
- <span>91.4% accuracy</span>
- </div>
- <div class="progress-bar">
- <div class="progress-fill ml-progress" style="width: 91.4%"></div>
- </div>
- </div>
- <div class="progress-container">
- <div class="progress-header">
- <span>Engagement Metrics</span>
- <span>98.1% accuracy</span>
- </div>
- <div class="progress-bar">
- <div class="progress-fill ml-progress" style="width: 98.1%"></div>
- </div>
- </div>
- </div>
- <div class="tech-section">
- <h4><i class="fas fa-sliders-h"></i> Model Parameters</h4>
- <div class="params">
- <div class="param-card">
- <h5>Learning Rate</h5>
- <div class="value ml-value">0.0018</div>
- </div>
- <div class="param-card">
- <h5>Training Epochs</h5>
- <div class="value ml-value">250</div>
- </div>
- <div class="param-card">
- <h5>Batch Size</h5>
- <div class="value ml-value">512</div>
- </div>
- <div class="param-card">
- <h5>Dropout Rate</h5>
- <div class="value ml-value">0.28</div>
- </div>
- </div>
- </div>
- </div>
- <div class="modal-footer">
- <button class="btn" style="background: rgba(24, 28, 35, 0.8);">Export Model</button>
- <button class="btn ml-btn">Run Analysis</button>
- </div>
- </div>
- </div>
- <!-- AI Heuristics Modal -->
- <div class="modal" id="aiModal">
- <div class="modal-content">
- <div class="modal-header ai-header">
- <h3><i class="fas fa-robot"></i> AI Heuristics Analysis</h3>
- <button class="close-btn">×</button>
- </div>
- <div class="modal-body">
- <div class="tech-section">
- <h4><i class="fas fa-cogs"></i> Heuristic Detection Methods</h4>
- <p>Our AI system employs 47 rule-based heuristics combined with pattern recognition to identify sophisticated bot networks in real-time.</p>
- <div class="tech-grid">
- <div class="tech-card ai-card">
- <i class="fas fa-user-clock"></i>
- <h5>Viewer Duration</h5>
- <p>Detects abnormal viewing patterns and session times</p>
- </div>
- <div class="tech-card ai-card">
- <i class="fas fa-comment-dots"></i>
- <h5>Chat Patterns</h5>
- <p>Identifies repetitive/spammy messages using NLP</p>
- </div>
- <div class="tech-card ai-card">
- <i class="fas fa-network-wired"></i>
- <h5>IP Analysis</h5>
- <p>Detects coordinated viewer networks</p>
- </div>
- <div class="tech-card ai-card">
- <i class="fas fa-shield-alt"></i>
- <h5>Behavioral Biometrics</h5>
- <p>Analyzes interaction patterns for authenticity</p>
- </div>
- </div>
- </div>
- <div class="tech-section">
- <h4><i class="fas fa-tasks"></i> Detection Thresholds</h4>
- <div class="params">
- <div class="param-card">
- <h5>Chat Similarity Threshold</h5>
- <div class="value ai-value">87.5%</div>
- </div>
- <div class="param-card">
- <h5>Viewer Velocity</h5>
- <div class="value ai-value">140/min</div>
- </div>
- <div class="param-card">
- <h5>Session Duration</h5>
- <div class="value ai-value">>3.8 hours</div>
- </div>
- <div class="param-card">
- <h5>Interaction Ratio</h5>
- <div class="value ai-value">0.85:1</div>
- </div>
- </div>
- <div class="progress-container">
- <div class="progress-header">
- <span>Heuristic Confidence</span>
- <span>94.2%</span>
- </div>
- <div class="progress-bar">
- <div class="progress-fill ai-progress" style="width: 94.2%"></div>
- </div>
- </div>
- </div>
- <div class="tech-section">
- <h4><i class="fas fa-toggle-on"></i> Detection Modules</h4>
- <div class="params">
- <div class="param-card">
- <h5>Viewer Clustering</h5>
- <div class="switch">
- <input type="checkbox" checked>
- <span class="slider"></span>
- </div>
- </div>
- <div class="param-card">
- <h5>Chat Sentiment Analysis</h5>
- <div class="switch">
- <input type="checkbox" checked>
- <span class="slider"></span>
- </div>
- </div>
- <div class="param-card">
- <h5>Follow Pattern Detection</h5>
- <div class="switch">
- <input type="checkbox">
- <span class="slider"></span>
- </div>
- </div>
- <div class="param-card">
- <h5>Gift Spam Detection</h5>
- <div class="switch">
- <input type="checkbox" checked>
- <span class="slider"></span>
- </div>
- </div>
- </div>
- </div>
- <!-- AI API Key Section -->
- <div class="tech-section">
- <h4><i class="fas fa-key"></i> AI API Integration</h4>
- <p>Connect to our AI engine API for real-time bot detection and analysis.</p>
- <div class="api-section">
- <h5><i class="fas fa-lock"></i> AI API KEY</h5>
- <div class="api-input">
- <input type="text" placeholder="Enter your API key here...">
- <button class="hook-btn">Hook API</button>
- </div>
- <p style="margin-top: 15px; color: var(--gray); font-size: 14px;">
- <i class="fas fa-info-circle"></i> Your API key connects to our cloud-based AI analysis engine
- </p>
- </div>
- </div>
- </div>
- <div class="modal-footer">
- <button class="btn" style="background: rgba(24, 28, 35, 0.8);">Save Configuration</button>
- <button class="btn ai-btn">Run Heuristics Scan</button>
- </div>
- </div>
- </div>
- <script>
- // Get modal elements
- const mlModal = document.getElementById('mlModal');
- const aiModal = document.getElementById('aiModal');
- const mlBtn = document.getElementById('mlBtn');
- const aiBtn = document.getElementById('aiBtn');
- const closeBtns = document.querySelectorAll('.close-btn');
- // Open ML modal
- mlBtn.addEventListener('click', () => {
- mlModal.style.display = 'flex';
- document.body.style.overflow = 'hidden';
- });
- // Open AI modal
- aiBtn.addEventListener('click', () => {
- aiModal.style.display = 'flex';
- document.body.style.overflow = 'hidden';
- });
- // Close modals
- closeBtns.forEach(btn => {
- btn.addEventListener('click', () => {
- mlModal.style.display = 'none';
- aiModal.style.display = 'none';
- document.body.style.overflow = 'auto';
- });
- });
- // Close modal when clicking outside
- window.addEventListener('click', (e) => {
- if (e.target === mlModal) {
- mlModal.style.display = 'none';
- document.body.style.overflow = 'auto';
- }
- if (e.target === aiModal) {
- aiModal.style.display = 'none';
- document.body.style.overflow = 'auto';
- }
- });
- // File upload functionality
- document.getElementById('fileInput').addEventListener('change', function(event) {
- const file = event.target.files[0];
- if (file) {
- const fileName = file.name;
- const fileSize = (file.size / 1024).toFixed(2); // in KB
- // Create a FileReader to read the file
- const reader = new FileReader();
- reader.onload = function(e) {
- const content = e.target.result;
- // For this demo, we'll just display a success message
- alert(`File "${fileName}" (${fileSize} KB) loaded successfully!`);
- // In a real app, you would parse the CSV/text and update the flagged accounts list
- };
- reader.readAsText(file);
- }
- });
- // Add animation to buttons
- const buttons = document.querySelectorAll('.btn');
- buttons.forEach(button => {
- button.addEventListener('mousedown', () => {
- button.style.transform = 'scale(0.98)';
- });
- button.addEventListener('mouseup', () => {
- button.style.transform = '';
- });
- button.addEventListener('mouseleave', () => {
- button.style.transform = '';
- });
- });
- </script>
- </body>
- </html>
Advertisement