mirror of
https://github.com/HackTricks-wiki/hacktricks-cloud.git
synced 2026-02-05 03:16:37 -08:00
Translated ['src/pentesting-cloud/azure-security/az-enumeration-tools.md
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
|
||||
{{#include ../../banners/hacktricks-training.md}}
|
||||
|
||||
## 在Linux中安装PowerShell
|
||||
## 在 Linux 中安装 PowerShell
|
||||
|
||||
> [!TIP]
|
||||
> 在Linux中,您需要安装PowerShell Core:
|
||||
> 在 Linux 中,您需要安装 PowerShell Core:
|
||||
```bash
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y wget apt-transport-https software-properties-common
|
||||
@@ -61,7 +61,7 @@ Azure CLI 中的命令结构模式为: `az <service> <action> <parameters>`
|
||||
```bash
|
||||
az account management-group list --output table --debug
|
||||
```
|
||||
为了对工具进行**MitM**并**手动检查所有请求**,您可以执行:
|
||||
为了对工具进行**MitM**并**手动检查所有发送的请求**,您可以执行:
|
||||
|
||||
{{#tabs }}
|
||||
{{#tab name="Bash" }}
|
||||
@@ -91,7 +91,7 @@ $env:HTTP_PROXY="http://127.0.0.1:8080"
|
||||
|
||||
### Az PowerShell
|
||||
|
||||
Azure PowerShell 是一个模块,包含用于直接从 PowerShell 命令行管理 Azure 资源的 cmdlet。
|
||||
Azure PowerShell 是一个模块,包含用于直接从 PowerShell 命令行管理 Azure 资源的 cmdlets。
|
||||
|
||||
请访问此链接以获取 [**安装说明**](https://learn.microsoft.com/en-us/powershell/azure/install-azure-powershell)。
|
||||
|
||||
@@ -103,7 +103,7 @@ Azure PowerShell AZ 模块中的命令结构如下:`<Action>-Az<Service> <para
|
||||
```bash
|
||||
Get-AzResourceGroup -Debug
|
||||
```
|
||||
为了对工具进行**MitM**并**手动检查所有请求**,您可以根据[**文档**](https://learn.microsoft.com/en-us/powershell/azure/az-powershell-proxy)设置环境变量`HTTPS_PROXY`和`HTTP_PROXY`。
|
||||
为了对工具进行**MitM**并**手动检查所有发送的请求**,您可以根据[**文档**](https://learn.microsoft.com/en-us/powershell/azure/az-powershell-proxy)设置环境变量`HTTPS_PROXY`和`HTTP_PROXY`。
|
||||
|
||||
### Microsoft Graph PowerShell
|
||||
|
||||
@@ -121,9 +121,9 @@ Get-MgUser -Debug
|
||||
```
|
||||
### ~~**AzureAD Powershell**~~
|
||||
|
||||
Azure Active Directory (AD) 模块,现在 **已弃用**,是用于管理 Azure AD 资源的 Azure PowerShell 的一部分。它提供了用于管理用户、组和 Entra ID 中的应用程序注册的 cmdlet。
|
||||
Azure Active Directory (AD) 模块现在 **已弃用**,是用于管理 Azure AD 资源的 Azure PowerShell 的一部分。它提供了用于管理用户、组和 Entra ID 中的应用程序注册的 cmdlets。
|
||||
|
||||
> [!TIP]
|
||||
> 这被 Microsoft Graph PowerShell 替代
|
||||
> 这已被 Microsoft Graph PowerShell 替代
|
||||
|
||||
Follow this link for the [**installation instructions**](https://www.powershellgallery.com/packages/AzureAD).
|
||||
|
||||
Reference in New Issue
Block a user