1,安全软件
ClamAV ,Rkhunter,chkrootkit, Lynis, AIDE,auditd, Trivy ,Semgrep
用trivy扫描my-project 并输出到 scan_my-project.json 的命令: trivy fs --format json -o scan2_my-project.json github/my-project
只输出严重漏洞: trivy fs --severity CRITICAL,HIGH --format json -o scan2_my-project.json github/my-project
用semgrep扫描git_code中的my-project的代码漏洞: semgrep scan --config=p/security-audit --json -o semgrep_my-project.json git_code/my-project
2,临时关闭mptcp
# 查询mptcp状态: sysctl net.mptcp.enabled
# 临时关闭: sudo sysctl -w net.mptcp.enabled=0
# 永久关闭(重启操作系统后仍然生效):vim /etc/sysctl.d/99-mptcp.conf
添加内容: net.mptcp.enabled=0
# 查询有没有程序使用mptcp
sudo ss -Mlnp
374



被折叠的 条评论
为什么被折叠?



