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 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 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 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 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 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 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 |
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
// Golang script to print greetings for users supplied as input as an example for | |
// simple goroutines pattern | |
// | |
// Example usage: | |
// -------------- | |
// $ cat /tmp/test.txt | |
// Jim | |
// Jordan | |
// | |
// # Simple Example |
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
root | |
bin | |
daemon | |
adm | |
lp | |
sync | |
shutdown | |
halt | |
uucp |
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
"------------------------------------------------------------ | |
" URL: http://vim.wikia.com/wiki/Example_vimrc | |
" Authors: http://vim.wikia.com/wiki/Vim_on_Freenode | |
" Description: A minimal, but feature rich, example .vimrc. If you are a | |
" newbie, basing your first .vimrc on this file is a good choice. | |
" If you're a more advanced user, building your own .vimrc based | |
" on this file is still a good idea. | |
"------------------------------------------------------------ | |
" Features {{{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
cmd |