This commit is contained in:
Pan Qiancheng 2025-04-09 18:56:01 +08:00
parent c9a8526f14
commit 5777d12fa3
6 changed files with 162 additions and 51 deletions

View File

@ -18,7 +18,8 @@
"stdio.h": "c", "stdio.h": "c",
"wait.h": "c", "wait.h": "c",
"signal_handlers.h": "c", "signal_handlers.h": "c",
"terminal_utils.h": "c" "terminal_utils.h": "c",
"stdlib.h": "c"
}, },
"C_Cpp.errorSquiggles": "disabled" "C_Cpp.errorSquiggles": "disabled"
} }

View File

@ -6132,3 +6132,105 @@ arg[0]: lesspipe
] Command: /usr/bin/dircolors ] Command: /usr/bin/dircolors
arg[0]: dircolors arg[0]: dircolors
arg[1]: -b arg[1]: -b
[Wed Apr 9 18:05:20 2025
] Command: /usr/bin/lesspipe
arg[0]: lesspipe
[Wed Apr 9 18:05:20 2025
] Command: /usr/bin/dircolors
arg[0]: dircolors
arg[1]: -b
[Wed Apr 9 18:05:24 2025
] Command: /usr/bin/ls
arg[0]: ls
arg[1]: --color=auto
[Wed Apr 9 18:05:59 2025
] Command: /usr/bin/wget
arg[0]: wget
arg[1]: -c
arg[2]: https://repo.anaconda.com/archive/Anaconda3-2023.09-0-Linux-x86_64.sh
arg[3]: -P
arg[4]: /home/qcqcqc/
[Wed Apr 9 18:06:11 2025
] Command: /usr/bin/rm
arg[0]: rm
arg[1]: -rf
arg[2]: /home/qcqcqc/Anaconda3-2023.09-0-Linux-x86_64.sh
[Wed Apr 9 18:06:14 2025
] Command: /usr/bin/rm
arg[0]: rm
arg[1]: -rf
arg[2]: /home/qcqcqc/Anaconda3-2023.09-0-Linux-x86_64.sh
[Wed Apr 9 18:06:14 2025
] Command: /usr/bin/rm
arg[0]: rm
arg[1]: -rf
arg[2]: /home/qcqcqc/Anaconda3-2023.09-0-Linux-x86_64.sh
[Wed Apr 9 18:06:15 2025
] Command: /usr/bin/rm
arg[0]: rm
arg[1]: -rf
arg[2]: /home/qcqcqc/Anaconda3-2023.09-0-Linux-x86_64.sh
[Wed Apr 9 18:06:15 2025
] Command: /usr/bin/rm
arg[0]: rm
arg[1]: -rf
arg[2]: /home/qcqcqc/Anaconda3-2023.09-0-Linux-x86_64.sh
[Wed Apr 9 18:06:20 2025
] Command: /usr/bin/lesspipe
arg[0]: lesspipe
[Wed Apr 9 18:06:20 2025
] Command: /usr/bin/dircolors
arg[0]: dircolors
arg[1]: -b
[Wed Apr 9 18:06:21 2025
] Command: /usr/bin/wget
arg[0]: wget
arg[1]: -c
arg[2]: https://repo.anaconda.com/archive/Anaconda3-2023.09-0-Linux-x86_64.sh
arg[3]: -P
arg[4]: /home/qcqcqc/
[Wed Apr 9 18:42:46 2025
] Command: /usr/bin/lesspipe
arg[0]: lesspipe
[Wed Apr 9 18:42:46 2025
] Command: /usr/bin/dircolors
arg[0]: dircolors
arg[1]: -b
[Wed Apr 9 18:42:48 2025
] Command: /usr/bin/ls
arg[0]: ls
arg[1]: --color=auto
[Wed Apr 9 18:42:55 2025
] Command: /usr/bin/wget
arg[0]: wget
arg[1]: -c
arg[2]: https://repo.anaconda.com/archive/Anaconda3-2023.09-0-Linux-x86_64.sh
arg[3]: -P
arg[4]: /home/qcqcqc/
[Wed Apr 9 18:43:00 2025
] Command: /usr/bin/ls
arg[0]: ls
arg[1]: --color=auto
arg[2]: -alF
[Wed Apr 9 18:43:01 2025
] Command: /usr/bin/htop
arg[0]: htop
[Wed Apr 9 18:43:38 2025
] Command: /usr/bin/vim
arg[0]: vim
[Wed Apr 9 18:45:56 2025
] Command: /usr/bin/lesspipe
arg[0]: lesspipe
[Wed Apr 9 18:45:56 2025
] Command: /usr/bin/dircolors
arg[0]: dircolors
arg[1]: -b
[Wed Apr 9 18:45:57 2025
] Command: /usr/bin/ls
arg[0]: ls
arg[1]: --color=auto
[Wed Apr 9 18:45:58 2025
] Command: /usr/bin/ls
arg[0]: ls
arg[1]: --color=auto
arg[2]: -alF

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@

