From a68ca1388d76b8585e8a1dd57da777c4dfc2da50 Mon Sep 17 00:00:00 2001 From: initstring <26131150+initstring@users.noreply.github.com> Date: Mon, 2 Sep 2019 11:28:13 +1000 Subject: [PATCH] azure response code addition --- enum_tools/azure_checks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/enum_tools/azure_checks.py b/enum_tools/azure_checks.py index d8e93ab..02fe284 100644 --- a/enum_tools/azure_checks.py +++ b/enum_tools/azure_checks.py @@ -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'