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
# reconcile.py | |
"""Given an all-capital password (from a cracked LM hash) and an NTLM hash, | |
identify the correct capitalization.""" | |
import argparse | |
import hashlib | |
import itertools | |
def all_cases(password): |
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
# based on https://github.com/rvrsh3ll/FindFrontableDomains by Steve Borosh (rvrsh3ll) | |
# no subdomain enumeration functionality. | |
import argparse | |
import dns.resolver | |
resolver = dns.resolver.default_resolver = dns.resolver.Resolver(configure=False) | |
resolver.nameservers = ['8.8.8.8'] | |
frontable = {'cloudfront': 'Cloudfront', | |
'appspot.com': 'Google', |
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/python | |
# Requries at least Python 3.6 | |
# Reads from stdin or file ( -i / --input-file), writes to stdout or file ( -o / --output-file) | |
# Supports XORing with provided key (-x / --xor) | |
# Supports output formats of C, C#, Java, VB, and B64 string ( -f / --format) | |
# Change shellcode output variable name with -n / --name | |
# Examples: | |
# Read shellcode from stdin, XOR with key 'secret!', format in C byte array, and write to file "sc.txt": |
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
apt-get update | |
apt-get install \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
gnupg-agent \ | |
software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - |
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 base64 | |
from datetime import datetime | |
from hashlib import md5 | |
from math import ceil | |
import os | |
import web | |
from jinja2 import Environment, BaseLoader | |
# Tool is not designed for security, but might as disable this unless needed |
OlderNewer