View File

@ -21,16 +21,17 @@
#include "struct.h" #include "struct.h"
#define CONFIG_FILE "/tmp/exec_hook/config/execve_rules.json"
#define COMMAND_NOT_FOUND "/usr/lib/command-not-found" #define COMMAND_NOT_FOUND "/usr/lib/command-not-found"
#ifdef DEBUG //如果是debug模式在本地目录生成log方便debug #ifdef DEBUG //如果是debug模式在本地目录生成log方便debug
#define CONFIG_FILE "./config/execve_rules.json"
#define LOG_FILE "./logs/execve.log" #define LOG_FILE "./logs/execve.log"
#define LOG_OUT_FILE "./logs/execve_out.log" #define LOG_OUT_FILE "./logs/execve_out.log"
#else #else
#define CONFIG_FILE "/tmp/exec_hook/config/execve_rules.json"
#define LOG_FILE "/tmp/exec_hook/logs/execve.log" #define LOG_FILE "/tmp/exec_hook/logs/execve.log"
#define LOG_OUT_FILE "/tmp/exec_hook/logs/execve_out.log" #define LOG_OUT_FILE "/tmp/exec_hook/logs/execve_out.log"

View File

@ -1,48 +0,0 @@
----------------------------------------------------------------------------------
Superbench.sh -- https://www.idcoffer.com/archives/4764
Mode : Standard Version : 1.3.12
Usage : bash <(wget -qO- https://down.vpsaff.net/linux/speedtest/superbench.sh)
----------------------------------------------------------------------------------
CPU Model : Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
CPU Cores : 4 Cores 900.005 MHz x86_64
CPU Cache : L2 256K & L3 6144K
CPU Flags : AES-NI Enabled & VM-x/AMD-V Enabled 
OS : Ubuntu 22.04.5 LTS (64 Bit) Dedicated
Kernel : 6.8.0-52-generic
Total Space : 55.9 GB / 2791.3 GB 
Total RAM :  MB /  MB ( MB Buff)
Total SWAP :  MB / MB
Uptime : 23 days 22 hour 44 min
Load Average : 2.95, 2.59, 2.49
TCP CC : cubic + fq_codel
Organization : AS4134 CHINANET-BACKBONE
Location : Jiaxing / CN
Region : Zhejiang
----------------------------------------------------------------------------------
Unlock Test :
Netflix : No
YouTube Premium : Network connection failed
YouTube CDN : Network connection failed
BiliBili China : Yes (Region: Mainland Only)
TikTok : Network connection failed
iQIYI International : Yes (Region: INTL)
ChatGPT : Failed
----------------------------------------------------------------------------------
I/O Speed( 1.0GB ) : 3.9 GB/s
I/O Speed( 1.0GB ) : 4.1 GB/s
I/O Speed( 1.0GB ) : 3.9 GB/s
Average I/O Speed : 4061.9 MB/s
----------------------------------------------------------------------------------
Geekbench v6 Test :
Single Core : 1283 
Multi Core : 3760
----------------------------------------------------------------------------------
Node Name Upload Speed Download Speed Latency Packet Loss
 Speedtest.net 47.22 Mbit/s 755.03 Mbit/s 7.46 ms Not available
 Zhenjiang 5G CT 47.32 Mbit/s 755.70 Mbit/s 13.96 ms Not available
 Hangzhou CT 48.82 Mbit/s 737.21 Mbit/s 7.40 ms Not available
 Shanghai 5G CU 47.02 Mbit/s 750.25 Mbit/s 17.97 ms 0.0%
 Hangzhou 5G CM 47.37 Mbit/s 749.96 Mbit/s 9.27 ms 0.0%
----------------------------------------------------------------------------------
Node Name Upload Speed Download Speed Latency Packet Loss
----------------------------------------------------------------------------------