This file contains 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 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 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 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__ |