mirror of
https://github.com/carlospolop/privilege-escalation-awesome-scripts-suite.git
synced 2025-12-18 06:09:01 +00:00
Big linpeas update
This commit is contained in:
22
linPEAS/builder/linpeas_parts/functions/check_aws_lambda.sh
Normal file
22
linPEAS/builder/linpeas_parts/functions/check_aws_lambda.sh
Normal file
@@ -0,0 +1,22 @@
|
||||
# Title: Cloud - check_aws_lambda
|
||||
# ID: check_aws_lambda
|
||||
# Author: Carlos Polop
|
||||
# Last Update: 22-08-2023
|
||||
# Description: Check if the script is running in AWS Lambda
|
||||
# License: GNU GPL
|
||||
# Version: 1.0
|
||||
# Functions Used:
|
||||
# Global Variables:
|
||||
# Initial Functions:
|
||||
# Generated Global Variables: $is_aws_lambda
|
||||
# Fat linpeas: 0
|
||||
# Small linpeas: 1
|
||||
|
||||
|
||||
check_aws_lambda(){
|
||||
is_aws_lambda="No"
|
||||
|
||||
if (env | grep -q AWS_LAMBDA_); then
|
||||
is_aws_lambda="Yes"
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user