1 个仓库
Attaches the elevated process to the caller's console window, preserving colors, keyboard input, and I/O redirection.
Distinct from Process Privilege Elevation: Distinct from Process Privilege Elevation: focuses on attaching the elevated process to the caller's console window rather than general token manipulation.
Explore 1 awesome GitHub repository matching security & cryptography · Console-Attached Elevation. Refine with filters or upvote what's useful.
gsudo is a command-line utility for Windows that elevates any command with administrator privileges directly from the current console window. It functions as a sudo-style tool, detecting the active shell environment—whether CMD, PowerShell, WSL, or Bash—and running the elevated command natively within that shell without spawning a new window. The tool preserves full console features including colors, keyboard input, auto-completion, and I/O redirection during elevated execution. A key differentiator is gsudo's credential caching system, which stores UAC-approved tokens in a background daemon
Attaches elevated processes to the caller's console window, preserving full terminal features.