Skip to content

Instantly share code, notes, and snippets.

@jeetsukumaran
jeetsukumaran / rijndael.py
Created October 17, 2011 02:54
Pure-Python implementation of Rijndael (AES) cipher.
#############################################################################
# Original code ported from the Java reference code by Bram Cohen, April 2001,
# with the following statement:
#
# this code is public domain, unless someone makes
# an intellectual property claim against the reference
# code, in which case it can be made public domain by
# deleting all the comments and renaming all the variables
#
class Rijndael(object):
////////////////////////Château-Saint-Martin//////////////////////////////////////////////////////////////////////////////////////////////////
// /////////////////////////////////////////////////////////////////////
// FileName : VMProtect Ultra Unpacker 1.0 ////////////////////////////////////////////////////////////////////
// Features : ///////////////////////////////////////////////////////////////////
// This script can unpack your VMProtected targets //////////////////////////////////////////////////////////////////
// completely and independently in the best case. /////////////////////////////////////////////////////////////////
// If your target is protected with a older VMP ////////////////////////////////////////////////////////////////
// version then it can be ne
#!/usr/bin/env python2
# lrdcq
# usage python2 unwxapkg.py filename
import sys, os
import struct
class WxapkgFile(object):
nameLen = 0