Skip to content

Instantly share code, notes, and snippets.

View maxdavid's full-sized avatar

Max David maxdavid

View GitHub Profile
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="stylesheet" href="http://cmx.io/v/0.1/cmx.css"/>
<script src="http://cmx.io/v/0.1/cmx.js"></script>
<style>.cmx-user-scene4 .cmx-text-border .cmx-path {stroke: orange}</style>
<body>
<div style="max-width:900px; -webkit-transform:rotate(0deg);">
<scene id="scene1">
<label t="translate(0,346)">
@maxdavid
maxdavid / spacey-fortune
Last active December 14, 2015 17:59
Because the best Kevin in the world, deserves the best fortune file in the world.
"You don't get to tell me what to do ever again."
-- Lester Burnham [American Beauty]
%
Carolyn Burnham: "Uh, whose car is that out front?"
Lester Burnham (Spacey): "Mine. 1970 Pontiac Firebird. The car I've always wanted and now I have it. I rule!"
[American Beauty]
%
Carolyn Burnham: "This is a $4,000 sofa, upholstered in Italian silk. This is not just a couch."
Lester Burnham (Spacey): [shouting, punching couch on each syllable] "It's! Just! A! Couch!"
[American Beauty]
@maxdavid
maxdavid / arnold-fortune
Last active December 14, 2015 18:39 — forked from TranquilMarmot/arnold_fortune
The King of One-liners, now available in your command line
"It's showtime!"
-- The Running Man (1987)
%
"Alright everyone, chill."
-- Batman & Robin (1997)
%
"Allow me to break the ice."
-- Batman & Robin (1997)
%
"I need your clothes, your boots, and your motorcycle."
@maxdavid
maxdavid / xkcd-hasher.py
Last active December 15, 2015 17:20
A quick and sloppy attempt to win http://almamater.xkcd.com/ for evergreen.edu
#!/usr/bin/env python3
# xkcd-hasher.py
# for the motherland!! http://almamater.xkcd.com/
# forked from arthurdent's 1193.py. thx buddy
#
# usage: ./xkcd-hasher.py <num hashes> <randword length> <goal number>
from skein import skein1024
from datetime import *
@maxdavid
maxdavid / Hacker Club mission statement
Last active December 25, 2015 20:09
Mission statement for Evergreen's Hacker Club, as per http://www.evergreen.edu/activities/handbook/mission.htm. Work in progress.
The Evergreen Hacker Club is a collection of individuals interested in
learning, discussing, and implementing real-world applications of advanced
technological subjects. We focus on topics chosen by the membership, and
regularly host workshops for the group to share their skills with each other.
Hacker Club is also home to the GNU-e-Ducks, Evergreen's competitive
cyber-security team.
@maxdavid
maxdavid / tor-scramblr.sh
Created October 24, 2013 01:00
Script for hack.lu that attempts to access a URL from as many different countries as possible. cat the output to a file while running in the background and you're ready to gravy
#!/bin/bash
while true; do
pidof tor | xargs kill -HUP # get a new tor identity
torify wget -qO- https://ctf.fluxfingers.net/ref/oSaBba5IScd8V2a --no-check-certificate | grep "successfully"
done
@maxdavid
maxdavid / paytv_attack.py
Created October 24, 2013 03:10
A dirty timing attack script for challenge #4 of hack.lu CTF
#!/usr/bin/env python
import urllib
import urllib.parse
import urllib.request
import string
import json
url = 'https://ctf.fluxfingers.net:1316/gimmetv'
key_length = 10
@maxdavid
maxdavid / nethack-bot.rb
Created March 20, 2014 23:21
IRC bot that plays 'TESC Plays Nethack', a crowdsourced nethack game that takes commands from an IRC channel. 'TESC Plays Nethack' (or TPN) is part of a compsec exercise put on by The Evergreen State College. As a service that needs to be defended by the blue team, these bots add "users" to the narrative.
# `TESC Plays Nethack' bot
# arg 1 = irc nick
# args 1< = additional phrases
require 'cinch'
ircnick = ARGV[0]
class NethackCommands
include Cinch::Plugin
# every 10 seconds, call 'timed'
@maxdavid
maxdavid / EDURange Minutes (5-7-2014).md
Last active August 29, 2015 14:01
EDURange meeting minutes, Day 1 of Spring 2014 Hackathon

EDURange Minutes

May 7th, 2014 (20:00)

Richard: Where do we want to be at the end of the summer?

Summer Timeline

  • Have both the recon and grammar calculator scenarios "finished"
  • "finished" meaning ready to play in a running EDURange instance
  • Some semblance of scoring

Keybase proof

I hereby claim:

  • I am maxdavid on github.
  • I am maxdavid (https://keybase.io/maxdavid) on keybase.
  • I have a public key whose fingerprint is 47BE A3C1 10E1 E0A9 43B6 E514 197B 2596 4BDA 57F6

To claim this, I am signing this object: