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
package main | |
// ▄─▄ ▄ ▄ ▄ ──▄ ▄─▄ ▄─▄ | |
// ▓─ ▓ ▓ ▓ ▓ ▓ ▀─▄ ▀─▄ | |
// ▀ ▀─▀─▀ ──▀ ▀─▀ ▀─▀ | |
// f w d --> 5 5 | |
// | |
// simple rfc1928 proxy server | |
// | |
// |
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
/** | |
* RuntimeGlobalsChecker | |
* | |
* You can use this utility to quickly check what variables have been added (or | |
* leaked) to the global window object at runtime (by JavaScript code). | |
* By running this code, the globals checker itself is attached as a singleton | |
* to the window object as "__runtimeGlobalsChecker__". | |
* You can check the runtime globals programmatically at any time by invoking | |
* "window.__runtimeGlobalsChecker__.getRuntimeGlobals()". | |
* |
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/env python3 | |
""" | |
Python script to enumerate valid Microsoft 365 domains, retrieve tenant name, and check for an MDI instance. | |
Based on: https://github.com/thalpius/Microsoft-Defender-for-Identity-Check-Instance. | |
Usage: ./check_mdi.py -d <domain> | |
""" | |
import argparse | |
import dns.resolver |
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
# syntax=docker/dockerfile:1 | |
# Keep this syntax directive! It's used to enable Docker BuildKit | |
# Based on https://github.com/python-poetry/poetry/discussions/1879?sort=top#discussioncomment-216865 | |
# but I try to keep it updated (see history) | |
################################ | |
# PYTHON-BASE | |
# Sets up all our shared environment variables | |
################################ |
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
const { argv } = require('node:process'); | |
const dns = require('node:dns').promises; | |
const ALLOWED_RECORD_TYPES = ['A', 'AAAA', 'ANY', 'CAA', 'CNAME', 'MX', 'NS', 'NAPTR', 'PTR', 'SOA', 'SRV', 'TXT'] | |
async function checkDNSRecord(domain, value, recordType = 'A'){ | |
return new Promise(async (resolve, _) => { | |
try{ | |
const resolver = new dns.Resolver(); | |
const apexDomain = domain.split('.').splice(-2).join('.') |
- Quit App Store.app
- Open Terminal.app in
/Applications/Utilities
- Enter:
defaults write com.apple.appstore ShowDebugMenu -bool true
and hit the Return/⏎ key to show the debug menu in App Store.app.
- Open App
Store.app
(check that theDebug
menu is available!)
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
# Before the first run, read the comments and change the script for your company | |
# Before anything, install ffuf with `go install github.com/ffuf/ffuf@latest` | |
# Change the WEBROOT variable below to the location of the webroot | |
WEBROOT=/var/www/html/CHANGE/ME | |
# This changes to the webroot directory | |
cd $WEBROOT | |
# This makes a directory for storing the files used for this script. Change it to be whatever path you want. | |
PROJPATH=/home/changeme/project | |
mkdir -p $PROJPATH |
This script allows you to install unsigned extensions (ones that aren't approved by Mozilla) on normal Firefox builds and the official Snap! That's right, no "Firefox Developer Edition" nonsense required!
This script is not well tested, like at all. This script might break things, possibly important things. You should probably take a backup of your Firefox profile before using it. You have been warned.
sudo apt install -y curl unzip zip
# Only needed when jailbreaking the Snap