Skip to content

Instantly share code, notes, and snippets.

@einstein95
einstein95 / decrapifycoolrom.user.js
Created April 7, 2016 10:14
Decrapify CoolROM.com
// ==UserScript==
// @name Decrapify CoolROM.com
// @description Replaces the malware extension-needing links with the actual download link
// @include http://coolrom.com/roms/*
// @version 1
// @grant none
// ==/UserScript==
// Main code taken from http://stackoverflow.com/a/29722028
var anchors = document.querySelectorAll('a.btn-partner-test')
for(var i=0;i<anchors.length;i++){
@einstein95
einstein95 / Project_EGG_shit.md
Last active February 6, 2024 16:36
Project EGG

Downloading

User-Agent: c384da2W9f73dz20403d

All files are in the format (P|)XXXYZZZa.bin

"X" is the company code, one of the following:

 'AGL', 'ARS', 'ART', 'ATN', 'BGT', 'BOT', 'BPS', 'CAR', 'COM', 'COS', 'DBS', 'DMB', 'EBS', 'FAL', 'FAM', 'FAS', 'FUG', 'GAR', 'GDA', 'GMD', 'GNX', 'HAM', 'HOK', 'HOT', 'HRZ', 'HUD', 'IMX', 'IPM', 'ISE', 'JLC', 'KNK', 'KNM', 'KSK', 'KUR', 'MCN', 'MEW', 'MIC', 'MIL', 'NCS', 'NIC', 'NTB', 'ONS', 'PHA', 'PON', 'POP', 'QSR', 'RDM', 'RIV', 'ROM', 'SAC', 'SKP', 'SNT', 'SPS', 'SQE', 'STW', 'SYS', 'TAE', 'TEL', 'THR', 'TZG', 'WIN', 'XTA', 'ZOM'
import re
import requests
import time
from bs4 import BeautifulSoup
counts = ['JP', 'US', 'GB', 'AU', 'FR', 'DE', 'TW', 'KR', 'ES', 'AI', 'AG', 'AR', 'AW', 'BS', 'BB', 'BZ', 'BO', 'BR', 'VG', 'CA', 'KY', 'CL', 'CO', 'CR', 'DM', 'DO', 'EC', 'SV', 'GF', 'GD', 'GP', 'GT', 'GY', 'HT', 'HN', 'JM', 'MQ', 'MX', 'MS', 'AN', 'NI', 'PA', 'PY', 'PE', 'KN', 'LC', 'VC', 'SR', 'TT', 'TC', 'UY', 'VI', 'VE', 'AT', 'BE', 'CZ', 'DK', 'FI', 'GR', 'IE', 'IT', 'LU', 'ME', 'NL', 'NZ', 'NO', 'PL', 'PT', 'RU', 'ZA', 'SE', 'CH', 'TR', 'HK', 'SG', 'MY', 'AE', 'SA', 'BM']
open('titles.txt', 'w')
for d in [(4, 0), (5, 1)]:
Textboxes appear in RAM at A0:C490
0x01 イ゙
0x02 ヴ
0x03 エ゙
0x04 オ゙
0x05 ガ
0x06 ギ
0x07 グ
0x08 ゲ
@einstein95
einstein95 / hqq.py
Last active January 23, 2022 20:56
Downloads most hqq.tv streams
import json
import re
import urllib.request
from base64 import b64decode
from subprocess import call
from sys import argv
UA = 'Mozilla/6.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.5) Gecko/2008092417 Firefox/3.0.3'
headers = {'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Content-Type': 'text/html; charset=utf-8'}
@einstein95
einstein95 / sckey.py
Last active August 22, 2017 07:26 — forked from notwa/sckey.c
Starcraft CD-Key Validator
from sys import argv
def validate(key):
magic = 3
count = 0
for c in key:
if not c.isdigit():
continue
v = int(c)
count += 1
@einstein95
einstein95 / 0x14200.asm
Created September 17, 2017 08:15
Imperium Galactum source
BEQ S405E
CMP #5
BNE S405F
S405E STA WRK3
LDX TURN
CPX #10
BEQ S405J
BNE S405F1
S405F LDA #0
STA WRK3
@einstein95
einstein95 / 0x12000.asm
Created September 17, 2017 09:41
Conan (1984)(Datasoft) - Side A
ORG $A000
JMP BEGIN
SHL EQU $A07F
SHH EQU $A080
STORD STY $B3F0
TAY
LDA $B5FF,Y
STA $1C
LDA $B67F,Y
STA $1D