Skip to content

Instantly share code, notes, and snippets.

View curtiszimmerman's full-sized avatar

Z curtiszimmerman

  • Planet Earth
View GitHub Profile
@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"
@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 / 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 / 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 / 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