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
# 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]') |
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
-----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 |
This file has been truncated, but you can view the full file.
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
0 || [Min: {0} Max: {1}] | |
1 || Data/_ExcelBinOutput/ShopGoodsExcelConfigData | |
2 || SetCombatFixedMovePoint | |
3 || value | |
4 || Transparent/Diffuse | |
5 || Diffuse | |
6 || AttachToStateIDMixin | |
7 || _Color | |
8 || _MainColor | |
9 || ConfigGuideInfoDialogAction |
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
using System.IO; | |
using System.Security.Cryptography; | |
using System.Text; | |
namespace mt3decrypt | |
{ | |
class Program | |
{ | |
static readonly string MIDIKey = "$jshHgdn123&Am@n0te3+x"; |
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
from z3 import * | |
from typing import List | |
# Please use this responsibly and not in any remotely competitive environment | |
class LogicSolver: | |
def __init__(self, comparables: List[int]): | |
self.comparables = comparables | |
self.vars = {} | |
self.solver = Solver() | |
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 <Windows.h> | |
#include <stdio.h> | |
#define GAME_DIR L"D:\\Games\\Genshin Impact\\Genshin Impact game" | |
#define DLL_PATH "C:\\Users\\Khang\\source\\repos\\mhynot2-rewritten\\x64\\Debug\\mhynot2-rewritten.dll" | |
int main() { | |
printf("hi\n"); | |
SetCurrentDirectoryW(GAME_DIR); |
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
import binascii | |
import sys | |
import string | |
import os | |
# the checksum algorithm operates on signed integers | |
def arsh32(n, b): | |
n = n & 0xFFFFFFFFF | |
n = (n ^ 0x80000000) - 0x80000000 | |
return (n >> b) & 0xFFFFFFFF |
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 <Windows.h> | |
#include <gdiplus.h> | |
#include <stdio.h> | |
#pragma comment(lib,"gdiplus.lib") | |
using namespace Gdiplus; | |
// https://docs.microsoft.com/en-us/windows/win32/gdiplus/-gdiplus-retrieving-the-class-identifier-for-an-encoder-use | |
int GetEncoderClsid(const WCHAR* format, CLSID* pClsid) { | |
UINT num = 0; // number of image encoders |
OlderNewer