Skip to content

Instantly share code, notes, and snippets.

@marcusbotacin
Created September 28, 2020 20:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcusbotacin/3ce2bf71475e418a72891da6caaaf18c to your computer and use it in GitHub Desktop.
Save marcusbotacin/3ce2bf71475e418a72891da6caaaf18c to your computer and use it in GitHub Desktop.
Dropper Excerpt
for(int i=0;i<size;i++){
// byte pointer
unsigned char c1 = ((char*)data)[i];
// add your encryption/decryption routine here
// drop byte to file
fprintf(f,"%c",c1);
}
// file fully written
fclose(f);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment