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
from Crypto.Cipher import AES | |
from Crypto.Util import Counter | |
import struct, sys | |
""" | |
typedef struct boot_dat_hdr | |
{ | |
unsigned char ident[0x10]; | |
unsigned char sha2_s2[0x20]; | |
unsigned int s2_dst; |
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 <iostream> | |
#include <string.h> | |
#include <sys/stat.h> | |
#define PACK_MAGIC 0x726b7066 // rpkf | |
// WTF is KUL? | |
#pragma pack(push, 1) | |
struct KUL_PackHeader // 0x10 | |
{ |
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 <stdint.h> | |
#include <elf.h> | |
#include <string.h> | |
uint8_t *findDataSegment(uint8_t *buf) | |
{ | |
Elf32_Ehdr *ehdr = (Elf32_Ehdr *) buf; | |
Elf32_Shdr *shdr = (Elf32_Shdr *)&buf[ehdr->e_shoff]; |
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 <stdint.h> | |
#include <string.h> | |
#include <openssl/aes.h> | |
#include <openssl/rsa.h> | |
#include <algorithm> | |
#include <openssl/sha.h> | |
#pragma pack(push, 1) | |
struct npCoreKey |
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 <stdint.h> | |
#include <elf.h> | |
#include <string.h> | |
struct xorInfo | |
{ | |
uint8_t *xor_table; | |
uint8_t *xor_ptr; | |
uint8_t *source; |
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
#define UNLOADED_FILE 1 | |
#include <idc.idc> | |
static main(void) | |
{ | |
// set 'loading idc file' mode | |
set_inf_attr(INF_GENFLAGS, INFFL_LOADIDC|get_inf_attr(INF_GENFLAGS)); | |
GenInfo(); // various settings | |
Segments(); // segmentation | |
Enums(); // enumerations |
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
#!/bin/bash | |
steamos-readonly disable | |
pacman-key --init | |
pacman-key --populate | |
pacman-key --refresh-keys | |
pacman -Sy archlinux-keyring | |
pacman -Syu --overwrite \* | |
pacman -Syu --overwrite \* baobab cheese eog evince gnome-autoar gnome-backgrounds gnome-bluetooth-3.0 gnome-boxes gnome-calculator gnome-calendar gnome-characters gnome-clocks gnome-color-manager gnome-contacts gnome-control-center gnome-desktop gnome-desktop-4 gnome-desktop-common gnome-disk-utility gnome-epub-thumbnailer gnome-font-viewer gnome-keyring gnome-logs gnome-maps gnome-menus gnome-music gnome-online-accounts gnome-photos gnome-remote-desktop gnome-screenshot gnome-session gnome-settings-daemon gnome-shell gnome-shell-extensions gnome-software gnome-system-monitor gnome-terminal gnome-themes-extra gnome-tweaks gnome-user-docs gnome-user-share gnome-video-effects gnome-weather gvfs gvfs-afc gvfs-goa gvfs-google gvfs-mtp gvfs-nfs gvfs-smb malcontent nautilus orca rygel simple-scan sushi totem tracker3-miners xdg-desktop-portal-gnome xdg-use |