[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M764DHTKSPSN4Z9K88C891SB":3,"skill-same:01M764DHTKSPSN4Z9K88C891SB":119},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":36,"ownerDescription":37,"updatedAt":38,"install":39,"resources":52},"01M764DHTKSPSN4Z9K88C891SB","ctf-misc",null,"Provides miscellaneous CTF challenge techniques for problems that do not cleanly fit the main categories. Use for encoding puzzles, pyjails, bash jails, RF\u002FSDR, DNS oddities, unicode tricks, esoteric languages, QR or audio puzzles, constraint solving, game theory, unusual sandbox escapes, and hybrid logic puzzles. Prefer a more specific skill first when the challenge is mainly web, pwn, reverse, forensics, malware, OSINT, or crypto. Treat this as the fallback skill for genuine cross-category or edge-case challenges, not the default starting point.","jiayaoqijia\u002Fcryptoskill","jiayaoqijia","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1453879?v=4","01M6GMYTX7Q7S504VC6E756ENR","YQ","01M6GMYV1QKJ1CC75MTTGT9PR0",81,"MIT","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fdev-tools\u002Fabhay2008-ctf-misc\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fdev-tools\u002Fabhay2008-ctf-misc\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: ctf-misc\ndescription: Provides miscellaneous CTF challenge techniques for problems that do not cleanly fit the main categories. Use for encoding puzzles, pyjails, bash jails, RF\u002FSDR, DNS oddities, unicode tricks, esoteric languages, QR or audio puzzles, constraint solving, game theory, unusual sandbox escapes, and hybrid logic puzzles. Prefer a more specific skill first when the challenge is mainly web, pwn, reverse, forensics, malware, OSINT, or crypto. Treat this as the fallback skill for genuine cross-category or edge-case challenges, not the default starting point.\nlicense: MIT\ncompatibility: Requires filesystem-based agent (Claude Code or similar) with bash, Python 3, and internet access for tool installation.\nallowed-tools: Bash Read Write Edit Glob Grep Task WebFetch WebSearch Skill\nmetadata:\n  user-invocable: \"false\"\n  author: Lukasz Jagiello\n---\n\n# CTF Miscellaneous\n\nQuick reference for miscellaneous CTF challenges. Each technique has a one-liner here; see supporting files for full details.\n\n## Prerequisites\n\n**Python packages (all platforms):**\n```bash\npip install \"pwntools==4.15.0\" \"segno==1.6.6\" z3-solver Pillow numpy requests dnslib\n```\n\n**Linux (apt):**\n```bash\napt install libzbar0 qrencode ffmpeg\n```\n\n**macOS (Homebrew):**\n```bash\nbrew install ffmpeg qrencode\n```\n\n**Manual install:**\n- SageMath — Linux: `apt install sagemath`, macOS: `brew install --cask sage`\n\n## Additional Resources\n\n- [pyjails.md](pyjails.md) - Python jail\u002Fsandbox escape techniques, quine context detection, restricted character repunit decomposition, func_globals module chain traversal, restricted charset number generation, class attribute persistence, f-string config injection via stored eval\n- [bashjails.md](bashjails.md) - Bash jail\u002Frestricted shell escape techniques, HISTFILE file read trick, bash -v verbose mode, ctypes.sh direct C library calls\n- [encodings.md](encodings.md) - Encodings, QR codes, esolangs, UTF-16 tricks, BCD encoding, multi-layer auto-decoding, indexed directory QR reassembly, multi-stage URL encoding chains\n- [encodings-advanced.md](encodings-advanced.md) - Verilog\u002FHDL, Gray code cyclic encoding, RTF custom tag extraction, SMS PDU decoding, multi-encoding sequential solvers, UTF-9, pixel binary encoding, hexadecimal Sudoku + QR assembly, TOPKEK, MaxiCode\n- [audio.md](audio.md) - Audio steganography and signal analysis: Morse code extraction from audio channels with auto-detection, spectrogram analysis, SSTV decoding, amplitude envelope timing classification\n- [rf-sdr.md](rf-sdr.md) - RF\u002FSDR\u002FIQ signal processing (QAM-16, carrier recovery, timing sync)\n- [dns.md](dns.md) - DNS exploitation (ECS spoofing, NSEC walking, IXFR, rebinding, tunneling)\n- [games-and-vms.md](games-and-vms.md) - WASM patching, Roblox place file reversing, PyInstaller, marshal analysis, Python env RCE, Z3 (including boolean logic gate network SAT solving), K8s RBAC, floating-point precision exploitation, custom assembly language sandbox escape via Python MRO chain\n- [games-and-vms-2.md](games-and-vms-2.md) - Cookie checkpoint game brute-forcing, Flask cookie game state leakage, WebSocket game manipulation, server time-only validation bypass, De Bruijn sequence, Brainfuck instrumentation, WASM linear memory manipulation\n- [games-and-vms-3.md](games-and-vms-3.md) - memfd_create packed binaries, multi-phase crypto games with HMAC commitment-reveal and GF(256) Nim, emulator ROM-switching state preservation, Python marshal code injection, Benford's Law bypass, parallel connection oracle relay, nonogram solver pipelines, 100 prisoners problem, C code jail escape via emoji identifiers, BuildKit daemon build secret exploitation, Docker container escape, Levenshtein distance oracle attack, taint analysis bypass via type coercion, shredded document pixel-edge reassembly\n- [games-and-vms-4.md](games-and-vms-4.md) - Part 4 (2018-era): XSLT as Turing-complete VM, JavaScript MAX_SAFE_INTEGER successor equality, binary search oracle in comparison-only DSL, blind SQLi via script-engine timeout error, OEIS sequence lookup automation, QR code reassembly from format-string constraints, matrix exponentiation for Fibonacci recurrence, Tribonacci for frog-jump counting, Selenium + Tesseract dynamic CAPTCHA, Brainfuck→Piet multi-layer polyglot, bytebeat synth code recognition\n- [linux-privesc.md](linux-privesc.md) - Sudo wildcard parameter injection (fnmatch), crafted pcap for sudoers.d, monit confcheck process injection, Apache -d override, backup cronjob SUID, PostgreSQL COPY TO PROGRAM RCE, PostgreSQL backup credential extraction, NFS share exploitation, SSH Unix socket tunneling, PaperCut Print Deploy privesc, Squid proxy pivoting, Zabbix admin password reset via MySQL, WinSSHTerm credential decryption\n- [ctfd-navigation.md](ctfd-navigation.md) - CTFd platform API navigation without browser: detection, token auth, challenge listing, file download, flag submission, scoreboard, hints, notifications, Python client class\n\n---\n\n## When to Pivot\n\n- Pure Python\u002Fbash\u002FNode\u002FPHP jail with a filter to break rather than a puzzle to decode: switch to `\u002Fctf-jail` (`pyjails.md` and `bashjails.md` stay here as the technique library).\n- Cloud metadata, IAM, S3, Kubernetes or container escape: switch to `\u002Fctf-cloud`.\n- Firmware blob, logic capture, UART\u002FJTAG\u002FSPI, CAN or side channel: switch to `\u002Fctf-hardware`.\n- If the puzzle is actually centered on cryptography or number theory, switch to `\u002Fctf-crypto`.\n- If the challenge is a real binary exploit instead of a jail, toy VM, or encoding problem, switch to `\u002Fctf-pwn` or `\u002Fctf-reverse`.\n- If the input is mostly files, images, audio, or packet captures that need recovery work first, switch to `\u002Fctf-forensics`.\n- For ML\u002FAI techniques (model attacks, adversarial examples, LLM jailbreaking), see `\u002Fctf-ai-ml`.\n- If the NodeJS sandbox uses **vm2** (`npm ls vm2`), check for **CVE-2023-37466** via `Promise[@@species]` with `nesting:true` — the exception handler escapes the context; see [..\u002Fctf-web\u002Fnode-and-prototype.md](..\u002Fctf-web\u002Fnode-and-prototype.md#affected-libraries) for the library-level detail. In misc challenges with bundled JS, always run `npm ls vm2` to detect vulnerable vm2 before trying other escapes.\n\n## Quick Start Commands\n\n```bash\n# File identification\nfile mystery_file\nxxd mystery_file | head -5\npython3 -c \"import magic; print(magic.from_file('mystery_file'))\"\n\n# Encoding detection\npython3 -c \"import base64; print(base64.b64decode('\u003Cdata>'))\"\necho '\u003Cdata>' | base64 -d\necho '\u003Chex>' | xxd -r -p\n\n# QR code\nzbarimg qr.png\npython3 -c \"from pyzbar.pyzbar import decode; from PIL import Image; print(decode(Image.open('qr.png')))\"\n\n# Z3 constraint solving\npython3 -c \"from z3 import *; x=BitVec('x',32); s=Solver(); s.add(x^0xdead==0xbeef); s.check(); print(s.model())\"\n\n# Python jail test\npython3 -c \"__import__('os').system('id')\"\n```\n\n## General Tips\n\n- Read all provided files carefully\n- Check file metadata, hidden content, encoding\n- Power Automate scripts may hide API calls\n- Use binary search when guessing multiple answers\n\n## Common Encodings\n\n```bash\n# Base64\necho \"encoded\" | base64 -d\n\n# Base32 (A-Z2-7=)\necho \"OBUWG32D...\" | base32 -d\n\n# Hex\necho \"68656c6c6f\" | xxd -r -p\n\n# ROT13\necho \"uryyb\" | tr 'a-zA-Z' 'n-za-mN-ZA-M'\n```\n\n**Identify by charset:**\n- Base64: `A-Za-z0-9+\u002F=`\n- Base32: `A-Z2-7=` (no lowercase)\n- Hex: `0-9a-fA-F`\n\nSee [encodings.md](encodings.md) for Caesar brute force, URL encoding, and full details.\n\n## IEEE-754 Float Encoding (Data Hiding)\n\n**Pattern (Floating):** Numbers are float32 values hiding raw bytes.\n\n**Key insight:** A 32-bit float is just 4 bytes interpreted as a number. Reinterpret as raw bytes -> ASCII.\n\n```python\nimport struct\nfloats = [1.234e5, -3.456e-7, ...]  # Whatever the challenge gives\nflag = b''\nfor f in floats:\n    flag += struct.pack('>f', f)\nprint(flag.decode())\n```\n\n**Variations:** Double `'>d'`, little-endian `'\u003Cf'`, mixed. See [encodings.md](encodings.md) for CyberChef recipe.\n\n## USB Mouse PCAP Reconstruction\n\n**Pattern (Hunt and Peck):** USB HID mouse traffic captures on-screen keyboard typing. Use USB-Mouse-Pcap-Visualizer, extract click coordinates (falling edges), cumsum relative deltas for absolute positions, overlay on OSK image.\n\n## File Type Detection\n\n```bash\nfile unknown_file\nxxd unknown_file | head\nbinwalk unknown_file\n```\n\n## Archive Extraction\n\n```bash\n7z x archive.7z           # Universal\ntar -xzf archive.tar.gz   # Gzip\ntar -xjf archive.tar.bz2  # Bzip2\ntar -xJf archive.tar.xz   # XZ\n```\n\n### Nested Archive Script\n```bash\nwhile f=$(ls *.tar* *.gz *.bz2 *.xz *.zip *.7z 2>\u002Fdev\u002Fnull|head -1) && [ -n \"$f\" ]; do\n    7z x -y \"$f\" && rm \"$f\"\ndone\n```\n\n## QR Codes\n\n```bash\nzbarimg qrcode.png       # Decode\nqrencode -o out.png \"data\"\n```\n\n**MaxiCode barcode:** Hexagonal 2D barcode with bullseye center; decode with `zxing` (Java) since standard QR decoders fail. See [encodings-advanced.md](encodings-advanced.md#maxicode-2d-barcode-decoding-csaw-ctf-2016).\n\n**TOPKEK encoding:** CTF-specific binary encoding where `KEK=0`, `TOP=1`, `!` suffix = repeat count. See [encodings-advanced.md](encodings-advanced.md#topkek-binary-encoding-hack-the-vote-2016).\n\nSee [encodings.md](encodings.md) for QR structure, repair techniques, chunk reassembly (structural and indexed-directory variants), and multi-stage URL encoding chains.\n\n## Audio Challenges\n\n```bash\n# Spectrogram (hidden text\u002Fimages in frequency domain)\nsox audio.wav -n spectrogram -o spec.png\nsox audio.wav -n spectrogram -o spec.png -x 2048 -y 1025  # higher resolution\n\n# Channel inspection (identify stereo vs mono, sample rate, bit depth)\npython3 -c \"import wave; w=wave.open('audio.wav'); print(f'channels={w.getnchannels()}, rate={w.getframerate()}, width={w.getsampwidth()}')\"\n\n# SSTV (Slow Scan TV decoder)\nqsstv                          # GUI - play audio + use pulseaudio loopback\n```\n\n**Morse code extraction:** WAV file with Morse beeps hidden on one audio channel. Separate stereo interleaved channels (L=even idx, R=odd idx), auto-detect the Morse channel by peak-to-mean envelope ratio (beep channel = high ratio from alternating loud\u002Fsilent), compute RMS envelope (50ms window), threshold to segment beeps, classify by duration: dots (~100–150ms) vs dashes (~250–350ms), then use gap timing (short gaps = intra-character, long gaps = inter-character) to group into Morse characters. Full auto-detection extraction script in [audio.md](audio.md#morse-code-in-audio-channel).\n\n**DTMF (phone keypad tones):** Dual-tone multi-frequency signaling decodes to digits, then map to letters via multi-tap keypad. See [encodings-advanced.md](encodings-advanced.md#dtmf-audio-with-multi-tap-phone-keypad-decoding-h4ckc0n-2017).\n\n**Music note steganography:** Note pairs encode nibbles via scale-degree mapping. See [encodings-advanced.md](encodings-advanced.md#music-note-interval-steganography-defcamp-2017).\n\nSee [audio.md](audio.md) for full audio analysis techniques.\n\n## RF \u002F SDR \u002F IQ Signal Processing\n\nSee [rf-sdr.md](rf-sdr.md) for full details (IQ formats, QAM-16 demod, carrier\u002Ftiming recovery).\n\n**Quick reference:**\n- **cf32**: `np.fromfile(path, dtype=np.complex64)` | **cs16**: int16 reshape(-1,2) | **cu8**: RTL-SDR raw\n- Circles in constellation = constant frequency offset; Spirals = drifting frequency + gain instability\n- 4-fold ambiguity in DD carrier recovery - try 0\u002F90\u002F180\u002F270 rotation\n\n## pwntools Interaction\n\n```python\nfrom pwn import *\n\nr = remote('host', port)\nr.recvuntil(b'prompt: ')\nr.sendline(b'answer')\nr.interactive()\n```\n\n## Python Jail Quick Reference\n\n- **Oracle pattern:** `L()` = length, `Q(i,x)` = compare, `S(guess)` = submit. Linear or binary search.\n- **Walrus bypass:** `(abcdef := \"new_chars\")` reassigns constraint vars\n- **Decorator bypass:** `@__import__` + `@func.__class__.__dict__[__name__.__name__].__get__` for no-call, no-quotes escape\n- **String join:** `open(''.join(['fl','ag.txt'])).read()` when `+` is blocked\n\nSee [pyjails.md](pyjails.md) for full techniques.\n\n## Z3 \u002F Constraint Solving\n\n```python\nfrom z3 import *\nflag = [BitVec(f'f{i}', 8) for i in range(FLAG_LEN)]\ns = Solver()\n# Add constraints, check sat, extract model\n```\n\nSee [games-and-vms.md](games-and-vms.md) for YARA rules, type systems as constraints, boolean logic gate network SAT solving.\n\n## Hash Identification\n\nMD5: `0x67452301` | SHA-256: `0x6a09e667` | MurmurHash64A: `0xC6A4A7935BD1E995`\n\n## SHA-256 Length Extension Attack\n\nMAC = `SHA-256(SECRET || msg)` with known msg\u002Fhash -> forge valid MAC via `hlextend`. Vulnerable: SHA-256, MD5, SHA-1. NOT: HMAC, SHA-3.\n\n```python\nimport hlextend\nsha = hlextend.new('sha256')\nnew_data = sha.extend(b'extension', b'original_message', len_secret, known_hash_hex)\n```\n\n## Technique Quick References\n\n- **PyInstaller:** `pyinstxtractor.py packed.exe`. See [games-and-vms.md](games-and-vms.md) for opcode remapping.\n- **Marshal:** `marshal.load(f)` then `dis.dis(code)`. See [games-and-vms.md](games-and-vms.md).\n- **Python env RCE:** `PYTHONWARNINGS=ignore::antigravity.Foo::0` + `BROWSER=\"cmd\"`. See [games-and-vms.md](games-and-vms.md).\n- **WASM patching:** `wasm2wat` -> flip minimax -> `wat2wasm`. See [games-and-vms.md](games-and-vms.md).\n- **Float precision:** Large multipliers amplify FP errors into exploitable fractions. See [games-and-vms.md](games-and-vms.md).\n- **K8s RBAC bypass:** SA token -> impersonate -> hostPath mount -> read secrets. See [games-and-vms.md](games-and-vms.md).\n- **Cookie checkpoint:** Save session cookies before guesses, restore on failure to brute-force without reset. See [games-and-vms-2.md](games-and-vms-2.md).\n- **Flask cookie game state:** `flask-unsign -d -c '\u003Ccookie>'` decodes unsigned Flask sessions, leaking game answers. See [games-and-vms-2.md](games-and-vms-2.md).\n- **WebSocket teleport:** Modify `player.x`\u002F`player.y` in console, call verification function. See [games-and-vms-2.md](games-and-vms-2.md).\n- **Time-only validation:** Start session, `time.sleep(required_seconds)`, submit win. See [games-and-vms-2.md](games-and-vms-2.md).\n- **Quine context detection:** Dual-purpose quine that prints itself (passes validation) and runs payload only in server process via globals gate. See [pyjails.md](pyjails.md).\n- **Repunit decomposition:** Decompose target integer into sum of repunits (1, 11, 111, ...) using only 2 characters (`1` and `+`) for restricted eval. See [pyjails.md](pyjails.md).\n- **De Bruijn sequence:** B(k, n) contains all k^n possible n-length strings as substrings; linearize by appending first n-1 chars. See [games-and-vms-2.md](games-and-vms-2.md).\n- **Brainfuck instrumentation:** Instrument BF interpreter to track tape cells, brute-force flag character-by-character via validation cell. See [games-and-vms-2.md](games-and-vms-2.md).\n- **WASM memory manipulation:** Patch WASM linear memory at runtime to set game state variables directly, bypassing game logic. See [games-and-vms-2.md](games-and-vms-2.md).\n- **Lua sandbox escape:** Bypass `load()`\u002F`os.execute()` filters via `os[\"execute\"]` table indexing or `loadstring` alias. See [games-and-vms.md](games-and-vms.md#lua-sandbox-escape-via-function-name-injection-csaw-ctf-2016).\n- **C code jail via emoji + gadget embedding:** When only emoji and punctuation are allowed in C, use `(😃==😃)` as constant 1, build integers, embed gadgets in `add eax, imm32` constants, jump to offset+1 for shellcode primitives. See [games-and-vms-3.md](games-and-vms-3.md#c-code-jail-escape-via-emoji-identifiers-and-gadget-embedding-midnight-flag-2026).\n- **Emulator ROM-switching:** `\u002Fload` replaces ROM but preserves CPU state (registers, RAM, PC). Switch ROMs at specific PCs to combine INIT from one ROM with display instructions from another → read protected memory. See [games-and-vms-3.md](games-and-vms-3.md#emulator-rom-switching-state-preservation-bsidessf-2026).\n- **BuildKit daemon exploitation:** Exposed BuildKit gRPC allows nested `buildctl build` with `--mount=type=secret` to read build secrets. Two-stage Dockerfile: install buildctl → submit nested build mounting flag secret. See [games-and-vms-3.md](games-and-vms-3.md#buildkit-daemon-exploitation-for-build-secrets-bsidessf-2026).\n- **Docker container escape:** Privileged breakout via host device mount, docker.sock socket escape, CAP_SYS_ADMIN cgroup release_agent, container info leakage via \u002Fproc and overlayfs. See [games-and-vms-3.md](games-and-vms-3.md#docker-container-escape-techniques).\n- **Taint analysis bypass via type coercion:** In custom ML-like languages with secrecy\u002Ftaint systems, if-expression secrecy depends on return type not condition — coerce side-effecting functions to private type to leak private data through public mutable refs. See [games-and-vms-3.md](games-and-vms-3.md#taint-analysis-bypass-in-custom-language-via-type-coercion-plaidctf-2018).\n- **Shredded document pixel-edge reassembly:** Encode each strip's left\u002Fright edge as binary bitmask (dark=1), use XOR + popcount Hamming distance to greedily place strips by minimum edge distance for sub-second reassembly. See [games-and-vms-3.md](games-and-vms-3.md#shredded-document-pixel-edge-reassembly-under-time-pressure-nuit-du-hack-ctf-2018).\n- **f-string config injection via stored eval:** Store payload as config value, create key named `eval(stored_key)` — f-string rendering evaluates the key name expression, triggering RCE. See [pyjails.md](pyjails.md#python-f-string-config-injection-via-stored-eval-inshack-2018).\n- **Hexadecimal Sudoku + QR assembly:** 4 QR codes encode 16x16 hex Sudoku quadrants; solve grid, read diagonal as hex pairs → ASCII flag. See [encodings-advanced.md](encodings-advanced.md#hexadecimal-sudoku--qr-assembly-bsidessf-2026).\n- **Z3 boolean gate network SAT solving:** Product key validation as 250 boolean gates (AND\u002FOR\u002FXOR\u002FNOT) over 125 input bits. Model each gate as Z3 constraint, require all outputs True, solve in milliseconds. See [games-and-vms.md](games-and-vms.md#z3-sat-solving-for-boolean-logic-gate-networks-bsidessf-2026).\n\n## 3D Printer Video Nozzle Tracking (LACTF 2026)\n\n**Pattern (flag-irl):** Video of 3D printer fabricating nameplate. Flag is the printed text.\n\n**Technique:** Track nozzle X\u002FY positions from video frames, filter for print moves (top\u002Ftext layer only), plot 2D histogram to reveal letter shapes:\n```python\n# 1. Identify text layer frames (e.g., frames 26100-28350)\n# 2. Track print head X position (physical X-axis)\n# 3. Track bed X position (physical Y-axis from camera angle)\n# 4. Filter for moves with extrusion (head moving while printing)\n# 5. Plot as 2D scatter\u002Fhistogram -> letters appear\n```\n\n## Discord API Enumeration (0xFun 2026)\n\nFlags hidden in Discord metadata (roles, animated emoji, embeds). Invoke `\u002Fctf-osint` for Discord API enumeration technique and code (see social-media.md in ctf-osint).\n\n---\n\n## SUID Binary Exploitation (0xFun 2026)\n\n```bash\n# Find SUID binaries\nfind \u002F -perm -4000 2>\u002Fdev\u002Fnull\n\n# Cross-reference with GTFObins\n# xxd with SUID: xxd flag.txt | xxd -r\n# vim with SUID: vim -c ':!cat \u002Fflag.txt'\n```\n\n**Reference:** https:\u002F\u002Fgtfobins.github.io\u002F\n\n---\n\n## Linux Privilege Escalation Quick Checks\n\n```bash\n# GECOS field passwords\ncat \u002Fetc\u002Fpasswd  # Check 5th colon-separated field\n\n# ACL permissions\ngetfacl \u002Fpath\u002Fto\u002Frestricted\u002Ffile\n\n# Sudo permissions\nsudo -l\n\n# Docker group membership (instant root)\nid | grep -q docker && docker run -v \u002F:\u002Fmnt --rm -it alpine chroot \u002Fmnt \u002Fbin\u002Fsh\n```\n\n## Docker Group Privilege Escalation (H7CTF 2025)\n\nUser in the `docker` group can mount the host filesystem into a container and chroot into it for root access.\n\n```bash\n# Check group membership\nid  # Look for \"docker\" in groups\n\n# Mount host root filesystem and chroot\ndocker run -v \u002F:\u002Fmnt --rm -it alpine chroot \u002Fmnt \u002Fbin\u002Fsh\n\n# Now running as root on the host filesystem\ncat \u002Froot\u002Fflag.txt\n```\n\n**Key insight:** Docker group membership is equivalent to root access. The `docker` CLI socket (`\u002Fvar\u002Frun\u002Fdocker.sock`) allows creating privileged containers that mount the entire host filesystem.\n\n**Reference:** https:\u002F\u002Fgtfobins.github.io\u002Fgtfobins\u002Fdocker\u002F\n\n## Sudo Wildcard Parameter Injection (Dump HTB)\n\nSudo's `fnmatch()` matches `*` across argument boundaries. Inject extra flags (`-Z root`, `-r`, second `-w`) into locked-down commands. Craft pcap with embedded valid sudoers entries — sudo's parser recovers from binary junk, unlike cron's strict parser. See [linux-privesc.md](linux-privesc.md#sudo-wildcard-parameter-injection-via-fnmatch-dump-htb).\n\n## Monit Process Command-Line Injection (Zero HTB)\n\nRoot monit script uses `pgrep -lfa` to extract process command lines, then executes a modified version. Create fake process via `perl -e '$0 = \"...\"'` with injected flags. Apache `-d` last-wins overrides ServerRoot; `-E` captures error output. `Include \u002Froot\u002Fflag` causes a parse error that reveals the file content. See [linux-privesc.md](linux-privesc.md#monit-confcheck-process-command-line-injection-zero-htb).\n\n## PostgreSQL RCE and File Read (Slonik HTB)\n\n`COPY (SELECT '') TO PROGRAM 'cmd'` executes OS commands as postgres. `pg_read_file('\u002Fpath')` reads files. Extract credentials from `pg_basebackup` archives (`global\u002F1260` = `pg_authid`). SSH tunnel to Unix sockets: `ssh -fNL 25432:\u002Fvar\u002Frun\u002Fpostgresql\u002F.s.PGSQL.5432`. See [linux-privesc.md](linux-privesc.md#postgresql-copy-to-program-rce-slonik-htb).\n\n## Backup Cronjob SUID Abuse (Slonik HTB)\n\nRoot cronjob copying directories preserves SUID bit but changes ownership to root. Place SUID bash in source directory → backup copies it as root-owned SUID. Execute with `bash -p`. See [linux-privesc.md](linux-privesc.md#backup-cronjob-suid-abuse-slonik-htb).\n\n## PaperCut Print Deploy Privesc (Bamboo HTB)\n\nRoot process runs scripts from user-owned directory. Modify `server-command`, trigger via Mobility Print API refresh. See [linux-privesc.md](linux-privesc.md#papercut-print-deploy-privilege-escalation-bamboo-htb).\n\n---\n\n## CTFd Platform Navigation (No Browser)\n\nDetect CTFd (`curl -s \"$CTF_URL\u002Fapi\u002Fv1\u002F\" | head -5`) and interact via API. **Ask the user for their API token** (CTFd Settings > Access Tokens) — it is not provided by default. Then use `Authorization: Token $CTF_TOKEN` header for all requests.\n\n```bash\nexport CTF_URL=\"https:\u002F\u002Fctf.example.com\" CTF_TOKEN=\"ctfd_your_token_here\"\ncurl -s -H \"Authorization: Token $CTF_TOKEN\" \"$CTF_URL\u002Fapi\u002Fv1\u002Fchallenges\" | jq -r '.data[] | \"\\(.id)\\t\\(.value)pts\\t\\(.category)\\t\\(.name)\"'\ncurl -s -X POST -H \"Authorization: Token $CTF_TOKEN\" -H \"Content-Type: application\u002Fjson\" \"$CTF_URL\u002Fapi\u002Fv1\u002Fchallenges\u002Fattempt\" -d \"{\\\"challenge_id\\\": $CID, \\\"submission\\\": \\\"flag{...}\\\"}\"\n```\n\nSee [ctfd-navigation.md](ctfd-navigation.md) for full workflow, Python client class, session login, hints, notifications, file download, and troubleshooting.\n\n---\n\n## Useful One-Liners\n\n```bash\ngrep -rn \"flag{\" .\nstrings file | grep -i flag\npython3 -c \"print(int('deadbeef', 16))\"\n```\n\n## Keyboard Shift Cipher\n\n**Pattern (Frenzy):** Characters shifted left\u002Fright on QWERTY keyboard layout.\n\n**Identification:** dCode Cipher Identifier suggests \"Keyboard Shift Cipher\"\n\n**Decoding:** Use [dCode Keyboard Shift Cipher](https:\u002F\u002Fwww.dcode.fr\u002Fkeyboard-shift-cipher) with automatic mode.\n\n## Pigpen \u002F Masonic Cipher\n\n**Pattern (Working For Peanuts):** Geometric symbols representing letters based on grid positions.\n\n**Identification:** Angular\u002Fgeometric symbols, challenge references \"Peanuts\" comic (Charlie Brown), \"dusty looking crypto\"\n\n**Decoding:** Map symbols to Pigpen grid positions, or use online decoder.\n\n## ASCII in Numeric Data Columns\n\n**Pattern (Cooked Books):** CSV\u002Fspreadsheet numeric values (48-126) are ASCII character codes.\n\n```python\nimport csv\nwith open('data.csv') as f:\n    reader = csv.DictReader(f)\n    flag = ''.join(chr(int(row['Times Borrowed'])) for row in reader)\nprint(flag)\n```\n\n**CyberChef:** \"From Decimal\" recipe with line feed delimiter.\n\n## Backdoor Detection in Source Code\n\n**Pattern (Rear Hatch):** Hidden command prefix triggers `system()` call.\n\n**Common patterns:**\n- `strncmp(input, \"exec:\", 5)` -> runs `system(input + 5)`\n- Hex-encoded comparison strings: `\\x65\\x78\\x65\\x63\\x3a` = \"exec:\"\n- Hidden conditions in maintenance\u002Fadmin functions\n\n## DNS Exploitation Techniques\n\nSee [dns.md](dns.md) for full details (ECS spoofing, NSEC walking, IXFR, rebinding, tunneling).\n\n**Quick reference:**\n- **ECS spoofing**: `dig @server flag.example.com TXT +subnet=10.13.37.1\u002F24` - try leet-speak IPs (1337)\n- **NSEC walking**: Follow NSEC chain to enumerate DNSSEC zones\n- **IXFR**: `dig @server domain IXFR=0` when AXFR is blocked\n- **DNS rebinding**: Low-TTL alternating resolution to bypass same-origin\n- **DNS tunneling**: Data exfiltrated via subdomain queries or TXT responses\n\n## Unicode Steganography\n\n### Variation Selectors Supplement (U+E0100-U+E01EF)\n**Patterns (Seen & emoji, Nullcon 2026):** Invisible Variation Selector Supplement characters encode ASCII via codepoint offset.\n\n```python\n# Extract hidden data from variation selectors after visible character\ndata = open('README.md', 'r').read().strip()\nhidden = data[1:]  # Skip visible emoji character\nflag = ''.join(chr((ord(c) - 0xE0100) + 16) for c in hidden)\n```\n\n**Detection:** Characters appear invisible but have non-zero length. Check with `[hex(ord(c)) for c in text]` -- look for codepoints in `0xE0100-0xE01EF` or `0xFE00-0xFE0F` range.\n\n### Unicode Tags Block (U+E0000-U+E007F) (UTCTF 2026)\n\n**Pattern (Hidden in Plain Sight):** Invisible Unicode Tag characters embedded in URLs, filenames, or text. Each tag codepoint maps directly to an ASCII character by subtracting `0xE0000`. URL-encoded as 4-byte UTF-8 sequences (`%F3%A0%81%...`).\n\n```python\nimport urllib.parse\n\nurl = \"https:\u002F\u002Fexample.com\u002Fpage#Title%20%F3%A0%81%B5%F3%A0%81%B4...Visible%20Text\"\ndecoded = urllib.parse.unquote(urllib.parse.urlparse(url).fragment)\n\nflag = ''.join(\n    chr(ord(ch) - 0xE0000)\n    for ch in decoded\n    if 0xE0000 \u003C= ord(ch) \u003C= 0xE007F\n)\nprint(flag)\n```\n\n**Key insight:** Unicode Tags (U+E0001-U+E007F) mirror ASCII 1:1 — subtract `0xE0000` to recover the original character. They render as zero-width invisible glyphs in most fonts. Unlike Variation Selectors (U+E0100+), these have a simpler offset calculation and appear in URL fragments, challenge titles, or filenames where the text looks normal but has suspiciously long byte length.\n\n**Detection:** Text or URL is longer than expected in bytes. Percent-encoded sequences starting with `%F3%A0%80` or `%F3%A0%81`. Python: `any(0xE0000 \u003C= ord(c) \u003C= 0xE007F for c in text)`.\n\n## UTF-16 Endianness Reversal\n\n**Pattern (endians):** Text \"turned to Japanese\" -- mojibake from UTF-16 endianness mismatch.\n\n```python\n# If encoded as UTF-16-LE but decoded as UTF-16-BE:\nfixed = mojibake.encode('utf-16-be').decode('utf-16-le')\n```\n\n**Identification:** CJK characters, challenge mentions \"translation\" or \"endian\". See [encodings.md](encodings.md) for details.\n\n## Cipher Identification Workflow\n\n1. **ROT13** - Challenge mentions \"ROT\", text looks like garbled English\n2. **Base64** - `A-Za-z0-9+\u002F=`, title hints \"64\"\n3. **Base32** - `A-Z2-7=` uppercase only\n4. **Atbash** - Title hints (Abash\u002FAtbash), preserves spaces, 1:1 substitution\n5. **Pigpen** - Geometric symbols on grid\n6. **Keyboard Shift** - Text looks like adjacent keys pressed\n7. **Substitution** - Frequency analysis applicable\n\n**Auto-identify:** [dCode Cipher Identifier](https:\u002F\u002Fwww.dcode.fr\u002Fcipher-identifier)\n\n## HISTFILE Trick for Restricted Shell File Reads (BCTF 2016)\n\nRead files without cat\u002Fless\u002Fhead: `HISTFILE=\u002Fflag \u002Fbin\u002Fbash && history`, or `bash -v flag.txt` (verbose mode prints lines), or `ctypes.sh` `dlcall` for direct C library calls. See [bashjails.md](bashjails.md#histfile-trick-for-restricted-shell-file-reads-bctf-2016).\n\n## Levenshtein Distance Oracle Attack (SunshineCTF 2016)\n\nOracle returns edit distance between guess and secret. Determine length from empty string, identify present chars from single-char repeats, binary search for positions. O(n log n) queries. See [games-and-vms-3.md](games-and-vms-3.md#levenshtein-distance-oracle-attack-sunshinectf-2016).\n\n## SECCOMP High-Bit File Descriptor Bypass (33C3 CTF 2016)\n\n`close(0x8000000000000002)` passes 64-bit SECCOMP check (≠ 2) but kernel truncates to 32-bit (== 2), closing fd 2. Next `open()` returns fd 2 for arbitrary file. Type-width mismatch between BPF filter and kernel. See [games-and-vms-3.md](games-and-vms-3.md#seccomp-bypass-via-high-bit-file-descriptor-trick-33c3-ctf-2016).\n\n## rvim Jail Escape via Python3 (BKP 2017)\n\n`rvim` blocks `:!` but `:python3 import os; os.system(\"cmd\")` executes arbitrary commands. Check `:version` for `+python3`\u002F`+lua`\u002F`+ruby`. See [games-and-vms-3.md](games-and-vms-3.md#rvim-jail-escape-via-custom-vimrc-with-python3-execution-bkp-2017).\n","# CTF Miscellaneous\n\nQuick reference for miscellaneous CTF challenges. Each technique has a one-liner here; see supporting files for full details.\n\n## Prerequisites\n\n**Python packages (all platforms):**\n```bash\npip install \"pwntools==4.15.0\" \"segno==1.6.6\" z3-solver Pillow numpy requests dnslib\n```\n\n**Linux (apt):**\n```bash\napt install libzbar0 qrencode ffmpeg\n```\n\n**macOS (Homebrew):**\n```bash\nbrew install ffmpeg qrencode\n```\n\n**Manual install:**\n- SageMath — Linux: `apt install sagemath`, macOS: `brew install --cask sage`\n\n## Additional Resources\n\n- [pyjails.md](pyjails.md) - Python jail\u002Fsandbox escape techniques, quine context detection, restricted character repunit decomposition, func_globals module chain traversal, restricted charset number generation, class attribute persistence, f-string config injection via stored eval\n- [bashjails.md](bashjails.md) - Bash jail\u002Frestricted shell escape techniques, HISTFILE file read trick, bash -v verbose mode, ctypes.sh direct C library calls\n- [encodings.md](encodings.md) - Encodings, QR codes, esolangs, UTF-16 tricks, BCD encoding, multi-layer auto-decoding, indexed directory QR reassembly, multi-stage URL encoding chains\n- [encodings-advanced.md](encodings-advanced.md) - Verilog\u002FHDL, Gray code cyclic encoding, RTF custom tag extraction, SMS PDU decoding, multi-encoding sequential solvers, UTF-9, pixel binary encoding, hexadecimal Sudoku + QR assembly, TOPKEK, MaxiCode\n- [audio.md](audio.md) - Audio steganography and signal analysis: Morse code extraction from audio channels with auto-detection, spectrogram analysis, SSTV decoding, amplitude envelope timing classification\n- [rf-sdr.md](rf-sdr.md) - RF\u002FSDR\u002FIQ signal processing (QAM-16, carrier recovery, timing sync)\n- [dns.md](dns.md) - DNS exploitation (ECS spoofing, NSEC walking, IXFR, rebinding, tunneling)\n- [games-and-vms.md](games-and-vms.md) - WASM patching, Roblox place file reversing, PyInstaller, marshal analysis, Python env RCE, Z3 (including boolean logic gate network SAT solving), K8s RBAC, floating-point precision exploitation, custom assembly language sandbox escape via Python MRO chain\n- [games-and-vms-2.md](games-and-vms-2.md) - Cookie checkpoint game brute-forcing, Flask cookie game state leakage, WebSocket game manipulation, server time-only validation bypass, De Bruijn sequence, Brainfuck instrumentation, WASM linear memory manipulation\n- [games-and-vms-3.md](games-and-vms-3.md) - memfd_create packed binaries, multi-phase crypto games with HMAC commitment-reveal and GF(256) Nim, emulator ROM-switching state preservation, Python marshal code injection, Benford's Law bypass, parallel connection oracle relay, nonogram solver pipelines, 100 prisoners problem, C code jail escape via emoji identifiers, BuildKit daemon build secret exploitation, Docker container escape, Levenshtein distance oracle attack, taint analysis bypass via type coercion, shredded document pixel-edge reassembly\n- [games-and-vms-4.md](games-and-vms-4.md) - Part 4 (2018-era): XSLT as Turing-complete VM, JavaScript MAX_SAFE_INTEGER successor equality, binary search oracle in comparison-only DSL, blind SQLi via script-engine timeout error, OEIS sequence lookup automation, QR code reassembly from format-string constraints, matrix exponentiation for Fibonacci recurrence, Tribonacci for frog-jump counting, Selenium + Tesseract dynamic CAPTCHA, Brainfuck→Piet multi-layer polyglot, bytebeat synth code recognition\n- [linux-privesc.md](linux-privesc.md) - Sudo wildcard parameter injection (fnmatch), crafted pcap for sudoers.d, monit confcheck process injection, Apache -d override, backup cronjob SUID, PostgreSQL COPY TO PROGRAM RCE, PostgreSQL backup credential extraction, NFS share exploitation, SSH Unix socket tunneling, PaperCut Print Deploy privesc, Squid proxy pivoting, Zabbix admin password reset via MySQL, WinSSHTerm credential decryption\n- [ctfd-navigation.md](ctfd-navigation.md) - CTFd platform API navigation without browser: detection, token auth, challenge listing, file download, flag submission, scoreboard, hints, notifications, Python client class\n\n---\n\n## When to Pivot\n\n- Pure Python\u002Fbash\u002FNode\u002FPHP jail with a filter to break rather than a puzzle to decode: switch to `\u002Fctf-jail` (`pyjails.md` and `bashjails.md` stay here as the technique library).\n- Cloud metadata, IAM, S3, Kubernetes or container escape: switch to `\u002Fctf-cloud`.\n- Firmware blob, logic capture, UART\u002FJTAG\u002FSPI, CAN or side channel: switch to `\u002Fctf-hardware`.\n- If the puzzle is actually centered on cryptography or number theory, switch to `\u002Fctf-crypto`.\n- If the challenge is a real binary exploit instead of a jail, toy VM, or encoding problem, switch to `\u002Fctf-pwn` or `\u002Fctf-reverse`.\n- If the input is mostly files, images, audio, or packet captures that need recovery work first, switch to `\u002Fctf-forensics`.\n- For ML\u002FAI techniques (model attacks, adversarial examples, LLM jailbreaking), see `\u002Fctf-ai-ml`.\n- If the NodeJS sandbox uses **vm2** (`npm ls vm2`), check for **CVE-2023-37466** via `Promise[@@species]` with `nesting:true` — the exception handler escapes the context; see [..\u002Fctf-web\u002Fnode-and-prototype.md](..\u002Fctf-web\u002Fnode-and-prototype.md#affected-libraries) for the library-level detail. In misc challenges with bundled JS, always run `npm ls vm2` to detect vulnerable vm2 before trying other escapes.\n\n## Quick Start Commands\n\n```bash\n# File identification\nfile mystery_file\nxxd mystery_file | head -5\npython3 -c \"import magic; print(magic.from_file('mystery_file'))\"\n\n# Encoding detection\npython3 -c \"import base64; print(base64.b64decode('\u003Cdata>'))\"\necho '\u003Cdata>' | base64 -d\necho '\u003Chex>' | xxd -r -p\n\n# QR code\nzbarimg qr.png\npython3 -c \"from pyzbar.pyzbar import decode; from PIL import Image; print(decode(Image.open('qr.png')))\"\n\n# Z3 constraint solving\npython3 -c \"from z3 import *; x=BitVec('x',32); s=Solver(); s.add(x^0xdead==0xbeef); s.check(); print(s.model())\"\n\n# Python jail test\npython3 -c \"__import__('os').system('id')\"\n```\n\n## General Tips\n\n- Read all provided files carefully\n- Check file metadata, hidden content, encoding\n- Power Automate scripts may hide API calls\n- Use binary search when guessing multiple answers\n\n## Common Encodings\n\n```bash\n# Base64\necho \"encoded\" | base64 -d\n\n# Base32 (A-Z2-7=)\necho \"OBUWG32D...\" | base32 -d\n\n# Hex\necho \"68656c6c6f\" | xxd -r -p\n\n# ROT13\necho \"uryyb\" | tr 'a-zA-Z' 'n-za-mN-ZA-M'\n```\n\n**Identify by charset:**\n- Base64: `A-Za-z0-9+\u002F=`\n- Base32: `A-Z2-7=` (no lowercase)\n- Hex: `0-9a-fA-F`\n\nSee [encodings.md](encodings.md) for Caesar brute force, URL encoding, and full details.\n\n## IEEE-754 Float Encoding (Data Hiding)\n\n**Pattern (Floating):** Numbers are float32 values hiding raw bytes.\n\n**Key insight:** A 32-bit float is just 4 bytes interpreted as a number. Reinterpret as raw bytes -> ASCII.\n\n```python\nimport struct\nfloats = [1.234e5, -3.456e-7, ...]  # Whatever the challenge gives\nflag = b''\nfor f in floats:\n    flag += struct.pack('>f', f)\nprint(flag.decode())\n```\n\n**Variations:** Double `'>d'`, little-endian `'\u003Cf'`, mixed. See [encodings.md](encodings.md) for CyberChef recipe.\n\n## USB Mouse PCAP Reconstruction\n\n**Pattern (Hunt and Peck):** USB HID mouse traffic captures on-screen keyboard typing. Use USB-Mouse-Pcap-Visualizer, extract click coordinates (falling edges), cumsum relative deltas for absolute positions, overlay on OSK image.\n\n## File Type Detection\n\n```bash\nfile unknown_file\nxxd unknown_file | head\nbinwalk unknown_file\n```\n\n## Archive Extraction\n\n```bash\n7z x archive.7z           # Universal\ntar -xzf archive.tar.gz   # Gzip\ntar -xjf archive.tar.bz2  # Bzip2\ntar -xJf archive.tar.xz   # XZ\n```\n\n### Nested Archive Script\n```bash\nwhile f=$(ls *.tar* *.gz *.bz2 *.xz *.zip *.7z 2>\u002Fdev\u002Fnull|head -1) && [ -n \"$f\" ]; do\n    7z x -y \"$f\" && rm \"$f\"\ndone\n```\n\n## QR Codes\n\n```bash\nzbarimg qrcode.png       # Decode\nqrencode -o out.png \"data\"\n```\n\n**MaxiCode barcode:** Hexagonal 2D barcode with bullseye center; decode with `zxing` (Java) since standard QR decoders fail. See [encodings-advanced.md](encodings-advanced.md#maxicode-2d-barcode-decoding-csaw-ctf-2016).\n\n**TOPKEK encoding:** CTF-specific binary encoding where `KEK=0`, `TOP=1`, `!` suffix = repeat count. See [encodings-advanced.md](encodings-advanced.md#topkek-binary-encoding-hack-the-vote-2016).\n\nSee [encodings.md](encodings.md) for QR structure, repair techniques, chunk reassembly (structural and indexed-directory variants), and multi-stage URL encoding chains.\n\n## Audio Challenges\n\n```bash\n# Spectrogram (hidden text\u002Fimages in frequency domain)\nsox audio.wav -n spectrogram -o spec.png\nsox audio.wav -n spectrogram -o spec.png -x 2048 -y 1025  # higher resolution\n\n# Channel inspection (identify stereo vs mono, sample rate, bit depth)\npython3 -c \"import wave; w=wave.open('audio.wav'); print(f'channels={w.getnchannels()}, rate={w.getframerate()}, width={w.getsampwidth()}')\"\n\n# SSTV (Slow Scan TV decoder)\nqsstv                          # GUI - play audio + use pulseaudio loopback\n```\n\n**Morse code extraction:** WAV file with Morse beeps hidden on one audio channel. Separate stereo interleaved channels (L=even idx, R=odd idx), auto-detect the Morse channel by peak-to-mean envelope ratio (beep channel = high ratio from alternating loud\u002Fsilent), compute RMS envelope (50ms window), threshold to segment beeps, classify by duration: dots (~100–150ms) vs dashes (~250–350ms), then use gap timing (short gaps = intra-character, long gaps = inter-character) to group into Morse characters. Full auto-detection extraction script in [audio.md](audio.md#morse-code-in-audio-channel).\n\n**DTMF (phone keypad tones):** Dual-tone multi-frequency signaling decodes to digits, then map to letters via multi-tap keypad. See [encodings-advanced.md](encodings-advanced.md#dtmf-audio-with-multi-tap-phone-keypad-decoding-h4ckc0n-2017).\n\n**Music note steganography:** Note pairs encode nibbles via scale-degree mapping. See [encodings-advanced.md](encodings-advanced.md#music-note-interval-steganography-defcamp-2017).\n\nSee [audio.md](audio.md) for full audio analysis techniques.\n\n## RF \u002F SDR \u002F IQ Signal Processing\n\nSee [rf-sdr.md](rf-sdr.md) for full details (IQ formats, QAM-16 demod, carrier\u002Ftiming recovery).\n\n**Quick reference:**\n- **cf32**: `np.fromfile(path, dtype=np.complex64)` | **cs16**: int16 reshape(-1,2) | **cu8**: RTL-SDR raw\n- Circles in constellation = constant frequency offset; Spirals = drifting frequency + gain instability\n- 4-fold ambiguity in DD carrier recovery - try 0\u002F90\u002F180\u002F270 rotation\n\n## pwntools Interaction\n\n```python\nfrom pwn import *\n\nr = remote('host', port)\nr.recvuntil(b'prompt: ')\nr.sendline(b'answer')\nr.interactive()\n```\n\n## Python Jail Quick Reference\n\n- **Oracle pattern:** `L()` = length, `Q(i,x)` = compare, `S(guess)` = submit. Linear or binary search.\n- **Walrus bypass:** `(abcdef := \"new_chars\")` reassigns constraint vars\n- **Decorator bypass:** `@__import__` + `@func.__class__.__dict__[__name__.__name__].__get__` for no-call, no-quotes escape\n- **String join:** `open(''.join(['fl','ag.txt'])).read()` when `+` is blocked\n\nSee [pyjails.md](pyjails.md) for full techniques.\n\n## Z3 \u002F Constraint Solving\n\n```python\nfrom z3 import *\nflag = [BitVec(f'f{i}', 8) for i in range(FLAG_LEN)]\ns = Solver()\n# Add constraints, check sat, extract model\n```\n\nSee [games-and-vms.md](games-and-vms.md) for YARA rules, type systems as constraints, boolean logic gate network SAT solving.\n\n## Hash Identification\n\nMD5: `0x67452301` | SHA-256: `0x6a09e667` | MurmurHash64A: `0xC6A4A7935BD1E995`\n\n## SHA-256 Length Extension Attack\n\nMAC = `SHA-256(SECRET || msg)` with known msg\u002Fhash -> forge valid MAC via `hlextend`. Vulnerable: SHA-256, MD5, SHA-1. NOT: HMAC, SHA-3.\n\n```python\nimport hlextend\nsha = hlextend.new('sha256')\nnew_data = sha.extend(b'extension', b'original_message', len_secret, known_hash_hex)\n```\n\n## Technique Quick References\n\n- **PyInstaller:** `pyinstxtractor.py packed.exe`. See [games-and-vms.md](games-and-vms.md) for opcode remapping.\n- **Marshal:** `marshal.load(f)` then `dis.dis(code)`. See [games-and-vms.md](games-and-vms.md).\n- **Python env RCE:** `PYTHONWARNINGS=ignore::antigravity.Foo::0` + `BROWSER=\"cmd\"`. See [games-and-vms.md](games-and-vms.md).\n- **WASM patching:** `wasm2wat` -> flip minimax -> `wat2wasm`. See [games-and-vms.md](games-and-vms.md).\n- **Float precision:** Large multipliers amplify FP errors into exploitable fractions. See [games-and-vms.md](games-and-vms.md).\n- **K8s RBAC bypass:** SA token -> impersonate -> hostPath mount -> read secrets. See [games-and-vms.md](games-and-vms.md).\n- **Cookie checkpoint:** Save session cookies before guesses, restore on failure to brute-force without reset. See [games-and-vms-2.md](games-and-vms-2.md).\n- **Flask cookie game state:** `flask-unsign -d -c '\u003Ccookie>'` decodes unsigned Flask sessions, leaking game answers. See [games-and-vms-2.md](games-and-vms-2.md).\n- **WebSocket teleport:** Modify `player.x`\u002F`player.y` in console, call verification function. See [games-and-vms-2.md](games-and-vms-2.md).\n- **Time-only validation:** Start session, `time.sleep(required_seconds)`, submit win. See [games-and-vms-2.md](games-and-vms-2.md).\n- **Quine context detection:** Dual-purpose quine that prints itself (passes validation) and runs payload only in server process via globals gate. See [pyjails.md](pyjails.md).\n- **Repunit decomposition:** Decompose target integer into sum of repunits (1, 11, 111, ...) using only 2 characters (`1` and `+`) for restricted eval. See [pyjails.md](pyjails.md).\n- **De Bruijn sequence:** B(k, n) contains all k^n possible n-length strings as substrings; linearize by appending first n-1 chars. See [games-and-vms-2.md](games-and-vms-2.md).\n- **Brainfuck instrumentation:** Instrument BF interpreter to track tape cells, brute-force flag character-by-character via validation cell. See [games-and-vms-2.md](games-and-vms-2.md).\n- **WASM memory manipulation:** Patch WASM linear memory at runtime to set game state variables directly, bypassing game logic. See [games-and-vms-2.md](games-and-vms-2.md).\n- **Lua sandbox escape:** Bypass `load()`\u002F`os.execute()` filters via `os[\"execute\"]` table indexing or `loadstring` alias. See [games-and-vms.md](games-and-vms.md#lua-sandbox-escape-via-function-name-injection-csaw-ctf-2016).\n- **C code jail via emoji + gadget embedding:** When only emoji and punctuation are allowed in C, use `(😃==😃)` as constant 1, build integers, embed gadgets in `add eax, imm32` constants, jump to offset+1 for shellcode primitives. See [games-and-vms-3.md](games-and-vms-3.md#c-code-jail-escape-via-emoji-identifiers-and-gadget-embedding-midnight-flag-2026).\n- **Emulator ROM-switching:** `\u002Fload` replaces ROM but preserves CPU state (registers, RAM, PC). Switch ROMs at specific PCs to combine INIT from one ROM with display instructions from another → read protected memory. See [games-and-vms-3.md](games-and-vms-3.md#emulator-rom-switching-state-preservation-bsidessf-2026).\n- **BuildKit daemon exploitation:** Exposed BuildKit gRPC allows nested `buildctl build` with `--mount=type=secret` to read build secrets. Two-stage Dockerfile: install buildctl → submit nested build mounting flag secret. See [games-and-vms-3.md](games-and-vms-3.md#buildkit-daemon-exploitation-for-build-secrets-bsidessf-2026).\n- **Docker container escape:** Privileged breakout via host device mount, docker.sock socket escape, CAP_SYS_ADMIN cgroup release_agent, container info leakage via \u002Fproc and overlayfs. See [games-and-vms-3.md](games-and-vms-3.md#docker-container-escape-techniques).\n- **Taint analysis bypass via type coercion:** In custom ML-like languages with secrecy\u002Ftaint systems, if-expression secrecy depends on return type not condition — coerce side-effecting functions to private type to leak private data through public mutable refs. See [games-and-vms-3.md](games-and-vms-3.md#taint-analysis-bypass-in-custom-language-via-type-coercion-plaidctf-2018).\n- **Shredded document pixel-edge reassembly:** Encode each strip's left\u002Fright edge as binary bitmask (dark=1), use XOR + popcount Hamming distance to greedily place strips by minimum edge distance for sub-second reassembly. See [games-and-vms-3.md](games-and-vms-3.md#shredded-document-pixel-edge-reassembly-under-time-pressure-nuit-du-hack-ctf-2018).\n- **f-string config injection via stored eval:** Store payload as config value, create key named `eval(stored_key)` — f-string rendering evaluates the key name expression, triggering RCE. See [pyjails.md](pyjails.md#python-f-string-config-injection-via-stored-eval-inshack-2018).\n- **Hexadecimal Sudoku + QR assembly:** 4 QR codes encode 16x16 hex Sudoku quadrants; solve grid, read diagonal as hex pairs → ASCII flag. See [encodings-advanced.md](encodings-advanced.md#hexadecimal-sudoku--qr-assembly-bsidessf-2026).\n- **Z3 boolean gate network SAT solving:** Product key validation as 250 boolean gates (AND\u002FOR\u002FXOR\u002FNOT) over 125 input bits. Model each gate as Z3 constraint, require all outputs True, solve in milliseconds. See [games-and-vms.md](games-and-vms.md#z3-sat-solving-for-boolean-logic-gate-networks-bsidessf-2026).\n\n## 3D Printer Video Nozzle Tracking (LACTF 2026)\n\n**Pattern (flag-irl):** Video of 3D printer fabricating nameplate. Flag is the printed text.\n\n**Technique:** Track nozzle X\u002FY positions from video frames, filter for print moves (top\u002Ftext layer only), plot 2D histogram to reveal letter shapes:\n```python\n# 1. Identify text layer frames (e.g., frames 26100-28350)\n# 2. Track print head X position (physical X-axis)\n# 3. Track bed X position (physical Y-axis from camera angle)\n# 4. Filter for moves with extrusion (head moving while printing)\n# 5. Plot as 2D scatter\u002Fhistogram -> letters appear\n```\n\n## Discord API Enumeration (0xFun 2026)\n\nFlags hidden in Discord metadata (roles, animated emoji, embeds). Invoke `\u002Fctf-osint` for Discord API enumeration technique and code (see social-media.md in ctf-osint).\n\n---\n\n## SUID Binary Exploitation (0xFun 2026)\n\n```bash\n# Find SUID binaries\nfind \u002F -perm -4000 2>\u002Fdev\u002Fnull\n\n# Cross-reference with GTFObins\n# xxd with SUID: xxd flag.txt | xxd -r\n# vim with SUID: vim -c ':!cat \u002Fflag.txt'\n```\n\n**Reference:** https:\u002F\u002Fgtfobins.github.io\u002F\n\n---\n\n## Linux Privilege Escalation Quick Checks\n\n```bash\n# GECOS field passwords\ncat \u002Fetc\u002Fpasswd  # Check 5th colon-separated field\n\n# ACL permissions\ngetfacl \u002Fpath\u002Fto\u002Frestricted\u002Ffile\n\n# Sudo permissions\nsudo -l\n\n# Docker group membership (instant root)\nid | grep -q docker && docker run -v \u002F:\u002Fmnt --rm -it alpine chroot \u002Fmnt \u002Fbin\u002Fsh\n```\n\n## Docker Group Privilege Escalation (H7CTF 2025)\n\nUser in the `docker` group can mount the host filesystem into a container and chroot into it for root access.\n\n```bash\n# Check group membership\nid  # Look for \"docker\" in groups\n\n# Mount host root filesystem and chroot\ndocker run -v \u002F:\u002Fmnt --rm -it alpine chroot \u002Fmnt \u002Fbin\u002Fsh\n\n# Now running as root on the host filesystem\ncat \u002Froot\u002Fflag.txt\n```\n\n**Key insight:** Docker group membership is equivalent to root access. The `docker` CLI socket (`\u002Fvar\u002Frun\u002Fdocker.sock`) allows creating privileged containers that mount the entire host filesystem.\n\n**Reference:** https:\u002F\u002Fgtfobins.github.io\u002Fgtfobins\u002Fdocker\u002F\n\n## Sudo Wildcard Parameter Injection (Dump HTB)\n\nSudo's `fnmatch()` matches `*` across argument boundaries. Inject extra flags (`-Z root`, `-r`, second `-w`) into locked-down commands. Craft pcap with embedded valid sudoers entries — sudo's parser recovers from binary junk, unlike cron's strict parser. See [linux-privesc.md](linux-privesc.md#sudo-wildcard-parameter-injection-via-fnmatch-dump-htb).\n\n## Monit Process Command-Line Injection (Zero HTB)\n\nRoot monit script uses `pgrep -lfa` to extract process command lines, then executes a modified version. Create fake process via `perl -e '$0 = \"...\"'` with injected flags. Apache `-d` last-wins overrides ServerRoot; `-E` captures error output. `Include \u002Froot\u002Fflag` causes a parse error that reveals the file content. See [linux-privesc.md](linux-privesc.md#monit-confcheck-process-command-line-injection-zero-htb).\n\n## PostgreSQL RCE and File Read (Slonik HTB)\n\n`COPY (SELECT '') TO PROGRAM 'cmd'` executes OS commands as postgres. `pg_read_file('\u002Fpath')` reads files. Extract credentials from `pg_basebackup` archives (`global\u002F1260` = `pg_authid`). SSH tunnel to Unix sockets: `ssh -fNL 25432:\u002Fvar\u002Frun\u002Fpostgresql\u002F.s.PGSQL.5432`. See [linux-privesc.md](linux-privesc.md#postgresql-copy-to-program-rce-slonik-htb).\n\n## Backup Cronjob SUID Abuse (Slonik HTB)\n\nRoot cronjob copying directories preserves SUID bit but changes ownership to root. Place SUID bash in source directory → backup copies it as root-owned SUID. Execute with `bash -p`. See [linux-privesc.md](linux-privesc.md#backup-cronjob-suid-abuse-slonik-htb).\n\n## PaperCut Print Deploy Privesc (Bamboo HTB)\n\nRoot process runs scripts from user-owned directory. Modify `server-command`, trigger via Mobility Print API refresh. See [linux-privesc.md](linux-privesc.md#papercut-print-deploy-privilege-escalation-bamboo-htb).\n\n---\n\n## CTFd Platform Navigation (No Browser)\n\nDetect CTFd (`curl -s \"$CTF_URL\u002Fapi\u002Fv1\u002F\" | head -5`) and interact via API. **Ask the user for their API token** (CTFd Settings > Access Tokens) — it is not provided by default. Then use `Authorization: Token $CTF_TOKEN` header for all requests.\n\n```bash\nexport CTF_URL=\"https:\u002F\u002Fctf.example.com\" CTF_TOKEN=\"ctfd_your_token_here\"\ncurl -s -H \"Authorization: Token $CTF_TOKEN\" \"$CTF_URL\u002Fapi\u002Fv1\u002Fchallenges\" | jq -r '.data[] | \"\\(.id)\\t\\(.value)pts\\t\\(.category)\\t\\(.name)\"'\ncurl -s -X POST -H \"Authorization: Token $CTF_TOKEN\" -H \"Content-Type: application\u002Fjson\" \"$CTF_URL\u002Fapi\u002Fv1\u002Fchallenges\u002Fattempt\" -d \"{\\\"challenge_id\\\": $CID, \\\"submission\\\": \\\"flag{...}\\\"}\"\n```\n\nSee [ctfd-navigation.md](ctfd-navigation.md) for full workflow, Python client class, session login, hints, notifications, file download, and troubleshooting.\n\n---\n\n## Useful One-Liners\n\n```bash\ngrep -rn \"flag{\" .\nstrings file | grep -i flag\npython3 -c \"print(int('deadbeef', 16))\"\n```\n\n## Keyboard Shift Cipher\n\n**Pattern (Frenzy):** Characters shifted left\u002Fright on QWERTY keyboard layout.\n\n**Identification:** dCode Cipher Identifier suggests \"Keyboard Shift Cipher\"\n\n**Decoding:** Use [dCode Keyboard Shift Cipher](https:\u002F\u002Fwww.dcode.fr\u002Fkeyboard-shift-cipher) with automatic mode.\n\n## Pigpen \u002F Masonic Cipher\n\n**Pattern (Working For Peanuts):** Geometric symbols representing letters based on grid positions.\n\n**Identification:** Angular\u002Fgeometric symbols, challenge references \"Peanuts\" comic (Charlie Brown), \"dusty looking crypto\"\n\n**Decoding:** Map symbols to Pigpen grid positions, or use online decoder.\n\n## ASCII in Numeric Data Columns\n\n**Pattern (Cooked Books):** CSV\u002Fspreadsheet numeric values (48-126) are ASCII character codes.\n\n```python\nimport csv\nwith open('data.csv') as f:\n    reader = csv.DictReader(f)\n    flag = ''.join(chr(int(row['Times Borrowed'])) for row in reader)\nprint(flag)\n```\n\n**CyberChef:** \"From Decimal\" recipe with line feed delimiter.\n\n## Backdoor Detection in Source Code\n\n**Pattern (Rear Hatch):** Hidden command prefix triggers `system()` call.\n\n**Common patterns:**\n- `strncmp(input, \"exec:\", 5)` -> runs `system(input + 5)`\n- Hex-encoded comparison strings: `\\x65\\x78\\x65\\x63\\x3a` = \"exec:\"\n- Hidden conditions in maintenance\u002Fadmin functions\n\n## DNS Exploitation Techniques\n\nSee [dns.md](dns.md) for full details (ECS spoofing, NSEC walking, IXFR, rebinding, tunneling).\n\n**Quick reference:**\n- **ECS spoofing**: `dig @server flag.example.com TXT +subnet=10.13.37.1\u002F24` - try leet-speak IPs (1337)\n- **NSEC walking**: Follow NSEC chain to enumerate DNSSEC zones\n- **IXFR**: `dig @server domain IXFR=0` when AXFR is blocked\n- **DNS rebinding**: Low-TTL alternating resolution to bypass same-origin\n- **DNS tunneling**: Data exfiltrated via subdomain queries or TXT responses\n\n## Unicode Steganography\n\n### Variation Selectors Supplement (U+E0100-U+E01EF)\n**Patterns (Seen & emoji, Nullcon 2026):** Invisible Variation Selector Supplement characters encode ASCII via codepoint offset.\n\n```python\n# Extract hidden data from variation selectors after visible character\ndata = open('README.md', 'r').read().strip()\nhidden = data[1:]  # Skip visible emoji character\nflag = ''.join(chr((ord(c) - 0xE0100) + 16) for c in hidden)\n```\n\n**Detection:** Characters appear invisible but have non-zero length. Check with `[hex(ord(c)) for c in text]` -- look for codepoints in `0xE0100-0xE01EF` or `0xFE00-0xFE0F` range.\n\n### Unicode Tags Block (U+E0000-U+E007F) (UTCTF 2026)\n\n**Pattern (Hidden in Plain Sight):** Invisible Unicode Tag characters embedded in URLs, filenames, or text. Each tag codepoint maps directly to an ASCII character by subtracting `0xE0000`. URL-encoded as 4-byte UTF-8 sequences (`%F3%A0%81%...`).\n\n```python\nimport urllib.parse\n\nurl = \"https:\u002F\u002Fexample.com\u002Fpage#Title%20%F3%A0%81%B5%F3%A0%81%B4...Visible%20Text\"\ndecoded = urllib.parse.unquote(urllib.parse.urlparse(url).fragment)\n\nflag = ''.join(\n    chr(ord(ch) - 0xE0000)\n    for ch in decoded\n    if 0xE0000 \u003C= ord(ch) \u003C= 0xE007F\n)\nprint(flag)\n```\n\n**Key insight:** Unicode Tags (U+E0001-U+E007F) mirror ASCII 1:1 — subtract `0xE0000` to recover the original character. They render as zero-width invisible glyphs in most fonts. Unlike Variation Selectors (U+E0100+), these have a simpler offset calculation and appear in URL fragments, challenge titles, or filenames where the text looks normal but has suspiciously long byte length.\n\n**Detection:** Text or URL is longer than expected in bytes. Percent-encoded sequences starting with `%F3%A0%80` or `%F3%A0%81`. Python: `any(0xE0000 \u003C= ord(c) \u003C= 0xE007F for c in text)`.\n\n## UTF-16 Endianness Reversal\n\n**Pattern (endians):** Text \"turned to Japanese\" -- mojibake from UTF-16 endianness mismatch.\n\n```python\n# If encoded as UTF-16-LE but decoded as UTF-16-BE:\nfixed = mojibake.encode('utf-16-be').decode('utf-16-le')\n```\n\n**Identification:** CJK characters, challenge mentions \"translation\" or \"endian\". See [encodings.md](encodings.md) for details.\n\n## Cipher Identification Workflow\n\n1. **ROT13** - Challenge mentions \"ROT\", text looks like garbled English\n2. **Base64** - `A-Za-z0-9+\u002F=`, title hints \"64\"\n3. **Base32** - `A-Z2-7=` uppercase only\n4. **Atbash** - Title hints (Abash\u002FAtbash), preserves spaces, 1:1 substitution\n5. **Pigpen** - Geometric symbols on grid\n6. **Keyboard Shift** - Text looks like adjacent keys pressed\n7. **Substitution** - Frequency analysis applicable\n\n**Auto-identify:** [dCode Cipher Identifier](https:\u002F\u002Fwww.dcode.fr\u002Fcipher-identifier)\n\n## HISTFILE Trick for Restricted Shell File Reads (BCTF 2016)\n\nRead files without cat\u002Fless\u002Fhead: `HISTFILE=\u002Fflag \u002Fbin\u002Fbash && history`, or `bash -v flag.txt` (verbose mode prints lines), or `ctypes.sh` `dlcall` for direct C library calls. See [bashjails.md](bashjails.md#histfile-trick-for-restricted-shell-file-reads-bctf-2016).\n\n## Levenshtein Distance Oracle Attack (SunshineCTF 2016)\n\nOracle returns edit distance between guess and secret. Determine length from empty string, identify present chars from single-char repeats, binary search for positions. O(n log n) queries. See [games-and-vms-3.md](games-and-vms-3.md#levenshtein-distance-oracle-attack-sunshinectf-2016).\n\n## SECCOMP High-Bit File Descriptor Bypass (33C3 CTF 2016)\n\n`close(0x8000000000000002)` passes 64-bit SECCOMP check (≠ 2) but kernel truncates to 32-bit (== 2), closing fd 2. Next `open()` returns fd 2 for arbitrary file. Type-width mismatch between BPF filter and kernel. See [games-and-vms-3.md](games-and-vms-3.md#seccomp-bypass-via-high-bit-file-descriptor-trick-33c3-ctf-2016).\n\n## rvim Jail Escape via Python3 (BKP 2017)\n\n`rvim` blocks `:!` but `:python3 import os; os.system(\"cmd\")` executes arbitrary commands. Check `:version` for `+python3`\u002F`+lua`\u002F`+ruby`. See [games-and-vms-3.md](games-and-vms-3.md#rvim-jail-escape-via-custom-vimrc-with-python3-execution-bkp-2017).\n",{"name":5,"license":15,"metadata":25,"description":7,"allowed-tools":28,"compatibility":29},{"author":26,"user-invocable":27},"Lukasz Jagiello","false","Bash Read Write Edit Glob Grep Task WebFetch WebSearch Skill","Requires filesystem-based agent (Claude Code or similar) with bash, Python 3, and internet access for tool installation.","main","fa749116cef035d5ee7c7e7deb1aa875e30afc91","skills\u002Fdev-tools\u002Fabhay2008-ctf-misc",17,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia","https:\u002F\u002Feth2030.com","Hardcore infra. Building @alt-research and applied cryptography.","2026-11-15 02:28:10",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add jiayaoqijia\u002Fcryptoskill --skill ctf-misc",{"tool":45,"command":46},"bunx","bunx skills add jiayaoqijia\u002Fcryptoskill --skill ctf-misc",{"tool":48,"command":49},"pnpm","pnpm dlx skills add jiayaoqijia\u002Fcryptoskill --skill ctf-misc","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fdev-tools\u002Fabhay2008-ctf-misc\u002FSKILL.md",true,[53,59,63,67,71,75,79,83,87,91,95,99,103,107,111,115],{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"audio.md","REFERENCE","参考文档",14213,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fdev-tools\u002Fabhay2008-ctf-misc\u002Faudio.md",{"path":60,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":61,"sourceHtmlUrl":62},"bashjails.md",16044,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fdev-tools\u002Fabhay2008-ctf-misc\u002Fbashjails.md",{"path":64,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":65,"sourceHtmlUrl":66},"ctfd-navigation.md",14795,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fdev-tools\u002Fabhay2008-ctf-misc\u002Fctfd-navigation.md",{"path":68,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":69,"sourceHtmlUrl":70},"dns.md",9698,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fdev-tools\u002Fabhay2008-ctf-misc\u002Fdns.md",{"path":72,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":73,"sourceHtmlUrl":74},"encodings-advanced.md",23618,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fdev-tools\u002Fabhay2008-ctf-misc\u002Fencodings-advanced.md",{"path":76,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":77,"sourceHtmlUrl":78},"encodings.md",19236,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fdev-tools\u002Fabhay2008-ctf-misc\u002Fencodings.md",{"path":80,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":81,"sourceHtmlUrl":82},"games-and-vms-2.md",10488,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fdev-tools\u002Fabhay2008-ctf-misc\u002Fgames-and-vms-2.md",{"path":84,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":85,"sourceHtmlUrl":86},"games-and-vms-3.md",32401,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fdev-tools\u002Fabhay2008-ctf-misc\u002Fgames-and-vms-3.md",{"path":88,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":89,"sourceHtmlUrl":90},"games-and-vms-4.md",11570,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fdev-tools\u002Fabhay2008-ctf-misc\u002Fgames-and-vms-4.md",{"path":92,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":93,"sourceHtmlUrl":94},"games-and-vms.md",21199,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fdev-tools\u002Fabhay2008-ctf-misc\u002Fgames-and-vms.md",{"path":96,"resourceType":96,"resourceTypeDesc":97,"sizeBytes":98,"sourceHtmlUrl":16},"LICENSE","许可证",1072,{"path":100,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":101,"sourceHtmlUrl":102},"linux-privesc.md",18452,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fdev-tools\u002Fabhay2008-ctf-misc\u002Flinux-privesc.md",{"path":104,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":105,"sourceHtmlUrl":106},"pyjails.md",43600,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fdev-tools\u002Fabhay2008-ctf-misc\u002Fpyjails.md",{"path":108,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":109,"sourceHtmlUrl":110},"rf-sdr.md",3994,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fdev-tools\u002Fabhay2008-ctf-misc\u002Frf-sdr.md",{"path":112,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":113,"sourceHtmlUrl":114},"SOURCE.md",349,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fdev-tools\u002Fabhay2008-ctf-misc\u002FSOURCE.md",{"path":116,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":117,"sourceHtmlUrl":118},"TRUST.auto.yaml",2159,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fdev-tools\u002Fabhay2008-ctf-misc\u002FTRUST.auto.yaml",[120,129,137,145,153,161],{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":124,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":128},"01M7DTKCERMV0RNX3HZJP4CZ26","troves","Deposit and withdraw from Troves DeFi yield vault strategies on Starknet. View available strategies, check positions, and manage vault deposits. Use this skill when the user mentions Troves, vault, yield vault, DeFi vault, strategy, yield farming, vault deposit, vault withdraw, earning yield through vaults, passive yield strategies, or wants to deposit into or withdraw from a yield strategy — even if they don't say \"Troves\" explicitly.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-troves\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-troves\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":133,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":128},"01M7DTK6CJSMGC8KCQHGNYFZBD","trade","Swap tokens on Starknet via Fibrous DEX aggregator. Supports per-provider selection (avnu, ekubo, or auto to race all). Use this skill when the user wants to swap, exchange, trade, convert, buy, or sell one token for another on Starknet. Also use when the user asks about token prices, exchange rates, DEX routing, best swap route, or wants to check how much they would receive for a given amount — even if they don't explicitly say \"swap\".","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-trade\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-trade\u002FSKILL.md",[],[],{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":141,"sourceHtmlUrl":142,"categories":143,"keywords":144,"publishedAt":128},"01M7DTJZ6A0X4PAW3Y8W4J9K64","staking","Stake, unstake, claim, and compound rewards for STRK, WBTC, tBTC, SolvBTC, and LBTC on Starknet. View validators, pools, and staking positions. Use this skill when the user mentions staking, delegating, validators, staking pools, rewards, compounding, unstaking, earning yield, passive income on crypto, or wants to earn on their STRK or BTC tokens — even if they don't say \"stake\" explicitly.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-staking\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-staking\u002FSKILL.md",[],[],{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":149,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":128},"01M7DTJSDZJKCDMW7GHRF4BRH5","send","Send STRK, ETH, or any ERC-20 token to a Starknet address. Supports simulation (dry-run) before execution. Use this skill when the user wants to send, transfer, pay, tip, or move tokens to another wallet address on Starknet. Also trigger when the user mentions sending funds to someone, making a payment, transferring assets, or moving crypto to a specific address — even if they just say \"pay 10 STRK to 0x...\".","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-send\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-send\u002FSKILL.md",[],[],{"skillNo":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":157,"sourceHtmlUrl":158,"categories":159,"keywords":160,"publishedAt":128},"01M7DTJG1E480D51ZQ7WKDQ26K","portfolio","View a comprehensive DeFi portfolio dashboard and optimize portfolio allocation via automated rebalancing. Use this skill when the user wants an overview, summary, dashboard, total value, net worth, portfolio rebalancing, target allocation, or wants to see all their DeFi positions across Starknet at once. Also trigger when the user asks \"what do I have\", \"show me everything\", \"how much am I worth\", \"my positions\", \"my investments\", \"rebalance my portfolio\", \"I want 50% ETH\", \"optimize my holdings\", or any request for a holistic view of their Starknet holdings — even if they don't explicitly say \"portfolio\".","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-portfolio\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-portfolio\u002FSKILL.md",[],[],{"skillNo":162,"name":163,"nameZh":6,"description":164,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":165,"sourceHtmlUrl":166,"categories":167,"keywords":168,"publishedAt":128},"01M7DTJ7M8TE9R2N36HFBZDGVD","multi-swap","Execute multiple token swaps in a single Starknet transaction via Fibrous (default). Supports per-provider selection (avnu, ekubo, or auto to race all). Supports 2-3 swap pairs bundled into one multicall. Use this skill when the user wants to swap multiple token pairs at once, do batch swaps, execute several trades simultaneously, perform parallel swaps, or do bulk trading in one transaction. Also trigger when the user mentions \"two swaps\", \"three swaps\", \"swap X and Y at the same time\", or wants to convert multiple tokens in a single call.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-multi-swap\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-multi-swap\u002FSKILL.md",[],[]]