jordanpotti / CloudScraper

CloudScraper: Tool to enumerate targets in search of cloud resources. S3 Buckets, Azure Blobs, Digital Ocean Storage Space.
MIT License
501 stars 108 forks source link

just a me thing #11

Open TotallyNotAHaxxer opened 2 years ago

TotallyNotAHaxxer commented 2 years ago

this is just a personal thing but i always feel declaring public variables and types should always be at the very top


headers = {
    'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36'
}
arguments = args()

# If we passed --no-verify then we likely don't care about insecure request warnings.
if arguments.no_verify:
    urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)

this was at the very bottom- it might be suggested to keep it at the top ( unless you cant ), since its just good for organization.