diff --git a/sha.c b/sha.c index 9f76607..96de691 100644 --- a/sha.c +++ b/sha.c @@ -639,7 +639,7 @@ char *source_c[] = { " char *argvs[BUFFER_SIZE];", " int l=1;", " int i=4;", -" static uint8_t key[16] = \"aixiao\";", +" static uint8_t key[16] = \"aixiao.me\";", " struct AES_ctx ctx;", " uint8_t *Hex_string = (uint8_t *) malloc(encrypted_text_len*2);", " char *shbin = NULL;", @@ -699,7 +699,7 @@ int main(int argc, char *argv[]) open_file(argv[1]); struct AES_ctx ctx; - static uint8_t key[16] = "aixiao"; + static uint8_t key[16] = "aixiao.me"; uint8_t text_content[file_size * 2]; uint8_t text_content_out[file_size * 2]; uint16_t text_content_length = file_size; @@ -772,9 +772,9 @@ int main(int argc, char *argv[]) sleep(1); if (getenv("CFLAGS") != NULL) - sprintf(buildcmd, "gcc -Wall -Os %s %s -o %s", getenv("CFLAGS"), sourcefile, binfile); + sprintf(buildcmd, "gcc %s %s -o %s", getenv("CFLAGS"), sourcefile, binfile); else - sprintf(buildcmd, "gcc -Wall -Os %s -o %s", sourcefile, binfile); + sprintf(buildcmd, "gcc %s -o %s", sourcefile, binfile); strcat(buildcmd, " && strip ");