Created
August 25, 2017 21:47
-
-
Save LightningStalker/027ae0b41eae6ae30d0b45a2d4e08557 to your computer and use it in GitHub Desktop.
Gisting some things over from Pastebin
This file contains hidden or 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
| /* argvdump.c | |
| * Dumps all command line arguments | |
| * Useful for debugging programs that call other programs | |
| * Just create a symlink with the name of your target application. | |
| * The Lightning Stalker 2013 | |
| */ | |
| #include <stdio.h> | |
| int main (int argc, char **argv) | |
| { | |
| int i; | |
| fprintf (stderr, "%s ", argv[0]); | |
| for (i = 1; i < argc; i++) | |
| fprintf (stderr, "\"%s\" ", argv[i]); | |
| fputs ("\n", stderr); | |
| return (0); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment