Skip to content

Instantly share code, notes, and snippets.

😳
asdfdasfsafsaadfvsadfvdscwadascsacsacsacdsaewca

Khangaroo khang06

😳
asdfdasfsafsaadfvsadfvdscwadascsacsacsacdsaewca
Block or report user

Report or block khang06

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View tinfoildzpriv_v1.43.pem
-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEAnjCTLhNi8UHdEUlXMMI//LO/TsulwLwfidD3Jey3EWIfHVfm
s9qE1IBCLl1X0Mb8TNJxFM26sREKnn13+W2MI8L11T8S1jse2c50Zqp5fg7/qwgM
1N/tM6jTU9tmX5SKM0zbLzBhFkTjXvFy67NDurNZLm8i/XBFKbLTNLu5wUSI6AIG
0vhBzFDILhCSHucPKk+JrFNbik+qeNd9wzTTzIhs2xcBlUzkyBQf64wgmsouZ+1q
HBlHDJDoMnM/LVUSELlq/TPK3QPUspCadgTxqbdqhXycSfshi/1VSxDWkD6Y4FUf
HbRsmn1fLKa/lw0nDZQR0I2nwnrxMUSAEEaGRQIDAQABAoIBAAxSyWx5+yfDU0cA
+SdlwplboWgwijmhDi3s1wwfzEUw6S6ehez19Yoecclt4ST1E3uim0edHVGk+7hM
GvgV9ihlDESwFLYWxfj+0eebmTpeTcGTr3g396EiIlByk5+XkUqczqh28uFKvZHM
aoD9JqYZSbXJ16Z5xBGTCkwd4cMyBagHuZ9v3yCgigTIIM/vsggAVYTyZmxvmbFy
@khang06
khang06 / decryptdzhtml.py
Last active Jul 20, 2019
tinfoil™ 1.2 html decryptor
View decryptdzhtml.py
# simon wrote a decryptor first, so i based this off of his
import sys
from binascii import hexlify
from Crypto.PublicKey import RSA
from Crypto.Hash import SHA256
from Crypto.Cipher import PKCS1_OAEP
from Crypto.Cipher import AES
if len(sys.argv) != 3:
print('usage: decryptdzhtml.py [input] [output]')
@khang06
khang06 / api.md
Last active Mar 8, 2019
ThisIsLanguage Private API
View api.md

ThisIsLanguage Private API

totally unofficial, and is very subject to change

Cookies

Name Description Example (values may be censored)
til no idea, the first part is the user id 10000069420_5c81bad1a3a8e2.87403434
ci_session uri encoded (example is decoded for readability) also no idea what most of these values are a:9:{s:10:"session_id";s:32:"d223e1f94e041a3ee3d9ef90aa5f17e1";s:10:"ip_address";s:12:"127.0.0.1";s:10:"user_agent";s:115:"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36";s:13:"last_activity";i:1552005746;s:9:"user_data";s:0:"";s:14:"school_user_id";s:0:"";s:12:"subscription";s:4:"full";s:8:"language";s:1:"2";s:22:"school_user_id_session";s:11:"10000069420";}693bb4598cac7347b5433e6009dd74943186b3b1

Authentication

