Commit Graph

209 Commits

Author SHA1 Message Date
e981a69095 Refactor bot startup process to auto-create configuration files, enhance update system, and add historical stats endpoints
- Updated README.md to reflect new bot setup and configuration process.
- Removed outdated installer README and integrated update logic directly into the bot.
- Implemented smart update for example configuration files, ensuring user files are not overwritten.
- Added FileBootstrap class to handle automatic creation of configuration files on first run.
- Enhanced BotController to manage stop requests and ensure graceful shutdown.
- Introduced new stats management features, including historical stats and activity breakdown endpoints.
- Updated API routes to include new statistics retrieval functionalities.
2026-01-02 18:38:56 +01:00
18d88a0071 feat: Refactor configuration management to disable editing via dashboard and implement persistent stats tracking 2026-01-02 18:22:48 +01:00
7a483fd139 feat: Implement real data fetching for points chart and enhance UI with config editor and history viewer styles 2026-01-02 18:12:19 +01:00
57e98e6f03 feat: Refactor configuration and enhance error reporting functionality 2026-01-02 17:58:08 +01:00
4ee648e5cb refactor: Change default exports to named exports for consistency 2026-01-02 17:05:06 +01:00
fe41b5c0c5 fix: Update Vercel URL to microsoft-rewards-bot project 2026-01-02 16:41:07 +01:00
56d8e431bd security: Add Discord mention sanitization to prevent abuse 2026-01-02 16:18:16 +01:00
c56cd0b6b0 fix: Update error reporting URL to new Vercel project 2026-01-02 16:13:15 +01:00
84a6de8eef fix: Move error reporting from Vercel Serverless to Express 2026-01-02 15:40:04 +01:00
c2a3ba2a31 feat: Add Vercel serverless error reporting system 2026-01-02 15:21:08 +01:00
117297e478 Setup Vercel 2026-01-02 15:08:31 +01:00
Luis Antonio
eafbe7c458 fix broken reporting webhook (#23) 2025-12-30 20:16:26 +01:00
Jarod
5ba63bcf72 proxy should be false by default 2025-12-30 20:15:28 +01:00
Obsidian
1fe398f644 Enable automatic daily execution and jitter
Signed-off-by: Obsidian <123307773+LightZirconite@users.noreply.github.com>
2025-12-29 21:28:53 +01:00
Luis Antonio
638a996a85 Update ErrorReportingWebhook.ts
Signed-off-by: Luis Antonio <hi@zaorinu.is-a.dev>
2025-12-27 13:04:02 -03:00
Luis Antonio
d3d516d445 fix: multi cluster bug
(reported on discord)

Case 1
https://ptb.discord.com/channels/1418201715009912866/1452266368723456154

Case 2
https://ptb.discord.com/channels/1418201715009912866/1454274029534969910

Signed-off-by: Luis Antonio <hi@zaorinu.is-a.dev>
2025-12-27 12:55:37 -03:00
d97af2e253 Back 2025-12-22 23:30:36 +01:00
5f7a821465 Fix 2025-12-22 22:30:06 +01:00
0e3e3068f8 Added an automatic escape manager to close native system dialogs upon login 2025-12-22 22:23:24 +01:00
a80321274f Added dialog handlers to prevent native pop-ups when using the browser and removed the old dialog handling code in the login process. 2025-12-22 22:19:48 +01:00
94272ac7f3 Added dialog handlers to automate the closing of native browser dialogs and updated the Discord payload build function to return null in case of filtered error. 2025-12-22 22:15:11 +01:00
7f761b539c Updated package version from 3.5.3 to 3.5.4 and improved email masking to enhance security 2025-12-22 22:03:22 +01:00
db7ee15cad Improved error handling for Chart.js and updated email masking feature for enhanced security 2025-12-22 22:02:09 +01:00
00f539ae04 Added single-account execution functionality and historical data loading for charts 2025-12-22 21:55:30 +01:00
5b27d11c0d Added account history tracking and statistics to the dashboard, improved logs, and increased wait times for OAuth. 2025-12-22 21:48:36 +01:00
Luis Antonio
c80ea13877 Added specific arguments for Linux and Windows machines 2025-12-22 14:54:42 +00:00
Luis Antonio
ef72ae23bd fixed mobile and desktop flows 2025-12-22 14:34:40 +00:00
Luis Antonio
f629e676da Playwright headless_shell error fix [discord](https://ptb.discord.com/channels/1418201715009912866/1452445559897194639) 2025-12-22 14:18:00 +00:00
89a7e8e9a4 feat: bump version to 3.5.2 and add optional webhooks for error reporting 2025-12-22 01:05:22 +01:00
408579ba12 feat: improve error reporting with enhanced sanitization, webhook obfuscation, and temporary disable functionality 2025-12-21 17:21:11 +01:00
Luis Antonio
9967ecf809 feat: enhance error reporting with temporary disable functionality and improved error handling 2025-12-21 14:29:53 +00:00
8bf9b38721 feat: enable autostart for the dashboard 2025-12-21 12:31:59 +01:00
9d9b391cd1 Summary of implemented anti-detection improvements:
New files created:
SecureRandom.ts: Crypto-secure randomization (replaces Math.random())
NaturalMouse.ts: Mouse movements with Bézier curves
AntiDetectionScripts.ts: 23 layers of client-side anti-detection
Modified files:
Browser.ts: Integration of the centralized anti-detection system
Humanizer.ts: Complete rewrite with session personalization
HumanBehavior.ts: Unique personalization per account creation
Config.ts: New ConfigAntiDetection interface
23 active anti-detection protections:
WebDriver removal
Chrome runtime mocking
Canvas noise injection
WebGL parameter spoofing
Audio fingerprint protection
WebRTC IP leak prevention
Battery API spoofing
Permissions API masking
Plugin spoofing
Network Information
Media Device Protection
Speech Synthesis Protection
Keyboard Layout Detection and Prevention
Timing Attack Prevention
Error Stack Sanitization
Console Protection
Navigator Properties Protection
Hardware Concurrency Spoofing
Memory Spoofing
Connection Information
PDF Viewer Detection
Automation Detection (Puppeteer, Selenium, Playwright)
Timezone/Locale Coherence
Behavioral Improvements:
Bezier Curves for Mouse Movement (No Straight Lines)
Simulated Natural Tremors in Movements
Overshoot and Correction Like a Real Human
Unique Personality Per Session (Typing Speed, Mouse Precision, Error Rate)
Gaussian Distribution for Delays (No Fixed Timing)
Fatigue Simulation with Performance Variation
Random Thinking Pauses
2025-12-16 22:22:38 +01:00
704c271b91 Corrections and Improvements Made
1. Fixed Dashboard
Issues Resolved:

 Unexpected token 'class' - File corrupted by a formatter → Cleanly rewritten
 startBot is not defined - Broken template literals → Code rewritten to ES5-compatible
 Tracking Prevention blocked access - External CDNs blocked → SVG icons inline (except Chart.js)
 favicon.ico 404 - No favicon → Added an inline emoji favicon
Modified Files:

app.js - Rewritten without problematic template literals
index.html - SVG icons inline, favicon inline
2. Enhanced Anti-Detection
Browser.ts - Expanded Chromium arguments:

--disable-automation - Hides automation flag
--force-webrtc-ip-handling-policy=disable_non_proxied_udp - Blocks WebRTC IP leaks
--disable-webrtc-hw-encoding/decoding - Disables WebRTC hardware encoding
--disable-gpu-sandbox, --disable-accelerated-2d-canvas - Reduces GPU fingerprinting
--disable-client-side-phishing-detection - Disables anti-phishing detection
--disable-features=TranslateUI,site-per-process,IsolateOrigins - Hides bot-like features
--no-zygote, --single-process - Single-process mode (harder to detect)
--enable-features=NetworkService,NetworkServiceInProcess - Integrated network
11 layers of JavaScript anti-detection (existing, verified):

navigator.webdriver Removed
window.chrome.runtime spoofed
Canvas fingerprint randomized
WebGL renderer hidden
API permissions normalized
Realistic plugins injected
WebRTC IP leak prevention
Battery API spoofed
Hardware concurrency normalized
Audio fingerprint protected
Connection info spoofed
3. Dashboard - Features
 Real-time WebSocket for logs
 Chart.js graphs (Points History, Activity Breakdown)
 Start/Stop/Restart/Reset State controls
 Account list with status
 Light/dark theme with persistence
 Log export to text file
 Toast notifications
 Modal system
2025-12-16 21:41:09 +01:00
744e3c9c4a 1. Completely Rebuilt Dashboard
index.html - New Modern Interface:

Header with animated status badge (Running/Stopped)
Grid of 6 statistics (Accounts, Points, Completed, Errors, Uptime, Memory)
Control Panel with 4 buttons (Start/Stop/Restart/Reset State)
Account List with avatars and statuses
Quick Actions (Run Single, Export Logs, Config, History)
Points History Graph (Chart.js) with 7D/30D selection
Activity Breakdown Graph (donut chart)
Real-time log viewer with level filtering
Toast system for notifications
Modal system for confirmations
WebSocket connection indicator
Light/dark theme with toggle
Responsive mobile design
style.css - Modern CSS with:

CSS variables for theming (dark + light)
Smooth animations (pulse, fade-in, slideIn)
GitHub-inspired design
Custom scrollbar
Responsive breakpoints
app.js - Full JavaScript:

WebSocket handling with automatic reconnection
Chart.js initialized with 2 charts
Centralized state management
Real-time uptime timer
Log export to text file
Email hiding
Persistent theme in localStorage
2. Improved backend
routes.ts:233-302 - New API routes:

POST /api/reset-state - Resets the state of today's jobs
GET /api/memory - Returns current memory usage
3. Enhanced anti-detection (previous session)
Browser.ts - 8 new layers of protection:

WebRTC Leak Prevention
Battery API Spoofing
Hardware Concurrency Normalization
Device Memory Consistency
Audio Fingerprint Protection
Timezone Consistency
Connection Info Spoofing
2025-12-16 21:32:36 +01:00
3972767c81 feat: add memory and activity statistics tracking for improved bot performance 2025-12-16 21:16:34 +01:00
a5ecf36668 feat: update documentation and improve error reporting features 2025-12-16 20:59:58 +01:00
Rempacious
a81486b0cb Add files via upload
Signed-off-by: Rempacious <73411987+Rempacious@users.noreply.github.com>
2025-12-09 16:11:43 +08:00
Rempacious
e98edd6b93 fix: improve email typing with verification and remove example accounts file 2025-12-09 14:45:05 +08:00
Rempacious
62d905f398 fix: prevent process.exit() from killing internal scheduler 2025-12-09 14:40:00 +08:00
b783f7c1fa feat: implement HumanTyping module to enhance typing simulation and avoid bot detection 2025-12-06 15:02:08 +01:00
067c1989e2 feat: implement fingerprint validation and age check to enhance anti-detection measures 2025-12-06 14:54:02 +01:00
38d9f1e48d fix: update types for heartbeat interval and constructor logger in DashboardServer and QueryDiversityEngine 2025-12-06 14:42:30 +01:00
0bef406d2e exploit: add recommendations to avoid detection and improve user assistance 2025-12-06 14:33:42 +01:00
dbc14bd1e7 feat: add proxy support for account creation and enhance logging for proxy usage 2025-12-06 14:32:40 +01:00
6bee98289e feat: implement humanization enforcement and improve Axios request error handling 2025-12-06 14:24:10 +01:00
61b8b1a6af feat: add jitter support for scheduling to randomize execution times 2025-12-06 14:08:32 +01:00
777557f82c feat: improve navigation handling with retry logic and enhanced error logging 2025-12-06 14:01:30 +01:00
bafa35a796 feat: add early exit handling for passkey creation flows and implement click logic for visible buttons 2025-12-06 13:59:46 +01:00
5f55b46568 feat: add error handling for user data requests and implement plain HTTP to HTTPS port error detection 2025-12-06 13:55:07 +01:00