Commit Graph

88 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
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
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
Luis Antonio
638a996a85 Update ErrorReportingWebhook.ts
Signed-off-by: Luis Antonio <hi@zaorinu.is-a.dev>
2025-12-27 13:04:02 -03: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
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
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
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
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
e98edd6b93 fix: improve email typing with verification and remove example accounts file 2025-12-09 14:45:05 +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
6bee98289e feat: implement humanization enforcement and improve Axios request error handling 2025-12-06 14:24:10 +01:00
6be7763698 feat: add extractBalancedObject utility and tests; enhance dashboard parsing 2025-11-15 14:46:44 +01:00
cf0611d841 feature: Update the version to 2.60.0 and improve the handling of human gestures, etc. 2025-11-15 12:35:09 +01:00
6eb175d4e1 fix: Improve activity management by replacing fixed delay with fast failure for unavailable activities 2025-11-14 21:24:17 +01:00
cbd05d128e fix: Improve error handling and logging across multiple modules; enhance compatibility for legacy formats 2025-11-14 20:56:48 +01:00
4c71e603ca fix: Improve error handling and retry logic for OAuth token exchange; update session file paths to use process.cwd() 2025-11-14 08:04:46 +01:00
be826f4d12 fix: Update version to 2.60.0 and enhance documentation with new commands and troubleshooting tips 2025-11-13 23:34:20 +01:00
4bf63835f1 feat: Enhance output formatting for validation results and daily run summary 2025-11-13 20:35:47 +01:00
5651f62088 Fix error 2025-11-13 20:23:57 +01:00
e098bdec64 Fix error 2025-11-13 17:25:37 +01:00
3b06b4ae83 feat: Implement internal scheduler for automatic daily execution with timezone detection 2025-11-13 15:19:35 +01:00
2959fc8c73 Feature: Improved handling of wait times for page checks and reloads, using a 10s timeout for slower networks 2025-11-13 14:37:17 +01:00
8aa2e8bb6d feat: Enhance error reporting with additional expected error handling and improved logging for failures 2025-11-11 20:59:25 +01:00
3f65ac83cd Error correction 2025-11-11 15:01:02 +01:00
108c9bf215 feature: Improve wait times with adaptive detection for better element responsiveness 2025-11-11 14:48:57 +01:00
53fe16b1cc feat: Implement smart waiting utilities for improved page readiness and element detection
- Added `waitForPageReady` and `waitForElementSmart` functions to replace fixed timeouts with intelligent checks.
- Updated various parts of the codebase to utilize the new smart wait functions, enhancing performance and reliability.
- Improved logging for page readiness and element detection.
- Refactored login and browser functions to reduce unnecessary waits and enhance user experience.
- Fixed selector for MORE_ACTIVITIES to avoid strict mode violations.
- Added unit tests for smart wait utilities to ensure functionality and performance.
2025-11-11 14:20:37 +01:00
4d9ad85682 feat: Add warning for unconfigured risk management policies in StartupValidator 2025-11-11 13:44:46 +01:00
89bc226d6b New structure 2025-11-11 12:59:42 +01:00
088a3a024f feat: Enhance Microsoft Rewards Bot with recovery email normalization and improved logging
- Added `normalizeRecoveryEmail` utility function for consistent recovery email validation.
- Improved logging functionality in `Logger.ts` with enhanced edge case handling and null checks.
- Centralized browser cleanup logic in `BrowserFactory.ts` to eliminate duplication.
- Refactored error handling and message formatting in `Utils.ts` for better clarity and consistency.
- Updated various log messages for improved readability and consistency across the codebase.
- Implemented periodic cleanup of webhook buffers in `Logger.ts` using centralized constants.
2025-11-11 12:31:27 +01:00
a6fbe9c72e Corrige la logique de jitter pour garantir une augmentation du délai dans le mécanisme de retry 2025-11-10 23:05:03 +01:00
84a4461a2f Improved error handling and added protection against race conditions in the bot controller. Extracted Microsoft domain verification for better maintainability. Added support for custom activity managers and improved documentation. 2025-11-10 22:20:34 +01:00
e9a1e2dbcf Clean up and fix 2025-11-10 22:11:52 +01:00
04a1a4c0a4 Clean up 2025-11-10 19:57:43 +01:00
967801515f feat: Simplify update process by removing deprecated methods and enhancing README; improve type safety in tests 2025-11-09 22:23:46 +01:00
842218ca4d feat: Refactor configuration files for clarity and structure; enhance error reporting with obfuscated webhook URL 2025-11-09 19:38:32 +01:00
123b2f76b8 feat: Refactor compromised mode handling and improve error logging across flows 2025-11-09 18:45:43 +01:00