Skip to content

Instantly share code, notes, and snippets.

puzzlepeaches /
Created Apr 1, 2022
Download latest Linux projectdiscovery tools with Python. Comment out line 54 if you want to hold on to the zipfiles following download.
import os
import glob
import zipfile
import requests
from lastversion import latest
tools = ["nuclei", "httpx", "dnsx", "subfinder", "naabu", "shuffledns"]
def get_version(tools):
for i in tools:
puzzlepeaches /
Created Feb 2, 2022
Lets you feed in a list of user credentials guessed during spraying to check if they have a valid mailbox for an on-prem Exchange server. Basically an easy way to tell if you are going to be able to abuse an ActiveSync endpoint or not. Need to install exchangelib for this to work.
import os
import argparse
from exchangelib import Credentials, Account, Configuration
from exchangelib.errors import ErrorNonExistentMailbox, UnauthorizedError
def args():
parser = argparse.ArgumentParser()
parser.add_argument("-c", "--creds", dest="creds", help="List of known valid user credentials in the format", action='store', required=True)
parser.add_argument("-t", "--target", dest="target", help="Target Exchange server.", action='store', required=True)
args = parser.parse_args()
puzzlepeaches /
Last active Aug 6, 2021
Docker install
# Run with:
# curl -skL | sudo bash
#! /bin/bash
if [ "$EUID" -ne 0 ]
then echo "[-] Please run as root"
# install the required services, pull docker the right docker for debian
puzzlepeaches /
Created Jun 7, 2021
Really bad way of adding a letter after the first character in a username. Makes username validation a little easier if your client is using the format {f}{m}{last}
# Usage: python3 -f users.txt | tee modified-users.txt
import string
import argparse
parser = argparse.ArgumentParser()
parser.add_argument("--file", "-f", type=str, required=True)
args = parser.parse_args()
puzzlepeaches / user.js
Last active Oct 9, 2021 — forked from AetherEternity/user.js
Silent firefox
View user.js
// Mozilla User Preferences
// To change a preference value, you can either:
// - modify it via the UI (e.g. via about:config in the browser); or
// - set it within a user.js file in your profile (create it if it doesn't exist).
// Profile folder location on different systems:
// Windows: C:\Users\<username>\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxxxx.default
// Mac OS X: Users/<username>/Library/Application Support/Firefox/Profiles/xxxxxxxx.default
// Linux: /home/<username>/.mozilla/firefox/xxxxxxxx.default
View wordlist.dict
echo 'Updating and upgrading. This may take a bin'
apt update && apt autoremove -y
echo 'Installing golang'
wget -q -O - | bash
echo 'Dont worry about it'
source ~/.bashrc
puzzlepeaches /
Created Jul 17, 2018 — forked from a7madgamal/
Dark mode for Slack on MacOS
  1. Close slack
  2. Open this file /Applications/
  3. Append this to it
document.addEventListener('DOMContentLoaded', function() {
   url: '',
   success: function(css) {