From 67fdc64ef42aa345626b59698a8c0fbd98741fb2 Mon Sep 17 00:00:00 2001 From: Carlos Polop Date: Thu, 9 Jan 2025 17:34:55 +0100 Subject: [PATCH] fix keyvault.md --- scripts/clean_unused_images.sh | 6 ++++++ .../az-post-exploitation/az-key-vault-post-exploitation.md | 2 +- .../az-privilege-escalation/az-key-vault-privesc.md | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/scripts/clean_unused_images.sh b/scripts/clean_unused_images.sh index 7ff4bce30b..934b28b741 100644 --- a/scripts/clean_unused_images.sh +++ b/scripts/clean_unused_images.sh @@ -12,6 +12,12 @@ find "$IMAGE_FOLDER" -type f | while IFS= read -r image; do # Extract the filename without the path image_name=$(basename "$image") + # If image file name contains "sponsor", skip it + if [[ "$image_name" == *"sponsor"* ]]; then + echo "Skipping sponsor image: $image_name" + continue + fi + echo "Checking image: $image_name" # Search for the image name using rg and capture the result diff --git a/src/pentesting-cloud/azure-security/az-post-exploitation/az-key-vault-post-exploitation.md b/src/pentesting-cloud/azure-security/az-post-exploitation/az-key-vault-post-exploitation.md index ae5cdf5e2d..39a601d0c9 100644 --- a/src/pentesting-cloud/azure-security/az-post-exploitation/az-key-vault-post-exploitation.md +++ b/src/pentesting-cloud/azure-security/az-post-exploitation/az-key-vault-post-exploitation.md @@ -7,7 +7,7 @@ For more information about this service check: {{#ref}} -../az-services/keyvault.md +../az-services/az-keyvault.md {{#endref}} ### Microsoft.KeyVault/vaults/secrets/getSecret/action diff --git a/src/pentesting-cloud/azure-security/az-privilege-escalation/az-key-vault-privesc.md b/src/pentesting-cloud/azure-security/az-privilege-escalation/az-key-vault-privesc.md index d76e7a61d4..3681e6ae4e 100644 --- a/src/pentesting-cloud/azure-security/az-privilege-escalation/az-key-vault-privesc.md +++ b/src/pentesting-cloud/azure-security/az-privilege-escalation/az-key-vault-privesc.md @@ -7,7 +7,7 @@ For more information about this service check: {{#ref}} -../az-services/keyvault.md +../az-services/az-keyvault.md {{#endref}} ### Microsoft.KeyVault/vaults/write