Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

502 total results found

List storage containers

Azure - Cheatsheet Blob Storage

az storage container list --account-name $AZURE_STORAGE_ACCOUNT --account-key "$AZURE_STORAGE_KEY"  

List storage container contents

Azure - Cheatsheet Blob Storage

az storage blob list --container-name <name of storage container from previous command> --account-name $AZURE_STORAGE_ACCOUNT --account-key $AZURE_STORAGE_KEY Resource: https://www.secsignal.org/en/news/how-i-hacked-a-domain-controller-in-azure-during-a-penet...

List blob names

Azure - Cheatsheet Blob Storage

az storage blob list --container-name <name of storage container from previous command> --account-name $AZURE_STORAGE_ACCOUNT --account-key $AZURE_STORAGE_KEY | jq '.[].name'  

Full IP Lists

IP Address Lists

Get available versions of k8s in a region

Azure - Cheatsheet Azure Kubernetes (k8s)

REGION=westus2 # This will vary depending on the region you're using az aks get-versions --location $REGION -o table Resource: https://gist.github.com/yokawasa/fd9d9b28f7c79461f60d86c23f615677#aks-cheat-sheet

Post Information

Powershell Master Cheatsheet - Cheatsheet

List managed k8s clusters

Azure - Cheatsheet Azure Kubernetes (k8s)

az aks list Resource: https://docs.microsoft.com/en-us/cli/azure/aks?view=azure-cli-latest

Get Resource Group Name for clusters

Azure - Cheatsheet Azure Kubernetes (k8s)

AZ_RESOURCE_GROUP_NAME=$(az aks list | jq -r '.[].resourceGroup')  

Get Cluster Name

Azure - Cheatsheet Azure Kubernetes (k8s)

AZ_CLUSTER_NAME=$(az aks list | jq -r '.[].name')  

Baseline Setup

pfSense - Walkthroughs

Configure kubectl

Azure - Cheatsheet Azure Kubernetes (k8s)

This is pretty awesome, good job Microsoft: az aks get-credentials --resource-group $AZ_RESOURCE_GROUP_NAME --name $AZ_CLUSTER_NAME Resources:https://www.reddit.com/r/kubernetes/comments/8ohxcz/how_to_connect_kubectl_to_aks/https://docs.microsoft.com/en-us/a...

Storage

Hyper-V - Walkthroughs

ScoutSuite

Azure - Cheatsheet Security Auditing

https://github.com/nccgroup/ScoutSuite will generate an HTML report outlining various issues that exist in the configuration for a given account. Install: git clone git@github.com:nccgroup/ScoutSuite.git cd ScoutSuite pipenv --python 3 pipenv shell pip i...

PowerZure

Azure - Cheatsheet Security Auditing

git clone git@github.com:hausec/PowerZure.git cd PowerZure pwsh-preview # Authenticate Connect-AzAccount # Import PowerZure # impo is shorthand for Import-Module ipmo ./PowerZure.ps1 # If you have multiple subscriptions, set the one you want to t...

Get help for a particular function

Azure - Cheatsheet Security Auditing

For example: get-help Get-AzureTargets

Get all content from all KeyVault

Azure - Cheatsheet Security Auditing

Show-AzureKeyVaultContent -All Resource: https://hausec.com/2020/01/31/attacking-azure-azure-ad-and-introducing-powerzure/

Create a new user

Azure - Cheatsheet Create Azure Objects

New-AzureUser -Username 'test@test.com' -Password reallyAwesomePassword123!  

iDRAC

Dell - Scripts