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 | |
print_help() { | |
echo | |
echo "Usage: $(basename $0) -p port [-p port] -s server [-s server]" | |
echo | |
} | |
TMP_DIR="/tmp/nginx_conf_$$" |
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
def performAction(self, current_request, macro_items): | |
# grab some stuff from the current request | |
req_text = self.helpers.bytesToString(current_request.getRequest()) | |
# grab jwt from cookie jar | |
jwt = self.getCookieValue(self.cookieDomain, self.cookieName) | |
# does a value exist yet? | |
if jwt != None: | |
# replace the old token with the stored value |
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 imports | |
import re | |
import sys | |
# Burp specific imports | |
from burp import IBurpExtender | |
from burp import ISessionHandlingAction | |
from burp import ICookie | |
# For using the debugging tools from |
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 | |
print_help() { | |
echo "Usage: $(basename $0) <burp history file>" | |
} | |
INPUT=$1 | |
if [ -z "$INPUT" ]; then | |
echo "Error: Provide me with a burp history file." |
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 | |
TOP_N="5000" | |
SKIP_DOWNLOAD=0 | |
BASE="/usr/local/tools/web/robots" | |
URL_BASE="http://s3-us-west-1.amazonaws.com/umbrella-static" | |
print_help() { | |
echo "Usage: $(basename $0) -n <integer> [-s]" |
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 | |
HOST="$1" | |
USERS="$2" | |
PASSWORDS="$3" | |
SLEEP="$4" | |
EMAIL="[email protected]" | |
TEXT="[email protected]" |
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 | |
HOST="$1" | |
USERS="$2" | |
PASSWORDS="$3" | |
SLEEP="$4" | |
TMP_FILE="/tmp/tmp_smb.$$.tmp" | |
RPCCLIENT=$(which rpcclient) | |
NMBLOOKUP=$(which nmblookup) |
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 | |
TARGET="$1" | |
WORDLIST="$2" | |
LEVELS="$3" | |
TMP_FILE_PREFIX="/tmp/gobuster_$$" | |
USER_AGENT='Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)' | |
BACKUP_WORDLIST="/usr/local/wordlists/custom/rw-common-dirs.txt" | |
RESPONSE_CODES="200,301,307,401,403" |
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 | |
BASE="$1" | |
INPUT_FILE="$2" | |
print_help() { | |
echo "Usage: $(basename $0) <folder> <input file>" | |
} | |
if [ -z "$BASE" ]; then |
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 | |
import sys | |
import os.path | |
try: | |
import xml.etree.cElementTree as ET | |
except ImportError: | |
import xml.etree.ElementTree as ET | |
file=sys.argv[1] |
NewerOlder