@khang06
khang06 / ksacmp.py
Last active Dec 2, 2018
ksacmp - .cmp tool for Kirby Star Allies written in Python 3
View ksacmp.py
"""
ksacmp v1 by Khangaroo
compresses and decompresses .cmp files from Kirby Star Allies
based on Random Talking Bush's QuickBMS script
"""
import sys
import lz4.frame
@khang06
khang06 / main.cpp
Last active Nov 3, 2018
terrible yaz0 c++ thing
View main.cpp
#include <cstdio>
#include <cstdint>
#include <cstring>
#include <cstdlib>
#include <iostream>
#include <fstream>
#include <vector>
namespace Yaz0 {
struct Header {
@khang06
khang06 / list.txt
Last active Oct 28, 2018
(almost) everything that gets sent to nintendo through play reports/splatnet2 in splatoon 2
View list.txt
please visit https://wiki.oatmealdome.me/Telemetry, it's much more well-formatted and is on a wiki
4.1.0 play report/splatnet2 stuff revision 2 (oct 23 2018) by khangaroo
thanks to oatmealdome and shadow for some help
events that have only been statically analyzed are marked with (?)
events that are a big mystery for one reason or another are marked with (???)
3.1.0 function names are used where possible, anything else is the ida name
you can help out with documentation by dumping your own play report data!
@khang06
khang06 / debugmenu100.pchtxt
Created Aug 28, 2018
bad dbgsetting patch v2
View debugmenu100.pchtxt
@little-endian
@nsobid-F18FF3CFCBAD0884D72ABBEB6C540D6B
@flag offset_shift 0x100
#01003BC0000A0000 Splatoon 2 1.0.0 USA
// DbgSetting over ShootingRange
@enabled
// first we need a way to access the scene
01455850 540F1A00 // add the ptr to Cstm::newScene<TitleForShow::Scene>(int,sead::Heap *) to ShootingRange (not possible to do it patching .text, you need to patch .rela.dyn otherwise it will be overwritten with the relocation stuff)
001A0F84 E0FF8152 // operator new(0x3F8) to operator new(0xFFF)
View dbgsettingovershootingrange-100.pchtxt
@little-endian
@nsobid-F18FF3CFCBAD0884D72ABBEB6C540D6B
@flag offset_shift 0x100
#01003BC0000A0000 Splatoon 2 1.0.0 USA
// DbgSetting over ShootingRange
@enabled
// first we need a way to access the scene
01455850 540F1A00 // add the ptr to Cstm::newScene<TitleForShow::Scene>(int,sead::Heap *) to ShootingRange (not possible to do it patching .text, you need to patch .rela.dyn otherwise it will be overwritten with the relocation stuff)
001A0F84 E0FF8152 // operator new(0x3F8) to operator new(0xFFF)
@khang06
khang06 / log.txt
Created Jul 3, 2018
Celeste yuzu log
View log.txt
[ 0.000160] Common.Filesystem <Debug> common/file_util.cpp:CreateFullPath:196: path exists /home/khangaroo/.local/share/yuzu/log/
[ 0.245842] Loader <Warning> core/loader/loader.cpp:GetLoader:140: File /media/khangaroo/extra/hactool/celeste/main has a different type than its extension.
[ 0.245848] Loader <Debug> core/loader/loader.cpp:GetLoader:145: Loading file /media/khangaroo/extra/hactool/celeste/main as Directory...
[ 0.245851] HW.Memory <Debug> core/core.cpp:Init:164: initialized OK
[ 0.286342] HW.Memory <Debug> core/memory.cpp:MapPages:47: Mapping 0x0 onto 0000000000000000-0000001000000000
[ 0.369762] HW.LCD <Debug> core/hw/lcd.cpp:Init:59: Initialized OK
[ 0.369770] HW <Debug> core/hw/hw.cpp:Init:88: Initialized OK
[ 0.369853] Service.FS <Debug> core/hle/service/filesystem/filesystem.cpp:RegisterFileSystem:29: Registered file system SaveData_Factory with id code 0x00000002
[ 0.369858] Service.FS <Debug> core/hle/service/filesystem/filesystem.cpp:RegisterFileSystem:29: Registered file
@khang06
khang06 / hactool_key_verify.py
Last active Jan 26, 2019
hactool key verifier
View hactool_key_verify.py
'''
hactool key verifier v0.2 by Khangaroo
a very badly made script to verify your hactool keys
Hash sources:
https://gist.github.com/roblabla/d8358ab058bbe3b00614740dcba4f208
My own console
https://github.com/SocraticBliss/hactool/blob/4169184c88a10cde0db8eaa83d38bd32a7f35751/KEYS.md
Some places that I can't link
'''
You can’t perform that action at this time.