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 | |
| DELIM="|" | |
| OUT_FILE="out-hibp-breach-details.txt" | |
| USER_AGENT="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36" | |
| HIBP_ENDPOINT="https://haveibeenpwned.com/api/v3" | |
| SLEEP_INTERVAL=3 | |
| CURL_TIMEOUT=6 | |
| USAGE="[-] | |
| Syntax: | |
| $0 <breaches_list/breaches_file> [hibp_api_key=$HIBP_KEY] [sleep_interval=$SLEEP_INTERVAL] [out_file=$OUT_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
| # Directories to exclude | |
| exclude-dirs: | |
| - SOMETHING | |
| # Files to exclude | |
| exclude-files: | |
| - README.md | |
| - .gitignore | |
| - .pre-commit-config.yaml | |
| - LICENSE |
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
| VISIBILITY="public" | |
| SLEEP_TIMEOUT=10 | |
| USAGE="[-] | |
| Usage: | |
| $0 <url> <apikey> [visibility=] | |
| Summary: | |
| Scan URL in urlscan.io and open it with default browser | |
| Args: |
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 | |
| OMI_PORT=5986 | |
| SERVICE_REGEX=".*http.*Microsoft HTTPAPI" | |
| IP_REGEX="^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$" | |
| USAGE=" | |
| [-] $0 <host> | |
| Summary: | |
| Detect possible OMI service which runs on Azure instances |
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
| import argparse | |
| import sys | |
| import pdftotext | |
| def main(): | |
| parser = argparse.ArgumentParser("Converts PDF to text") | |
| parser.add_argument("-f", "--file", required=True, help="File path") | |
| parser.add_argument("-p", "--password", default='', help="Password for pdf") | |
| args = parser.parse_args() |
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/python3 | |
| import mmh3 | |
| import requests | |
| import codecs | |
| import argparse | |
| parser = argparse.ArgumentParser(description='Calculate the favicon hash from a domain') | |
| parser.add_argument('-d', '--domain', required=True, help='Path under which favicon.ico sits e.g. www.google.com OR www.google.com/path/to/favicon') | |
| parser.add_argument('-p', '--protocol', default='https', help='HTTP Protocol') |
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
| This folder contains Windows batch scripts for enable sysmon logging. | |
| These scripts should be run as Admin user. | |
| To clone these scripts, run the command: | |
| git clone https://gist.github.com/manasmbellani/57b5090f471e22c4276efffb169fb1c5 sysmon-scripts |
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 | |
| # Directory where the kiterunner wordlist files should be written | |
| WORDLISTS_DIR="/opt/wordlists" | |
| KITERUNNER_PATH="/opt/kiterunner/kiterunner" | |
| KITERUNNER_WORDLIST_ZIP="routes-large.kite.tar.gz" | |
| KITERUNNER_WORDLIST="$WORDLISTS_DIR/routes-large.kite" | |
| USAGE=" | |
| [-] <...hosts...> | $0 run |
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 | |
| /usr/bin/vncserver :0 -geometry 1280x800 -depth 16 -pixelformat rgb565 |
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/sh | |
| if [ $# -lt 1 ]; then | |
| echo "[-] $0 <mypass>" | |
| exit 1 | |
| fi | |
| mypass="$1" | |
| /usr/bin/expect <<EOF | |
| spawn /usr/bin/vncpasswd |