Skip to content

Instantly share code, notes, and snippets.

@marcusbotacin
Created September 28, 2020 20:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcusbotacin/6da7ca69e64ce2cb0926d9db15a3ac18 to your computer and use it in GitHub Desktop.
Save marcusbotacin/6da7ca69e64ce2cb0926d9db15a3ac18 to your computer and use it in GitHub Desktop.
Injected DLL Loader
#ifdef INJECT
char cmd[10*NAME_SIZE] = "C:\\Windows\\system32\\rundll32.exe";
sprintf(args,"%s %s,#1",cmd,name);
CreateProcessA(cmd,args,NULL,NULL,FALSE,0,NULL,NULL,&si,&pi );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment