mirror of
https://github.com/carlospolop/privilege-escalation-awesome-scripts-suite.git
synced 2025-12-09 18:31:28 +00:00
update: bug of req var error
This commit is contained in:
@@ -211,7 +211,7 @@ if [ "$is_aliyun_ecs" = "Yes" ]; then
|
|||||||
print_3title "Service account "
|
print_3title "Service account "
|
||||||
for sa in $(eval $aliyun_req "http://100.100.100.200/latest/meta-data/ram/security-credentials/"); do
|
for sa in $(eval $aliyun_req "http://100.100.100.200/latest/meta-data/ram/security-credentials/"); do
|
||||||
echo " Name: $sa"
|
echo " Name: $sa"
|
||||||
echo " STS-Token: "$(eval $gcp_req "http://100.100.100.200/latest/meta-data/ram/security-credentials/$sa")
|
echo " STS Token: "$(eval $aliyun_req "http://100.100.100.200/latest/meta-data/ram/security-credentials/$sa")
|
||||||
echo " =============="
|
echo " =============="
|
||||||
done
|
done
|
||||||
|
|
||||||
@@ -219,7 +219,7 @@ if [ "$is_aliyun_ecs" = "Yes" ]; then
|
|||||||
print_3title "Possbile admin ssh Public keys"
|
print_3title "Possbile admin ssh Public keys"
|
||||||
for key in $(eval $aliyun_req "http://100.100.100.200/latest/meta-data/public-keys/"); do
|
for key in $(eval $aliyun_req "http://100.100.100.200/latest/meta-data/public-keys/"); do
|
||||||
echo " Name: $key"
|
echo " Name: $key"
|
||||||
echo " Key: "$(eval $gcp_req "http://100.100.100.200/latest/meta-data/public-keys/$keyopenssh-key")
|
echo " Key: "$(eval $aliyun_req "http://100.100.100.200/latest/meta-data/public-keys/${key}openssh-key")
|
||||||
echo " =============="
|
echo " =============="
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user