intrigueio / intrigue-core

Discover Your Attack Surface!
https://core.intrigue.io
Other
1.35k stars 262 forks source link

Update AWS S3 Bucket Path Style Regex #374

Closed m-q-t closed 3 years ago

m-q-t commented 3 years ago

Hi team,

Please find in this pull request updates to the AWS S3 Bucket Path Style Regex.

Along with fixing the annoying warning message that Ruby would spit out upon starting Core, this also fixes a small bug in where if the bucket name didn't contain a key it wouldn't be extracted.

However the new regex works well and here are a few tests which confirm this: https://rubular.com/r/z6UGvLaqAQKVIu

Best regards, Maxim