Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Sudo command for Windows. Supports both x86 and x86_64 arch.

License

NotificationsYou must be signed in to change notification settings

sec248/asudo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple, minimal and limited sudo command for Windows. Written in x86 Assembly and the executable size is around ~4kb

Use masm32 to compile.

Features

  • Sets directory before executing
  • Supports x86 and x86_64
  • Works

Limitations

  • Max command length is 2kb (2048 byte). For bigger commands, run a batch file.
  • No configurations like sudo
  • Designed for CMD and PowerShell.

Installation

Download the latest binaries fromReleases and add folder to the PATH.

Usage

First parameter only can bec ork

  • c: Closes after execute
  • k: Keeps after execute

Next parameter is the command will run, must be in quotes if your command includes space.

Example usage(s):

  • asudo c powershell
  • asudo c notepad
  • asudo c "echo hello"
  • asudo k "echo hello"

License

Asudo is licensed with the MIT license.


[8]ページ先頭

©2009-2025 Movatter.jp