Skip to content

Instantly share code, notes, and snippets.

View tohitsugu's full-sized avatar

Ian French tohitsugu

View GitHub Profile
/*
* SEP firmware split tool
*
* Copyright (c) 2017 xerub
*/
#include <fcntl.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
@tohitsugu
tohitsugu / gifjs.asm
Created July 6, 2017 20:45 — forked from ajinabraham/gifjs.asm
A Valid GIF and JS file
; a hand-made GIF containing valid JavaScript code
; abusing header to start a JavaScript comment
; inspired by Saumil Shah's Deadly Pixels presentation
; Ange Albertini, BSD Licence 2013
; yasm gifjs.asm -o img.gif
; see http://iamajin.blogspot.com/2014/11/when-gifs-serve-javascript.html for yasm source and more info