diff options
| author | Olivier Gayot <duskcoder@gmail.com> | 2014-01-28 00:09:04 +0000 | 
|---|---|---|
| committer | Olivier Gayot <duskcoder@gmail.com> | 2014-01-28 00:09:04 +0000 | 
| commit | b8d4671dfd6806db6b5401bb2c95168ceba6a715 (patch) | |
| tree | 6cb1177697ea21f80ef33e76ee43ec4d49e7da3f | |
| parent | 9756784b22d6be33683b9ecb3040c67685d354f7 (diff) | |
the header shellcodes.h meant to be included only by one source file.
the global declaration of common_shellcodes_g is then useless and we
do not want it.
| -rw-r--r-- | shellcodes.h | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/shellcodes.h b/shellcodes.h index 679a0d9..1676e7f 100644 --- a/shellcodes.h +++ b/shellcodes.h @@ -24,7 +24,7 @@ typedef struct {      char *payload;  } shellcode_t; -shellcode_t common_shellcodes_g[] = { +static shellcode_t common_shellcodes_g[] = {      {          .name = "Linux x86\n"              "\texecve(\"/bin/sh\", 0, 0)",  | 
