Skip to content

Commit a68ca13

Browse files
committed
azure response code addition
1 parent 67f16a3 commit a68ca13

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

enum_tools/azure_checks.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ def print_container_response(reply):
100100
return 'breakout'
101101

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

0 commit comments

Comments
 (0)