From 751d61b27f6e3d632b681b93d5393b95693fde64 Mon Sep 17 00:00:00 2001 From: shadowabi <50265741+shadowabi@users.noreply.github.com> Date: Mon, 8 Apr 2024 14:41:46 +0800 Subject: [PATCH] Update 3_cloud.sh Delete the condition that Tencent Cloud detection is liable to cause false positives --- linPEAS/builder/linpeas_parts/3_cloud.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linPEAS/builder/linpeas_parts/3_cloud.sh b/linPEAS/builder/linpeas_parts/3_cloud.sh index 266ea8e..a5fb302 100644 --- a/linPEAS/builder/linpeas_parts/3_cloud.sh +++ b/linPEAS/builder/linpeas_parts/3_cloud.sh @@ -45,7 +45,7 @@ check_aliyun_ecs () { check_tencent_cvm () { is_tencent_cvm="No" - if [ -f "/etc/cloud/cloud.cfg.d/05_logging.cfg" ] || grep -qi Tencent /etc/cloud/cloud.cfg; then + if grep -qi Tencent /etc/cloud/cloud.cfg; then is_tencent_cvm="Yes" fi }