mirror of
https://github.com/carlospolop/privilege-escalation-awesome-scripts-suite.git
synced 2025-12-29 11:19:03 +00:00
Big linpeas update
This commit is contained in:
21
linPEAS/builder/linpeas_parts/functions/check_do.sh
Normal file
21
linPEAS/builder/linpeas_parts/functions/check_do.sh
Normal file
@@ -0,0 +1,21 @@
|
||||
# Title: Cloud - check_do
|
||||
# ID: check_do
|
||||
# Author: Carlos Polop
|
||||
# Last Update: 22-08-2023
|
||||
# Description: Check if the script is running in Digital Ocean
|
||||
# License: GNU GPL
|
||||
# Version: 1.0
|
||||
# Functions Used:
|
||||
# Global Variables:
|
||||
# Initial Functions:
|
||||
# Generated Global Variables: $is_do
|
||||
# Fat linpeas: 0
|
||||
# Small linpeas: 1
|
||||
|
||||
|
||||
check_do(){
|
||||
is_do="No"
|
||||
if [ -f "/etc/cloud/cloud.cfg.d/90-digitalocean.cfg" ]; then
|
||||
is_do="Yes"
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user