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 io, logging, secrets, socket, sqlite3, struct, time, traceback | |
# TODO replace with something faster | |
from CryptICE import IceKey | |
logging.basicConfig( | |
format="%(asctime)s %(levelname)-8s %(message)s", | |
filename="trackerserver.log", | |
encoding="utf-8", | |
level=logging.DEBUG) |
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
hashtable size: 4 entries, specified at offset 0x20 in the header | |
full table size: hashtable size + number of entries in manifest, specified at 0x0c in the header | |
lookup section: | |
00: 04 00 00 00 points to 04 in full table | |
01: 06 00 00 00 points to 06 in full table | |
02: 0A 00 00 00 etc | |
03: 0C 00 00 00 | |
entry index sections: |
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 hashlib, io, socket, struct, threading, time, hmac, random | |
from Crypto.Cipher import AES | |
from user import * | |
from secondblob import * | |
def steamtime_to_unixtime(steamtime_bin): | |
steamtime, = struct.unpack("<Q", steamtime_bin) | |
unixtime = steamtime // 1000000 - 62135596800 |
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 struct, sys | |
mn_v2_words = [ | |
"like", "just", "love", "know", "never", "want", "time", "out", "there", | |
"make", "look", "eye", "down", "only", "think", "heart", "back", "then", | |
"into", "about", "more", "away", "still", "them", "take", "thing", "even", | |
"through", "long", "always", "world", "too", "friend", "tell", "try", | |
"hand", "thought", "over", "here", "other", "need", "smile", "again", | |
"much", "cry", "been", "night", "ever", "little", "said", "end", "some", | |
"those", "around", "mind", "people", "girl", "leave", "dream", "left", |
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 hashlib, json, os, sys | |
# requires packages requests and pycryptodome | |
# run with | |
# python blockchaincom_decrypt.py [GUID] password | |
import requests | |
from Crypto.Cipher import AES | |
guid = sys.argv[1] |
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 hashlib, itertools, json, socket, ssl, sys | |
words = [ "like", "just", "love", "know", "never", "want", "time", "out", | |
"there", "make", "look", "eye", "down", "only", "think", "heart", "back", | |
"then", "into", "about", "more", "away", "still", "them", "take", "thing", | |
"even", "through", "long", "always", "world", "too", "friend", "tell", | |
"try", "hand", "thought", "over", "here", "other", "need", "smile", | |
"again", "much", "cry", "been", "night", "ever", "little", "said", "end", | |
"some", "those", "around", "mind", "people", "girl", "leave", "dream", | |
"left", "turn", "myself", "give", "nothing", "really", "off", "before", |
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 hashlib, sys | |
b58ab = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz" | |
def b58csum(s): | |
return hashlib.sha256(hashlib.sha256(s).digest()).digest()[0:4] | |
def b58decode(s, checksum=True): | |
idx = 0 | |
while s[idx] == "1": |
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 hashlib | |
b58ab = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz" | |
def b58csum(s): | |
return hashlib.sha256(hashlib.sha256(s).digest()).digest()[0:4] | |
def b58decode(s, checksum=True): | |
idx = 0 | |
while s[idx] == "1": |
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
; | |
; +-------------------------------------------------------------------------+ | |
; | This file has been generated by The Interactive Disassembler (IDA) | | |
; | Copyright (c) 2015 Hex-Rays, <support@hex-rays.com> | | |
; | License info: 48-B611-7234-BB | | |
; | Doskey Lee, Kingsoft Internet Security Software | | |
; +-------------------------------------------------------------------------+ | |
; |
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 struct, sys, cStringIO, os | |
from edoslib import * | |
def decodebits(s): | |
cs = cStringIO.StringIO(s) | |
res = "" | |
while True: | |
t = "01" |
NewerOlder