fix: hardening

This commit is contained in:
FUFSoB committed 2026-10-05 22:44:09 +05:00
1 parent 017a947a18
commit a435942b4f
168 files changed
+9166 -1644

No files matched your search

@@ -7,7 +7,8 @@ if [ -z "$clash_api" ]; then
echo "sing-box has no Clash API (selection = \"first\"?); nothing to sample"
exit 0
fi
install -d -m @stateDirMode@ "$state_dir"
# Before appending to samples by name: on an old install, a member may have left a link.
@migrate@ "$state_dir" "${AUTOPROXY_SPOOL_DIR:-@spoolDir@}"
# Eleven snapshots a second apart: ten one-second deltas per connection.
lines=$(