306 Commits

Author SHA1 Message Date
Obsidian
5bd684aae2 Fix browser autoclosing on windows (#21) 2025-12-22 16:08:27 +01:00
Luis Antonio
3d973f2e3b Remove src/config.jsonc from .gitignore
That was an specific config leftover from testings

Signed-off-by: Luis Antonio <hi@zaorinu.is-a.dev>
2025-12-22 12:02:59 -03: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
Obsidian
26ab1c8962 Update package version to 3.5.1
Signed-off-by: Obsidian <123307773+LightZirconite@users.noreply.github.com>
2025-12-21 17:22:50 +01:00
Obsidian
c8d6b4a17b Bump version from 3.5.0 to 3.5.1
Signed-off-by: Obsidian <123307773+LightZirconite@users.noreply.github.com>
2025-12-21 17:22:32 +01:00
408579ba12 feat: improve error reporting with enhanced sanitization, webhook obfuscation, and temporary disable functionality 2025-12-21 17:21:11 +01:00
Obsidian
e3e8f88546 Merge pull request #20 from zaorinu/main
feat: enhance error reporting with temporary disable functionality and improved error handling
2025-12-21 16:47:13 +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
703139bcca Merge branch 'main' of https://github.com/LightZirconite/Microsoft-Rewards-Bot 2025-12-21 12:32:05 +01:00
8bf9b38721 feat: enable autostart for the dashboard 2025-12-21 12:31:59 +01:00
Obsidian
7b1d50d3f5 Merge pull request #19 from LightZirconite/LightZirconite-patch-1
Update README.md
2025-12-21 12:29:33 +01:00
Obsidian
50a30a34ea Update README.md
Signed-off-by: Obsidian <123307773+LightZirconite@users.noreply.github.com>
2025-12-21 12:29:13 +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
V3.5
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 v3 2025-12-16 21:16:34 +01:00
5f17af5b4d Update 2025-12-16 21:03:42 +01:00
a5ecf36668 feat: update documentation and improve error reporting features 2025-12-16 20:59:58 +01:00
Obsidian
1a19c880f7 Merge pull request #18 from Rempacious/email-fix
Email cutoff fix due to type() and improved internal scheduling
2025-12-09 19:26:41 +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
dc428b4ca4 V3 2025-12-06 15:06:14 +01:00
7bfdf0f61c s 2025-12-06 15:05:58 +01:00
6779438738 V3 2025-12-06 15:05:43 +01:00
da59e64bb3 s 2025-12-06 15:05:31 +01:00
8d3a041354 V3 2025-12-06 15:04:56 +01:00
c0fbe033ef s 2025-12-06 15:04:36 +01:00
6837348a8c feat: mettre à jour la version à 3.0.0 dans package.json et package-lock.json 2025-12-06 15:03:52 +01: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
76ed1ca9a6 feat: add password option selectors and improve password link handling in login flow 2025-12-06 13:52:52 +01:00
87166cf3ea refactor: remove obsolete test files for SummaryReporter, LoginStateDetector, MobileRetryTracker, QueryDiversityEngine, sanitize, search, smartWait, and webhookPreview
- Deleted tests for SummaryReporter, ensuring no redundant tests remain.
- Removed LoginStateDetector tests to streamline the validation process.
- Cleaned up MobileRetryTracker tests to eliminate unnecessary complexity.
- Purged QueryDiversityEngine tests to focus on essential functionalities.
- Eliminated sanitize tests to reduce clutter in the test suite.
- Removed search tests to enhance maintainability and clarity.
- Deleted smartWait tests to simplify the testing framework.
- Cleared webhookPreview tests to maintain a clean codebase.
2025-12-06 13:47:25 +01:00
a74a009c10 feat: implement WebSocket heartbeat mechanism and apply API rate limiter 2025-12-06 13:41:10 +01:00
eda43ff7d9 feat: add request ID and stack snippet to error reports; update scheduling documentation 2025-12-06 13:38:02 +01:00
0c8fcfc597 feat: add error reporting token validation and update documentation 2025-12-06 13:32:02 +01:00
b562af43ca docs: update documentation with navigation links to improve accessibility 2025-12-06 13:21:03 +01:00
64352fa306 Refactor documentation and add new features
- Updated index.md to simplify structure and focus on task-oriented guides.
- Revised notifications.md to streamline setup instructions and improve clarity.
- Added report-error.js for structured error reporting to Discord.
- Introduced account-creation.md and configuration.md for detailed guidance on account setup and bot configuration.
- Created dashboard.md, docker.md, error-reporting.md, modes.md, running.md, scheduling.md, setup.md, troubleshooting.md, and update.md for comprehensive documentation on respective features and usage.
- Updated package-lock.json and package.json to include peer dependencies.
2025-12-06 13:13:20 +01:00
Obsidian
a149c54013 Merge pull request #16 from LightZirconite/LightZirconite-patch-1
Update version badge to v2.60.1 and add tags
2025-12-05 08:05:02 +01:00