| Base64 Code | Mnemonic Aid | Decoded* | Description |
|---|---|---|---|
JAB |
🗣 Jabber | $. |
Variable declaration (UTF-16), e.g. JABlAG4AdgA for $env: |
TVq |
📺 Television | MZ |
MZ header |
SUVY |
🚙 SUV | IEX |
PowerShell Invoke Expression |
SQBFAF |
🐣 Squab favorite | I.E. |
PowerShell Invoke Expression (UTF-16) |
SQBuAH |
🐣 Squab uahhh | I.n. |
PowerShell Invoke string (UTF-16) e.g. Invoke-Mimikatz |
PAA |
💪 "Pah!" | <. |
Often used by Emotet (UTF-16) |
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
| ################################################## | |
| # Extra tools | |
| # $ sudo apt install -y kali-linux-default bloodhound bloodhound-ce-python chisel chisel-common-binaries dirsearch enum4linux-ng feroxbuster goshs grc iputils-ping mssqlpwner nishang peass powercat rlwrap rubeus seclists sharphound shellter sshpass | |
| # urlencode: | |
| # $ sudo apt install gridsite-clients | |
| # csharp: | |
| # $ sudo apt install mono-devel | |
| # Install flatpak | |
| # -> https://www.kali.org/docs/tools/flatpak/ | |
| # Python2 pip |
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
| #!/bin/bash | |
| set -Eeuxo pipefail | |
| # Install youtube-dl | |
| curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /tmp/youtube-dl | |
| chmod a+rx /tmp/youtube-dl | |
| # Create /tmp/print-missing-youtube.sh script. | |
| echo '#!/bin/bash' > /tmp/print-missing-youtube.sh |
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
| # Example database container setups for PostgreSQL, MariaDB, Redis, Memcached, MongoDB, Neo4j, Hasura GraphQL, CockroachDB, and TiDB in Docker Compose | |
| # https://gist.github.com/pirate/1fafaa18a47254f388aa5c0f79f7d263 | |
| # Goes well with these docker-compose networking/ingress container examples: | |
| # https://gist.github.com/pirate/1996d3ed6c5872b1b7afded250772f7c | |
| version: '2.4' | |
| services: | |
| postgres: |
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
| # Start podcasting | |
| ## Some time tracking | |
| & workflows/Timing | |
| - task = Podcasting | |
| - project = Podcasting | |
| ## Do not disturb me, audio settings | |
| (dnd on) |
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 ruby | |
| # frozen_string_literal: true | |
| # Brett Terpstra <https://brettterpstra.com> | |
| # | |
| # macOS: Stores all input/output devices and volume settings to a | |
| # text file, restores on demand | |
| # | |
| ## Dependencies | |
| # SwitchAudioSource <https://github.com/deweller/switchaudio-osx> |
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
| tell application "System Events" | |
| tell process "Firefox Nightly" | |
| set tmp to value of attribute "AXEnhancedUserInterface" | |
| set value of attribute "AXEnhancedUserInterface" to true | |
| set returnUrl to value of attribute "AXValue" of text field 1 of combo box 1 of toolbar "Navigation" of UI element 1 of front window | |
| set value of attribute "AXEnhancedUserInterface" to tmp | |
| return returnUrl | |
| end tell | |
| end tell |
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 | |
| ''' | |
| Determine if this python is part of an executable or a standalone script and then delete the file accordingly. | |
| If the script has been bundled into an executable using pyinstaller (such as pyinstaller --onefile <fname>.py) then the realpath of __file__ will be incorrect, thus the use of sys.executable. | |
| Example of just relying on __file__: | |
| $ pyinstaller --onefile test.py | |
| [...] | |
| $ ls dist/ |
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/local/etc/shairport-sync-pulseaudio/shairport-sync.conf | |
| // shairport-sync configuration for pulseaudio on macos | |
| // v16.0.1 | |
| // General Settings. | |
| general = | |
| { | |
| name = "%h | shairport-sync"; | |
| output_backend = "pa"; |
With kerbrute.py:
python kerbrute.py -domain <domain_name> -users <users_file> -passwords <passwords_file> -outputfile <output_file>With Rubeus version with brute module: