This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function Invoke-SubscriptionEnum{ | |
| param( | |
| [string]$outputDirectory = "." | |
| ) | |
| $context = Get-AzContext | |
| $subid = $context.Subscription.Id | |
| Write-Host -ForegroundColor Yellow ("[***] Enumerating Subscription " + $subid) | |
| $publicresources = @() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import subprocess | |
| import itertools | |
| import argparse | |
| from concurrent.futures import ThreadPoolExecutor | |
| # Function to generate bucket name variations | |
| def generate_bucket_names(keyword, fuzz_words): | |
| variations = [] | |
| for fuzz_word in fuzz_words: | |
| variations.append(f"{keyword}{fuzz_word}") |
OlderNewer