1 个仓库
Runs a non-PowerShell command with elevated privileges using the -d flag to avoid spawning a new PowerShell instance.
Distinct from Process Privilege Elevation: Distinct from Process Privilege Elevation: focuses on elevating CMD commands specifically, avoiding PowerShell invocation.
Explore 1 awesome GitHub repository matching security & cryptography · CMD Command 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 non-PowerShell command with elevated privileges using the -d flag to avoid spawning a new PowerShell instance.