mirror of
https://github.com/HackTricks-wiki/hacktricks-cloud.git
synced 2026-02-05 19:32:24 -08:00
Translated ['src/pentesting-cloud/azure-security/az-enumeration-tools.md
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
## 在 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
|
||||
@@ -36,7 +36,7 @@ curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
|
||||
```sh
|
||||
brew install powershell/tap/powershell
|
||||
```
|
||||
3. 运行 PowerShell:
|
||||
3. 运行 PowerShell:
|
||||
```sh
|
||||
pwsh
|
||||
```
|
||||
@@ -49,7 +49,7 @@ brew upgrade powershell
|
||||
|
||||
### az cli
|
||||
|
||||
[**Azure 命令行界面 (CLI)**](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli) 是一个用 Python 编写的跨平台工具,用于管理和管理 (大多数) Azure 和 Entra ID 资源。它连接到 Azure 并通过命令行或脚本执行管理命令。
|
||||
[**Azure 命令行界面 (CLI)**](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli) 是一个跨平台工具,使用 Python 编写,用于管理和管理 (大多数) Azure 和 Entra ID 资源。它连接到 Azure 并通过命令行或脚本执行管理命令。
|
||||
|
||||
请访问此链接以获取 [**安装说明¡**](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli#install)。
|
||||
|
||||
@@ -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,7 +121,7 @@ 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 中的应用程序注册的 cmdlet。
|
||||
|
||||
> [!TIP]
|
||||
> 这被 Microsoft Graph PowerShell 替代
|
||||
|
||||
Reference in New Issue
Block a user