- Multi-stage Dockerfile: discover patterns from PMS binary (capstone), compile .so with zig (musl), layer onto lscr.io/linuxserver/plex - Uses LD_PRELOAD instead of patchelf (which corrupts Plex's musl loader) - Auto-discovery: broad structural patterns with string-anchored fallback (//feature) and relationship-based fallback (BITSET_REF within BS_INIT) - hook.cpp uses __has_include for generated patterns with hardcoded fallbacks - Custom wrapper.sh (no traffic_logger preload) - Vendored Freeloader source (github.com/authrequest/Freeloader, AGPL-3.0) - Removed stale plexmediaserver_crack.so binary - Supports Plex 1.43.3+ (verified against 1.43.2 and 1.43.3)
88 lines
2.0 KiB
Plaintext
88 lines
2.0 KiB
Plaintext
# ─── Secrets / local machine config (NEVER COMMIT) ───────────────────────
|
|
# .mcp.json here held a plaintext SSH password — keep all local creds out.
|
|
.mcp.json
|
|
.env
|
|
.env.*
|
|
*.pem
|
|
*.key
|
|
*_rsa
|
|
*_rsa.pub
|
|
id_ed25519*
|
|
id_rsa*
|
|
|
|
# ─── Copyrighted Plex binaries (do NOT redistribute) ─────────────────────
|
|
/Plex_Media_Server
|
|
/Plex Media Server
|
|
pms.bin
|
|
libsoci_core.so
|
|
|
|
# ─── IDA Pro databases (large; derived from the copyrighted binary) ──────
|
|
*.i64
|
|
*.idb
|
|
*.id0
|
|
*.id1
|
|
*.id2
|
|
*.nam
|
|
*.til
|
|
|
|
# ─── Compiled output (from github/gitignore: C++) ────────────────────────
|
|
*.o
|
|
*.obj
|
|
*.lo
|
|
*.slo
|
|
*.gch
|
|
*.pch
|
|
*.d
|
|
*.a
|
|
*.la
|
|
*.lai
|
|
*.lib
|
|
*.so
|
|
*.so.*
|
|
*.dylib
|
|
*.dll
|
|
*.out
|
|
*.app
|
|
*.exe
|
|
|
|
# ─── Build dirs / generated ───────────────────────────────────────────────
|
|
build/
|
|
Build/
|
|
build-*/
|
|
dist/
|
|
CMakeFiles/
|
|
CMakeCache.txt
|
|
cmake_install.cmake
|
|
install_manifest.txt
|
|
compile_commands.json
|
|
|
|
# ─── Toolchain auto-downloaded by build.sh ────────────────────────────────
|
|
toolchain/
|
|
|
|
# ─── Python (plex_relay / scripts/plex-tailnet) ───────────────────────────
|
|
__pycache__/
|
|
*.py[cod]
|
|
*.egg-info/
|
|
.eggs/
|
|
.pytest_cache/
|
|
.mypy_cache/
|
|
.ruff_cache/
|
|
.venv/
|
|
venv/
|
|
.tox/
|
|
|
|
# ─── Temp / logs ──────────────────────────────────────────────────────────
|
|
*.tmp
|
|
*.log
|
|
*.bak
|
|
*.swp
|
|
*~
|
|
.cache/
|
|
|
|
# ─── OS / editor cruft ────────────────────────────────────────────────────
|
|
.DS_Store
|
|
Thumbs.db
|
|
desktop.ini
|
|
.idea/
|
|
.vscode/
|