Skip to content

Instantly share code, notes, and snippets.

View MappingSuite's full-sized avatar

Efalia Wasquehal MappingSuite

View GitHub Profile
@dungsaga
dungsaga / deobfuscate-odttf-in-xps.js
Last active April 3, 2024 09:37
deobfuscate odttf file (extracted from M$ XPS file)
const purpose = "Purpose: deobfuscate odttf file (extracted from M$ XPS file)"
const usage = "Usage: node deobfuscate-odttf-in-xps.js <guid-obfuscated-font-file.odttf> [<output-file.ttf>]"
const obfuscatedStartOffset = 0 //start of obfuscated bytes in font file
const obfuscatedEndOffset = 32 //start of obfuscated bytes in font file
const guidSize = 32 // length of GUID string (only hex characters included)
const fs = require('fs')
const path = require('path')
@howCodeORG
howCodeORG / key-generator.py
Created May 22, 2018 01:28
howCode's simple key generation script in Python.
import random
class Key:
def __init__(self, key=''):
if key == '':
self.key= self.generate()
else:
self.key = key.lower()