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 theDebugmenu 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
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
| My Resources and Links over time to various Tools, Notes, Videos, Papers, Articles, Writeups, and more. Will be moving to my own private hosted Wikipedia soon. Ascii Art Font: Calvin S | |
| ββ¦ββ¦ β¦ ββ β¬ β¬βββ ββ ββββ¬ β¬ββββ¬ββ¬ β¬ β¦ββββββββββββ¬ β¬β¬βββββββββββ | |
| βββββ¦β β β©ββ ββ β¬ β β©ββ ββ βββββ ββ¬β β β¦βββ€ ββββ ββ βββ¬ββ ββ€ βββ | |
| β© β© β© βββββββββ βββββββββββββ΄ β΄ β©βββββββββββββββ΄βββββββββββ | |
| // | |
| ()==========>>======================================-- | |
| \\ | |
| https://doepichack.com/ |
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 bash | |
| # -- search for specific strings in the output of ghidra decompiler for a | |
| # -- specific target binary. | |
| # -- | |
| # -- ghidra script from: https://github.com/0xdea/ghidra-scripts | |
| # --------------------------------------------------------------------------- | |
| # update this to point to the location where ghidra is installed | |
| GHIDRA_PATH="$HOME/tools/ghidra_10.1.4" | |
| # update this to point to the location where the ghidra-scripts repo was downloaded |
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
| /* | |
| IOCTL 0x40002004 : Arbitrary Physical Memory Read using MmMapIoSpace | |
| IOCTL 0x40002008 : Close a handle of your choice! + Stack-based Buffer Overflow | |
| IOCTL 0x40002000 : Arbitrary RW to IO ports | |
| */ | |
| #include <Windows.h> | |
| #include <stdio.h> | |
| #define GLE( x ) { printf("%s failed with error: %d\n", x , GetLastError()); } | |
| #define IOCTL_TRIGGER_OVERFLOW 0x40002008 |