Dependencies.md only covered compress/ and the injection libraries. Everything
else in the tree was undocumented, and LICENSE-THIRD-PARTY.txt was missing
three components that Dependencies.md already listed.
Added to Dependencies.md (23 entries):
vendored source KCP/ikcp, xxHash 0.8.3, tiny-AES-c, skCrypter,
cpp-httplib 0.14.3
runtime / data OpenSSL (Linux/macOS TLS and libsign.a HMAC), FRP
(Bin/res/frpc.dll, frps.dll), ip2region xdb v4, QQWry,
Microsoft DirectX SDK headers
server-go jwt 5.3.1, gorilla/websocket 1.5.3, klauspost/compress
1.18.2, zerolog 1.34.0, x/sync, x/text, lumberjack 2.2.1
plus 3 indirect modules
android androidx core-ktx 1.13.1, appcompat 1.7.0, Kotlin stdlib
2.1.21
test GoogleTest 1.14.0 (CMake FetchContent)
LICENSE-THIRD-PARTY.txt grows from 278 to 633 lines and 22 sections. Full text
is embedded for the short licenses (MIT, BSD, zlib, Unlicense); the Apache,
LGPL and GPL entries follow the file's existing style of terms + obligations +
where to obtain the text, rather than reproducing legal text by hand.
Three findings worth recording:
- x264 is GPL-2.0 and is linked statically (client/X264Encoder.cpp). The old
file only stated that FFmpeg was built without GPL plugins, and never
mentioned that x264 is linked separately. Section 21 now spells out the
consequence: a binary containing x264 is a GPL-2.0 work unless covered by a
commercial x264 license.
- FFmpeg is linked STATICALLY, not dynamically as the old text claimed. There
is no av*.dll anywhere in the tree; the pragmas reference libavcodec_x64.lib
and friends. Section 19 is rewritten around LGPL-2.1 section 6 and quotes the
configure line recovered from libavutil, which also shows the build is
decode-only (--disable-encoders). That means x264 is the product's only
H.264 encoder, so DISABLE_X264_FOR_TEST=1 leaves no encoder at all and the
client degrades to RGB565.
- The FRP binaries report buildinfo v0.69.2-...+d58c00d0332c+dirty. The "+dirty"
means the FRP sources were modified locally, and Apache-2.0 section 4(b)
requires modified files to carry a prominent change notice.
107 lines
5.3 KiB
Markdown
107 lines
5.3 KiB
Markdown
# All Dependencies
|
|
|
|
## compress
|
|
|
|
Prebuilt binaries under `compress/`, linked via `#pragma comment(lib, ...)`.
|
|
|
|
- [zlib v1.3.2](https://zlib.net)
|
|
- [zstd v1.5.7](https://github.com/facebook/zstd/tree/v1.5.7)
|
|
- [x264 v0.164.3194](https://github.com/corecodec/x264) — GPL-2.0, see note below
|
|
- [libyuv v190](https://chromium.googlesource.com/libyuv/libyuv)
|
|
- [ffmpeg 7.1](https://git.ffmpeg.org/ffmpeg.git) — LGPL-2.1, linked statically, see note below
|
|
- [jsoncpp v1.9.6](https://github.com/open-source-parsers/jsoncpp)
|
|
- [jpeg v3.1.1](https://github.com/libjpeg-turbo/libjpeg-turbo)
|
|
- [opus-1.6.1](https://opus-codec.org/release/stable/2026/01/14/libopus-1_6_1.html)
|
|
- [libpeconv c7d1e48](https://github.com/hasherezade/libpeconv) — `server/2015Remote/libpeconv/`
|
|
- [libvpl v2.16.0](https://github.com/intel/libvpl) — `compress/ffmpeg/vpl_x64*.lib`
|
|
- [dav1d 62501cc](https://github.com/videolan/dav1d) — `compress/ffmpeg/dav1d_x64.lib`
|
|
|
|
## execution
|
|
|
|
- [MemoryModule](https://github.com/fancycode/MemoryModule.git) — `client/MemoryModule.c`
|
|
- [sRDI](https://github.com/Drewsif/sRDI.git)
|
|
- [pe_to_shellcode](https://github.com/hasherezade/pe_to_shellcode.git)
|
|
|
|
## vendored source
|
|
|
|
Single-file libraries compiled into the product as source.
|
|
|
|
- [KCP (ikcp)](https://github.com/skywind3000/kcp) — `common/ikcp.c`, `common/ikcp.h`
|
|
- [xxHash v0.8.3](https://github.com/Cyan4973/xxHash) — `common/xxhash.h`
|
|
- [tiny-AES-c](https://github.com/kokke/tiny-AES-c) — `common/aes.c`, `common/aes.h`
|
|
- [skCrypter](https://github.com/skadro-official/skCrypter) — `common/skCrypter.h`
|
|
- [cpp-httplib v0.14.3](https://github.com/yhirose/cpp-httplib) — `server/2015Remote/httplib.h`
|
|
|
|
## runtime / data
|
|
|
|
Shipped with the product or linked by the Linux/macOS builds.
|
|
|
|
- [OpenSSL](https://github.com/openssl/openssl) — Linux/macOS client TLS (`client/TlsChannelLinux.cpp`) and `libsign.a` HMAC; version follows the system/package OpenSSL 3.x
|
|
- [FRP (frpc / frps) v0.69.2-0.20260605064132-d58c00d0332c](https://github.com/fatedier/frp) — `Bin/res/frpc.dll`, `Bin/res/frps.dll`
|
|
- [ip2region (xdb v4)](https://github.com/lionsoul2014/ip2region) — `Bin/ip2region_v4.xdb`
|
|
- [QQWry / 纯真 IP 库](https://www.cz88.net/) — `Bin/qqwry.dat`
|
|
- Microsoft DirectX SDK headers — `client/d3d/`, included by `client/dxtrans.h` for legacy D3D texture formats; used under the DirectX SDK EULA, not open source
|
|
|
|
## server-go
|
|
|
|
`server/go/`, shipped as `Bin/YAMAGo_x64.exe`.
|
|
|
|
- [github.com/golang-jwt/jwt/v5 v5.3.1](https://github.com/golang-jwt/jwt)
|
|
- [github.com/gorilla/websocket v1.5.3](https://github.com/gorilla/websocket)
|
|
- [github.com/klauspost/compress v1.18.2](https://github.com/klauspost/compress)
|
|
- [github.com/rs/zerolog v1.34.0](https://github.com/rs/zerolog)
|
|
- [golang.org/x/sync v0.20.0](https://pkg.go.dev/golang.org/x/sync)
|
|
- [golang.org/x/text v0.32.0](https://pkg.go.dev/golang.org/x/text)
|
|
- [gopkg.in/natefinch/lumberjack.v2 v2.2.1](https://github.com/natefinch/lumberjack)
|
|
- indirect: [mattn/go-colorable v0.1.13](https://github.com/mattn/go-colorable), [mattn/go-isatty v0.0.19](https://github.com/mattn/go-isatty), [golang.org/x/sys v0.12.0](https://pkg.go.dev/golang.org/x/sys)
|
|
|
|
## android
|
|
|
|
`android/`, shipped as `Bin/ghost.apk`.
|
|
|
|
- [androidx.core:core-ktx 1.13.1](https://developer.android.com/jetpack/androidx/releases/core)
|
|
- [androidx.appcompat:appcompat 1.7.0](https://developer.android.com/jetpack/androidx/releases/appcompat)
|
|
- [Kotlin standard library 2.1.21](https://kotlinlang.org/)
|
|
|
|
## test
|
|
|
|
Build/test only, not shipped.
|
|
|
|
- [GoogleTest v1.14.0](https://github.com/google/googletest) — fetched via CMake `FetchContent`
|
|
|
|
## *Note*
|
|
|
|
The proper operation of the program depends on the above library files.
|
|
Some libraries are not open source, please contact author for details.
|
|
|
|
These libraries are all compiled personally by the author and can be used with confidence.
|
|
If you use libraries from other sources, there may be compilation risks.
|
|
|
|
### Private libraries (not third-party)
|
|
|
|
`lib/` ships `FileUpload_Lib`, `PrivateDesktop_Lib` and `shrink` as prebuilt
|
|
binaries; `linux/lib/libsign.a`, `macos/lib/libsign.a` and
|
|
`android/.../lib/<abi>/libsign.a` are likewise the author's own. They are part
|
|
of the multi-layer licensing architecture and are **not** covered by the
|
|
open-source notices above.
|
|
|
|
### GPL note
|
|
|
|
`x264` is GPL-2.0 and `ffmpeg` is LGPL-2.1; both are linked **statically** on
|
|
Windows. `common/config.h` exposes `DISABLE_X264_FOR_TEST` and
|
|
`DISABLE_FFMPEG_FOR_TEST` (both default `0`, i.e. enabled) to build without
|
|
them. With `DISABLE_X264_FOR_TEST=1` neither the x264 library nor its headers
|
|
are needed — the whole `compress/x264/` directory can be deleted. The same
|
|
holds for `DISABLE_FFMPEG_FOR_TEST=1` and `compress/ffmpeg/`.
|
|
|
|
Binaries that include x264 are subject to GPL-2.0 unless covered by a
|
|
commercial x264 license.
|
|
|
|
**Important:** the bundled FFmpeg is a decode-only build (`--disable-encoders`,
|
|
see the configure line in `LICENSE-THIRD-PARTY.txt` section 19), so it provides
|
|
no encoder. x264 is therefore the product's *only* H.264 encoder, and
|
|
`DISABLE_X264_FOR_TEST=1` means no H.264 at all — the client falls back to raw
|
|
RGB565 frames. Keeping H.264 while staying GPL-free needs a different encoder
|
|
or a commercial x264 license. See `LICENSE-THIRD-PARTY.txt` for the full text
|
|
and the obligations that come with static LGPL linking.
|