Skip to content

pwnlog/SharpRunAs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SharpRunAs

Run a command as another user.

Menu


   _____ _                      _____
  / ____| |                    |  __ \               /\
 | (___ | |__   __ _ _ __ _ __ | |__) |   _ _ __    /  \   ___
  \___ \| '_ \ / _` | '__| '_ \|  _  / | | | '_ \  / /\ \ / __|
  ____) | | | | (_| | |  | |_) | | \ \ |_| | | | |/ ____ \\__ \
 |_____/|_| |_|\__,_|_|  | .__/|_|  \_\__,_|_| |_/_/    \_\___/
                         | |
                         |_|

                    Author: @pwnlog
                    Version: 0.0.1


Usage:
    SharpRunAs --username <username> --password <password> --cmd <command>


Options:
    -u, --username       User name
    -p, --password       User password
    -c, --cmd            Command to execute as another user
    -h, --help           Display help menu


Important:
    Only use single quotes (' ') when there are special characters
    If there aren't any special characters don't use single quotes (' '), instead use double quotes


Examples:
    SharpRunAs --username bob.smith --password 'p@$$w0rd' --cmd 'powershell -c whoami'
    SharpRunAs --username bob.smith --password 'p@$$w0rd' --cmd 'powershell -c whoami'

Usage

Run a command as another user by proving valid credentials:

.\SharpRunAs.exe --username Administrator --password 'p@$$w0rd!' --cmd 'powershell -c whoami'

About

Run a command as another user

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages