1 repository
Runs a program with administrator privileges while keeping the elevated process attached to the current console window for seamless interaction.
Distinct from Process Privilege Elevation: Distinct from Process Privilege Elevation: focuses on keeping the elevated process attached to the caller's console window, not just token manipulation.
Explore 1 awesome GitHub repository matching security & cryptography · Same-Console Elevations. 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
Runs a program with administrator privileges while keeping the elevated process attached to the current console window for seamless interaction.