💾 Archived View for sdf.org › aiden › src › xor.c captured on 2023-06-14 at 14:27:09.
⬅️ Previous capture (2021-12-03)
-=-=-=-=-=-=-
//Segmentation fault generator no. 2 (disguised as xor encryption.) #include <stdio.h> int main(int argc, char *argv[]) { char *str, c; int i, key; if (argc >= 2) { key = xc1; str = argv[1]; for (i = 0; str[i] != '\0'; ++i) { str = str ^ key; printf("%s", str); } putchar('\n'); return 0; } }