Skip to content

feat(rbx_cookie): add wsl cookie support for windows credential manager#247

Open
christopher-buss wants to merge 1 commit intoblake-mealey:mainfrom
christopher-buss:feature/wsl-cookie-support
Open

feat(rbx_cookie): add wsl cookie support for windows credential manager#247
christopher-buss wants to merge 1 commit intoblake-mealey:mainfrom
christopher-buss:feature/wsl-cookie-support

Conversation

@christopher-buss
Copy link

@christopher-buss christopher-buss commented Jun 29, 2025

Add WSL Cookie Support for Windows Credential Manager

Resolves #231

Summary

  • Adds support for accessing Roblox Studio cookies from WSL environments
  • Enables Mantle deployment from WSL when Roblox Studio is installed on Windows host
  • Implements secure PowerShell execution using -EncodedCommand to prevent shell injection

Changes

  • New wsl_windows.rs module: Handles WSL detection and Windows API calls via PowerShell
  • Enhanced credential discovery: Uses cmdkey + P/Invoke CredRead API for robust credential access
  • Registry fallback: Supports legacy cookie storage in Windows Registry
  • Minimal dependencies: base64 dependency only included on Linux (not Android)

Add support for accessing Roblox Studio cookies from WSL environments by calling Windows Credential Manager and Registry APIs via PowerShell.

- Add wsl_windows module with secure PowerShell execution using -EncodedCommand
- Implement credential discovery via cmdkey and P/Invoke CredRead API

Enables Mantle deployment from WSL environments where Roblox Studio is installed on the Windows host.
@vercel
Copy link

vercel bot commented Jun 29, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mantle-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 29, 2025 10:53pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rbx_cookie does not consider WSL as a windows operating system

1 participant