Skip to content

Instantly share code, notes, and snippets.

@ulexec
ulexec / bringTheNoise.py
Last active January 18, 2016 11:15
Bring-the-Noise( crypto 200 ) Insomnihack teaser CTF 2016
#amn3s1a team: soez, n4x
from amnesia import *
import hashlib
import itertools
def learn_with_vibrations(lista):
q, n, eqs = 8, 6, 40
num = "01234567"
@ulexec
ulexec / VM.c
Created February 23, 2017 20:22 — forked from SouhailHammou/VM.c
Virtual machine with a custom instruction set.
/*
VM by Souhail Hammou : custom instruction set
data space and stack space are customizable.
Important : In calculations the VM is using unsigned values.
*/
#include <stdio.h>
#include <stdint.h>
#include <conio.h>
#define TRUE 1
#define FALSE 0
@ulexec
ulexec / stack-vm.js
Created March 4, 2017 04:32 — forked from DmitrySoshnikov/stack-vm.js
Educational Stack-based Virtual Machine
/**
* Educational Stack-based VM.
*
* See also:
* - More complex example with recursion: https://gist.github.com/DmitrySoshnikov/afda459222e96e6002ac
* - Register-based VM example: https://gist.github.com/DmitrySoshnikov/6407781
*
* by Dmitry Soshnikov <dmitry.soshnikov@gmail.com>
* http://dmitrysoshnikov.com
* MIT Stye License (C) 2015
@ulexec
ulexec / flareon5_ch12_subleq_processor.py
Last active October 6, 2018 03:27
Small and dirty subleq IDA processor module for flareon5 challenge 12
# Subleq Processor module for Flareon5 challenge 12. Tested in IDA 7
# by @ulexec
import sys
import idc
import idaapi
import idautils
from idc import *
from idaapi import *