Skip to content

Instantly share code, notes, and snippets.

View nuschpl's full-sized avatar

Bartłomiej Żogała nuschpl

View GitHub Profile
@nuschpl
nuschpl / fix_zsh_loading_time.sh
Created November 1, 2025 23:48
Faster Oh-My-Zsh terminal open - optimization installer (macOS-safe, Bash 3.2 compatible)
#!/bin/bash
# Smarter Oh-My-Zsh optimization installer (macOS-safe, Bash 3.2 compatible)
# - Backs up ~/.zshrc
# - Removes previous optimization blocks (previous runs of this script)
# - Detects existing 'source $ZSH/oh-my-zsh.sh' (various forms)
# - Inserts PRE block BEFORE and POST block AFTER that exact line (no duplicate source)
# - Adds async completion cache rebuild hooks for brew/pip/pipx/python3 -m pip
# - Disables Docker Desktop and AWS CLI completion everytime terminal is opened
# - removes duplicated ZSH completion from /usr/share/zsh/site-functions if Homebrew is present and has those under own path
cd /usr/src/linux-headers-$(uname -r)
sudo ln -sf linux/stddef.h
sudo ln -sf linux/stdarg.h
@nuschpl
nuschpl / kerberos_attacks_cheatsheet.md
Created June 6, 2019 12:12 — forked from TarlogicSecurity/kerberos_attacks_cheatsheet.md
A cheatsheet with commands that can be used to perform kerberos attacks

Kerberos cheatsheet

Bruteforcing

With kerbrute.py:

python kerbrute.py -domain <domain_name> -users <users_file> -passwords <passwords_file> -outputfile <output_file>

With Rubeus version with brute module:

@nuschpl
nuschpl / huawei-fw-list.txt
Created May 15, 2018 14:50 — forked from ValdikSS/huawei-fw-list.txt
Huawei firmware files found on update server
==========================================================================
DO NOT WRITE ANY QUESTIONS IN COMMENTS
==========================================================================
This is not appropriate place for discussions. Keep this list FW-only.
I do NOT have any firmware files apart from published here or on 4pda. Please do not contact me for firmware files requests.
This is a list of files found on Huawei update server by brute-forcing URL parameters.
Some firmware files have changelogs. Just change file name to "changelog.xml" in the end of the URL.