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 | |
# 2014-09-20 12:26 CEST | |
# y0ug | |
USERNAME=${1-y0ug} | |
IP=$(ip addr show dev eth0 | sed -nr 's/.*inet ([^/]+).*/\1/p') | |
GPG_KEYID=0x72F6A9E3 | |
ROOT_PASSWD=$(apg -m32 -n1) | |
USER_PASSWD=$(apg -m32 -n1) | |
echo "root:$ROOT_PASSWD" | chpasswd |
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 | |
# -*- coding: utf-8 -*- | |
import logging | |
import re | |
logging.getLogger("scapy").setLevel(logging.ERROR) | |
from scapy.all import * | |
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 | |
# -*- coding: utf-8 -*- | |
from scapy.all import * | |
iface = "vboxnet1" | |
sleep = 1 | |
verbose = 1 | |
def arp_poison(psrc, pdst): | |
pkt = ARP() |
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 | |
################################################################################ | |
# yubi_goog.py - google authenticator via yubikey | |
# | |
# Use --generate to generate OTPs given a base 32 secret key (from google) | |
# Use --yubi to send a challenge to the yubikey to generate OTPs | |
# Use --convert-secret to convert the google secret into hex | |
# | |
# author: Casey Link <[email protected]> | |
# https://github.com/Ramblurr/yubi-goog.git |
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
import mmap | |
import contextlib | |
import argparse | |
from bs4 import BeautifulSoup, element | |
from Evtx.Evtx import FileHeader | |
from Evtx.Views import evtx_file_xml_view | |
evtxs = { |
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
import mmap | |
import contextlib | |
import argparse | |
from bs4 import BeautifulSoup, element | |
from Evtx.Evtx import FileHeader | |
from Evtx.Views import evtx_file_xml_view | |
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/python | |
import mmap | |
import contextlib | |
import argparse | |
from bs4 import BeautifulSoup | |
from Evtx.Evtx import FileHeader | |
from Evtx.Views import evtx_file_xml_view |
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
import mmap | |
import contextlib | |
import argparse | |
from Evtx.Evtx import FileHeader | |
from Evtx.Views import evtx_file_xml_view | |
def main(): |
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 | |
""" | |
sudo iptables -t nat -A PREROUTING -i wlan0 -p tcp --destination-port 80 -j REDIRECT --to-port 8080 | |
sudo iptables -t nat -D PREROUTING -i wlan0 -p tcp --destination-port 80 -j REDIRECT --to-port 8080 | |
""" | |
from libmproxy import controller, proxy, platform | |
from libmproxy.flow import Response | |
from netlib.odict import ODictCaseless | |
OlderNewer