mirror of
https://github.com/carlospolop/PEASS-ng
synced 2025-04-29 14:50:27 +02:00
Update 3_cloud.sh
Delete the condition that Tencent Cloud detection is liable to cause false positives
This commit is contained in:
parent
c37db4654c
commit
751d61b27f
@ -45,7 +45,7 @@ check_aliyun_ecs () {
|
|||||||
|
|
||||||
check_tencent_cvm () {
|
check_tencent_cvm () {
|
||||||
is_tencent_cvm="No"
|
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"
|
is_tencent_cvm="Yes"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user