initstring / cloud_enum

Multi-cloud OSINT tool. Enumerate public resources in AWS, Azure, and Google Cloud.
MIT License
1.54k stars 224 forks source link

GCP length check #63

Closed 0x646e78 closed 8 months ago

0x646e78 commented 8 months ago

Addresses issue #61

This probably could do with a helper in utils.py, but this was my 'get it working' approach, not being overly familiar with the codebase.

Checking the URL before mutation doesn't solve the issue as the length blows out once the region, func_url added.

Other providers were fine, the only one I had fail (using default mutations) was this.

initstring commented 8 months ago

Oh shoot - I forgot that some functions (like this one) might actually append to the mutated name. I need to catch this somewhere earlier.

OK, thanks for this. I don't think catching it here in the gcp file is the best place to do it, so I am going to close this PR and look into hooking the utility functions instead...