Skip to content

Instantly share code, notes, and snippets.

View I-Otsuki's full-sized avatar

Izumi Otsuki I-Otsuki

View GitHub Profile
@noqisofon
noqisofon / without_bukko.py
Last active March 15, 2021 11:16
( ノ╹◡◡╹)ノ ぶっ子ちゃん
import discord
import json
import tempfile
import os
import os.path
import re
def load_token(filename):
"""
filename を読み込んで json にでこーどして返す。
@mrexodia
mrexodia / Encrypted iTunes Library.grammar
Created December 16, 2014 20:27
Encrypted iTunes Library File Format
<?xml version="1.0" encoding="UTF-8"?>
<ufwb version="1.9">
<grammar name="Encrypted iTunes Library" start="id:4" author="Mr. eXoDia" email="mr.exodia.tpodt@gmail.com" fileextension="itl" uti="com.apple.itunes.db">
<description>Grammar for encrypted iTunes Library files.</description>
<structure name="Defaults" id="5" encoding="ISO_8859-1:1987" endian="little" signed="no"/>
<structure name="iTunes Library" id="4" extends="id:5">
<structref name="hdfm" id="8" structure="id:7"/>
<binary name="encryptedData" id="9" length="remaining">
<description>This chunk of data is encrypted using AES/ECB/NoPadding with the key &quot;BHUILuilfghuila3&quot;. After decryption, you have to inflate the data using ZLIB.