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
| #!/usr/bin/env python3 | |
| """ | |
| Script Python permettant l'encodage d'images vers JPEG pour Minitel Photo | |
| Vous pouvez l'utiliser en tant que bibliothèque, ou l'exécuter via | |
| un terminal (ou autre, peu importe). | |
| Pour plus d'infos : | |
| $ python3 pic2jpeg2vdt.py -h |
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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <math.h> | |
| #include "lodepng.h" | |
| #define IS_BLANK(ch) ((ch) == '\n' || (ch) == '\t' || (ch) == '\r' || (ch) == ' ' || (ch) == 0x7F) | |
| static void ppmSkipLine(char **cur) { | |
| for (;;) { | |
| char ch = **cur; |
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
| """ | |
| Decrypt HARMAN AIR SDK encrypted swfs | |
| """ | |
| from struct import pack, unpack | |
| from Crypto.Cipher import AES | |
| import sys | |
| globalKey = b"Adobe AIR SDK (c) 2021 HARMAN Internation Industries Incorporated" |
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
| /* | |
| Implementation of NDS Key2 Encryption | |
| */ | |
| #include <stdio.h> | |
| #include <stdint.h> | |
| #include <string.h> | |
| static uint8_t x[5]; | |
| static uint8_t y[5]; |
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
| /* | |
| Implementation of NDS Key1 Encryption | |
| */ | |
| #include <stdio.h> | |
| #include <stdint.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #ifdef __AVR__ |