Created
February 19, 2013 17:06
-
-
Save gjpower/4987789 to your computer and use it in GitHub Desktop.
Troll Packet Creator
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
#include "stdio.h" | |
#define DLE 0x10 | |
int main (int argc, char** argv) { | |
FILE *output; | |
output = fopen("troll.data","w"); | |
if (output==NULL) { | |
return -1; | |
} | |
int i; | |
for( i=0; i<1000; i++) { | |
fputc(DLE, output); | |
} | |
fclose(output); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment