summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2014-01-28 00:09:04 +0000
committerOlivier Gayot <duskcoder@gmail.com>2014-01-28 00:09:04 +0000
commitb8d4671dfd6806db6b5401bb2c95168ceba6a715 (patch)
tree6cb1177697ea21f80ef33e76ee43ec4d49e7da3f
parent9756784b22d6be33683b9ecb3040c67685d354f7 (diff)
remove the global declaration of the common shellcodesHEADmaster
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.h2
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)",