Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnboundLocalError: local variable 'j_res' referenced before assignment #43

Open
vhusker opened this issue Aug 8, 2019 · 0 comments
Open

Comments

@vhusker
Copy link

vhusker commented Aug 8, 2019

When running an Azure Audit I receive the following error:

6.1: Checking if any network group allows public access to RDP

Traceback (most recent call last):
File "cs.py", line 89, in
main()
File "cs.py", line 83, in main
azureaudit.azure_audit()
File "/home/jbenson/cs-suite/modules/azureaudit.py", line 1885, in azure_audit
rdp_public()
File "/home/jbenson/cs-suite/modules/azureaudit.py", line 1074, in rdp_public
j_res['value'] = "The network group %s does not allow public RDP access" % network_group
UnboundLocalError: local variable 'j_res' referenced before assignment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant