Skip to content

Instantly share code, notes, and snippets.

View alxbl's full-sized avatar
:octocat:
Does not push to Github often enough

Alexandre Beaulieu alxbl

:octocat:
Does not push to Github often enough
View GitHub Profile
@alxbl
alxbl / wke-amp-lpe.py
Last active November 25, 2021 07:33
WKE - Local Privilege Escalation using System Mechanics's AMP.sys driver
import sys
import random
import binascii
import struct
import os
from ctypes import *
from ctypes.wintypes import *
# Shorthands for some ctypes stuff.
@alxbl
alxbl / type08.py
Last active October 22, 2020 07:52
Encoder for TES Arena's MIF file format (type08) records
# This script provides a rudimentary data encoding algorithm for
# type08 records in MIF files.
#
# It's not exactly Huffman-coding or adaptative Huffman coding, but it
# behaves very similar. The developers call it "Delta Mode"
#
# @author alxbl (alex@segfault.me)
#
# https://en.wikipedia.org/wiki/File:Huffman_coding_visualisation.svg
from sys import exit

Keybase proof

I hereby claim:

  • I am alxbl on github.
  • I am alxbl (https://keybase.io/alxbl) on keybase.
  • I have a public key whose fingerprint is 6ADC C9F4 59AA 603E BB71 2011 6980 01FA 5C86 D4F1

To claim this, I am signing this object: