Skip to content

Instantly share code, notes, and snippets.

[bits 64]
extern rand
extern time
extern srand
extern write
global main
section .text
%define SIZE (31*2048)
497a78705032357759326873634855675a43526c595341675044317a494852685a484a70636d39684c6e6c6f
4b4434354369787049473432644377674947303059537870494734324b4377704943417a6579776749434179
494377674943413249437870494734336443776749474533577978644943413350537767494873774e437773
494341324e437773494341784e697773494341794e537773494341784e797773494341324d79777349434177
4e697773494341324f5377734943416e4e6d4d734a7941734e7941734e6941734e6941734d7941734d534130
4e697773494341794a79786d494363774c437767494463324b537737494341784a4378694943413250537767
49474578636a52794c4745676554596f4c4463674c4451674c446b674c4449674c4459674c4441674c445567
4c4463674c444d674c4441674c4441674c4463674c4459674c4449674c4449674c4459674c4459674c444567
4e5451734c4341674e6a63734c4341674e7a67734c4341674e7a63734c4341674d6a41734c4341674e6a5973
4c4341674d5451734c4341674e6a59734c4341674d53637a5979776e49437732494377794943777849444d35
@Freaken
Freaken / join_hexes.py
Created April 7, 2012 19:46
Tool to automatically download and combine all the hexes from http://www.reddit.com/r/programming/comments/rxve9/let_us_have_hex/?limit=1000
#!/usr/bin/python
from binascii import unhexlify
from base64 import b64decode
import urllib
import re
import string
import sys
# Download the hexes from the reddit thread
/*
ID: IdolfHatler
PROG: packrec
LANG: C++
*/
#include <iostream>
#include <fstream>
#include <string>
#include <string.h>
#include <algorithm>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>bug</title>
<script type="text/javascript">
function trigger_bug() {
var div = document.createElement("div");
document.body.appendChild( div );
// These two lines break something.