Skip to content

Commit

Permalink
added s3 bad req check for short domain names
Browse files Browse the repository at this point in the history
  • Loading branch information
initstring committed Sep 2, 2019
1 parent a68ca13 commit b3959d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions enum_tools/aws_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ def print_s3_response(reply):
"""
if reply.status_code == 404:
pass
elif 'Bad Request' in reply.reason:
pass
elif reply.status_code == 200:
utils.printc(" OPEN S3 BUCKET: {}\n"
.format(reply.url), 'green')
Expand Down

0 comments on commit b3959d2

Please sign in to comment.