#Sections
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;SMBDIS.ASM - A COMPREHENSIVE SUPER MARIO BROS. DISASSEMBLY | |
;by doppelganger ([email protected]) | |
;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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//// app.js | |
// main application | |
// @author curtiszimmerman | |
// @contact [email protected] | |
// @license AGPL | |
// @version 0.0.1 | |
var app = (function() { | |
// local dependency | |
var foo = require('./foo.js'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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`) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:wily | |
MAINTAINER James Wheaton <[email protected]> | |
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 && \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ******************************************************************************* | |
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: |
NewerOlder