build
This commit is contained in:
parent
c9a8526f14
commit
5777d12fa3
|
|
@ -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"
|
||||||
}
|
}
|
||||||
102
logs/execve.log
102
logs/execve.log
|
|
@ -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
|
|
@ -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"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,48 +0,0 @@
|
||||||
----------------------------------------------------------------------------------
|
|
||||||
Superbench.sh -- https://www.idcoffer.com/archives/4764
|
|
||||||
Mode : [0;32mStandard[0m Version : [0;32m1.3.12[0m
|
|
||||||
Usage : bash <(wget -qO- https://down.vpsaff.net/linux/speedtest/superbench.sh)
|
|
||||||
----------------------------------------------------------------------------------
|
|
||||||
CPU Model : [0;36mIntel(R) Core(TM) i5-7500 CPU @ 3.40GHz[0m
|
|
||||||
CPU Cores : [0;33m4 Cores [0;36m900.005 MHz x86_64[0m
|
|
||||||
CPU Cache : [0;36mL2 256K & [0;33mL3 6144K[0m
|
|
||||||
CPU Flags : [0;36mAES-NI Enabled & [0;33mVM-x/AMD-V Enabled [0m
|
|
||||||
OS : [0;36mUbuntu 22.04.5 LTS (64 Bit) [0;33mDedicated[0m
|
|
||||||
Kernel : [0;36m6.8.0-52-generic[0m
|
|
||||||
Total Space : [0;36m55.9 GB / [0;33m2791.3 GB [0m
|
|
||||||
Total RAM : [0;36m MB / [0;33m MB [0;36m( MB Buff)[0m
|
|
||||||
Total SWAP : [0;36m MB / MB[0m
|
|
||||||
Uptime : [0;36m23 days 22 hour 44 min[0m
|
|
||||||
Load Average : [0;36m2.95, 2.59, 2.49[0m
|
|
||||||
TCP CC : [0;36mcubic + [0;33mfq_codel[0m
|
|
||||||
Organization : [0;33mAS4134 CHINANET-BACKBONE[0m
|
|
||||||
Location : [0;36mJiaxing / [0;33mCN[0m
|
|
||||||
Region : [0;36mZhejiang[0m
|
|
||||||
----------------------------------------------------------------------------------
|
|
||||||
Unlock Test :
|
|
||||||
Netflix : [0;31mNo[0m
|
|
||||||
YouTube Premium : [0;31mNetwork connection failed[0m
|
|
||||||
YouTube CDN : [0;31mNetwork connection failed[0m
|
|
||||||
BiliBili China : [0;32mYes (Region: Mainland Only)[0m
|
|
||||||
TikTok : [0;31mNetwork connection failed[0m
|
|
||||||
iQIYI International : [0;32mYes (Region: INTL)[0m
|
|
||||||
ChatGPT : [0;31mFailed[0m
|
|
||||||
----------------------------------------------------------------------------------
|
|
||||||
I/O Speed( 1.0GB ) : [0;33m3.9 GB/s[0m
|
|
||||||
I/O Speed( 1.0GB ) : [0;33m4.1 GB/s[0m
|
|
||||||
I/O Speed( 1.0GB ) : [0;33m3.9 GB/s[0m
|
|
||||||
Average I/O Speed : [0;33m4061.9 MB/s[0m
|
|
||||||
----------------------------------------------------------------------------------
|
|
||||||
Geekbench v6 Test :
|
|
||||||
Single Core : [0;33m1283 [0m
|
|
||||||
Multi Core : [0;33m3760[0m
|
|
||||||
----------------------------------------------------------------------------------
|
|
||||||
Node Name Upload Speed Download Speed Latency Packet Loss
|
|
||||||
[0;33m Speedtest.net [0;32m47.22 Mbit/s [0;31m755.03 Mbit/s [0;36m7.46 ms [0mNot available
|
|
||||||
[0;33m Zhenjiang 5G CT [0;32m47.32 Mbit/s [0;31m755.70 Mbit/s [0;36m13.96 ms [0mNot available
|
|
||||||
[0;33m Hangzhou CT [0;32m48.82 Mbit/s [0;31m737.21 Mbit/s [0;36m7.40 ms [0mNot available
|
|
||||||
[0;33m Shanghai 5G CU [0;32m47.02 Mbit/s [0;31m750.25 Mbit/s [0;36m17.97 ms [0m0.0%
|
|
||||||
[0;33m Hangzhou 5G CM [0;32m47.37 Mbit/s [0;31m749.96 Mbit/s [0;36m9.27 ms [0m0.0%
|
|
||||||
----------------------------------------------------------------------------------
|
|
||||||
Node Name Upload Speed Download Speed Latency Packet Loss
|
|
||||||
----------------------------------------------------------------------------------
|
|
||||||
Loading…
Reference in New Issue