Skip to content

otterpwn/RunasCpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RunasCpp

This is a C++ version of antonioCoco's RunasCs I made without looking at the original sourcecode. It's not really anything revolutionary but I wanted to learn how it works and write one from scratch to see if I'd be able to figure it out.

How to use it

The tool supports the following arguments (not necessarily in this order)

--username    - username of the user you want to run the process as
--password    - password of the user you want to run the process as
--processpath - path of the binary to execute
--domain      - domain of the user to impersonate
                if a domain is not defined the tool will automatically default to the local hostname
--args        - string of arguments to pass to the binary specified in `--processpath`

Demo

2024-06-25.18-52-05.mp4

VirusTotal Results

Kleenscan Results

About

As the name suggests - RunasCs... but in C++

Resources

Stars

Watchers

Forks