Skip to content

Issue running python AzuriteVisualizer.py  #7

Description

@bsc-lcuevas

Running the Visualizer against the vm JSON I get:
[*] Parsing data...
Traceback (most recent call last):
File "AzuriteVisualizer.py", line 483, in
main()
File "AzuriteVisualizer.py", line 480, in main
parseJson()
File "AzuriteVisualizer.py", line 43, in parseJson
for vnet in data['subscriptionVNETs']:
TypeError: list indices must be integers, not str

Running against the subscription JSON I get:

Version: 0.6 Beta
Author: Apostolos Mastoris (@Lgrec0)
Email: apostolis.mastoris[at]mwrinfosecurity.com

[*] Parsing data...
Traceback (most recent call last):
File "AzuriteVisualizer.py", line 483, in
main()
File "AzuriteVisualizer.py", line 480, in main
parseJson()
File "AzuriteVisualizer.py", line 55, in parseJson
vnetNode['label'] = data['subscriptionVNETs']['vnetName']
TypeError: list indices must be integers, not str

I am on Windows 10 running from cmd.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions