Skip to content

Instantly share code, notes, and snippets.

Avatar
😍
loving the code

David studiosi

😍
loving the code
View GitHub Profile
@studiosi
studiosi / keygen.py
Created Nov 9, 2019
HN1's CrackMe Keygen
View keygen.py
import random
MAX_PRINTABLE_ASCII = 0x7E
MIN_PRINTABLE_ASCII = 0x20
passchars = [None for x in range(10)]
passchars[0] = random.randrange(0x47 + 0x1, MAX_PRINTABLE_ASCII + 1)
passchars[1] = random.randrange(MIN_PRINTABLE_ASCII, 0x6D)
passchars[2] = 0x56
passchars[3] = random.randrange(0x66, MAX_PRINTABLE_ASCII + 1)
View encrypted_section_1.js
function GGamePlayerInTetris(a) {
for (var b = ["a", "b", "c", "d", "e", "f", "g", ":", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "/", "r", "s", "t", "u", "v", "w", "x", ".", "y", "z", "S", "1"], c = "", d = 0; d < a.length; d++) c += b[a[d]];
return c
}
function aeGamePlayerInTetris(a, b) {
var c = "onU",
d = "ed",
e = "pdat",
f = [e, d].reduce(function(a, b) {