From 669cd00836f9ba1c235b7c5cff628c081557b64f Mon Sep 17 00:00:00 2001 From: Translator Date: Thu, 9 Jan 2025 07:35:33 +0000 Subject: [PATCH] Translated ['src/pentesting-cloud/azure-security/az-permissions-for-a-pe --- hacktricks-preprocessor.py | 8 ++++---- .../azure-security/az-permissions-for-a-pentest.md | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/hacktricks-preprocessor.py b/hacktricks-preprocessor.py index af5949449..f07acbcdf 100644 --- a/hacktricks-preprocessor.py +++ b/hacktricks-preprocessor.py @@ -46,8 +46,8 @@ def ref(matchobj): match = re.search('(.*?)', raw_html) title = match.group(1) if match else href except Exception as e: - logger.debug(f'Error opening URL {href}: {e}') - pass #nDont stop on broken link + logger.error(f'Error opening URL {href}: {e}') + pass #Dont stop on broken link else: try: if href.endswith("/"): @@ -73,7 +73,7 @@ def ref(matchobj): title = chapter["name"] logger.debug(f'Recursive title search result: {chapter["name"]}') except Exception as e: - logger.debug(e) + logger.error(f"Error: {e}") logger.error(f'Error getting chapter title: {path.normpath(path.join(dir,href))}') sys.exit(1) @@ -101,7 +101,7 @@ def files(matchobj): logger.debug(f'File search result: {os.path.join(root, href)}') except Exception as e: - logger.debug(e) + logger.error(f"Error: {e}") logger.error(f'Error searching file: {href}') sys.exit(1) diff --git a/src/pentesting-cloud/azure-security/az-permissions-for-a-pentest.md b/src/pentesting-cloud/azure-security/az-permissions-for-a-pentest.md index 527f6b85d..f3233f753 100644 --- a/src/pentesting-cloud/azure-security/az-permissions-for-a-pentest.md +++ b/src/pentesting-cloud/azure-security/az-permissions-for-a-pentest.md @@ -2,6 +2,6 @@ {{#include ../../banners/hacktricks-training.md}} -テストを開始するには、**サブスクリプションに対するReader権限**と**AzureADのGlobal Readerロール**を持つユーザーでアクセスする必要があります。それでもなお**ストレージアカウントのコンテンツにアクセスできない場合**は、**Storage Account Contributorロール**で修正できます。 +テストを開始するには、**サブスクリプションに対するリーダー権限**を持つユーザーと、**AzureADのグローバルリーダー役割**にアクセスする必要があります。それでもなお**ストレージアカウントのコンテンツにアクセスできない場合**は、**ストレージアカウント貢献者の役割**で修正できます。 {{#include ../../banners/hacktricks-training.md}}