3x-ui/web
Qiaochu Hu 24cd271486
Fix overly permissive file permissions (os.ModePerm) (#4207)
Several file operations used os.ModePerm (0777) which makes files
world-writable and world-readable, violating the principle of least
privilege:

- database/db.go: InitDB directory creation → 0755
- xray/process.go: Xray config write → 0644
- xray/process.go: Crash report write → 0644
- web/service/server.go: Binary extraction → 0755

Also removes unused "io/fs" imports from the affected files.
2026-05-10 14:47:28 +02:00
..
controller Fix silently ignored error when saving outbound test URL setting (#4209) 2026-05-10 14:45:53 +02:00
entity v3 2026-05-10 02:13:42 +02:00
global Refactor code and fix linter warnings (#3627) 2026-01-05 05:54:56 +01:00
job v3 2026-05-10 02:13:42 +02:00
locale v3 2026-05-10 02:13:42 +02:00
middleware v3 2026-05-10 02:13:42 +02:00
network docs: add comments for all functions 2025-09-20 09:35:50 +02:00
runtime v3 2026-05-10 02:13:42 +02:00
service Fix overly permissive file permissions (os.ModePerm) (#4207) 2026-05-10 14:47:28 +02:00
session v3 2026-05-10 02:13:42 +02:00
translation i18n: localize sidebar theme toggle, xray-status badge, and nodes menu 2026-05-10 11:56:30 +02:00
websocket v3 2026-05-10 02:13:42 +02:00
web.go i18n: localize sidebar theme toggle, xray-status badge, and nodes menu 2026-05-10 11:56:30 +02:00