Skip to content

Commit

Permalink
azure response code addition
Browse files Browse the repository at this point in the history
  • Loading branch information
initstring committed Sep 2, 2019
1 parent 67f16a3 commit a68ca13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion enum_tools/azure_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ def print_container_response(reply):
return 'breakout'

# Stop brute forcing accounts without permission
if 'not authorized to perform this operation' in reply.reason:
if ('not authorized to perform this operation' in reply.reason or
'not have sufficient permissions' in reply.reason):
print(" [!] Breaking out early, auth errors.")
return 'breakout'

Expand Down

0 comments on commit a68ca13

Please sign in to comment.