Skip to content

Commit

Permalink
added response code
Browse files Browse the repository at this point in the history
  • Loading branch information
initstring committed Aug 25, 2020
1 parent 565d9a7 commit ed58a08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enum_tools/gcp_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def print_functions_response2(reply):
"""
if reply.status_code == 302:
pass
elif reply.status_code == 403:
elif reply.status_code == 403 or reply.status_code == 401:
utils.printc(" AUTH REQUIRED Cloud Function: {}\n"
.format(reply.url), 'red')
elif reply.status_code == 405:
Expand Down

0 comments on commit ed58a08

Please sign in to comment.