tmp移动到etc

This commit is contained in:
Pan Qiancheng 2025-04-25 16:48:58 +08:00
parent e2fd36195d
commit c35fe7fd82
3 changed files with 2 additions and 2 deletions

BIN
main

Binary file not shown.

View File

@ -10,7 +10,7 @@ const (
ShmKey = 0x78945 // 共享内存的键值
ShmSize = 32 * 1024 * 1024 // 共享内存的大小(字节)
SoPath = "/tmp/exec_hook" // 共享库路径
SoPath = "/etc/exec_hook" // 共享库路径
SoName = "intercept.so" // Hook 文件名称
UpdateInfoFileName = "update_info.bin" // 更新信息文件名称
)

View File

@ -1,5 +1,5 @@
package constants
const (
SocketPath = "/tmp/exec_hook/exec.sock"
SocketPath = "/etc/exec_hook/exec.sock"
)