Skip to content

Instantly share code, notes, and snippets.

@nukejello
nukejello / DL:
Created August 6, 2018 21:22 — forked from CHEF-KOCH/DL:
Windows 10 Enterprise 2016 LTSB ISO's MSDN Available Direct Download Links
Via
http://shadow-trooperz.xyz/sw/
x64:
http://5.9.37.199/sw/SW_DVD5_WIN_ENT_LTSB_2016_64BIT_English_MLF_X21-07421.ISO
Mirrors:
http://bit.ly/2dPO96m
x86:
http://5.9.37.199/sw/SW_DVD5_WIN_ENT_LTSB_2016_32BIT_English_MLF_X21-07420.ISO
###############################################
# TX SX OS unpacker - by hexkyz and naehrwert #
###############################################
from Crypto.Cipher import AES
from Crypto.Util import Counter
import os
import struct
"""
@nukejello
nukejello / sx_packer.py
Created June 19, 2018 20:41
Py 2.7 - Needs original boot.dat in folder with the edited bin's
from Crypto.Cipher import AES
from Crypto.Util import Counter
import struct
import hashlib
from binascii import hexlify, unhexlify
"""
typedef struct boot_dat_hdr
{
from Crypto.Cipher import AES
from Crypto.Util import Counter
import struct
"""
typedef struct boot_dat_hdr
{
unsigned char ident[0x10];
unsigned char sha2_s2[0x20];
unsigned int s2_dst;