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

Indentation is incorrect in CMDI.py causing errors when loading into ZAP #46

Open
szlwzl opened this issue Apr 9, 2018 · 1 comment

Comments

@szlwzl
Copy link

szlwzl commented Apr 9, 2018

CMDI.py uses a combination of spaces and tabs which is causing an error when enabling.

szlwzl added a commit to szlwzl/HUNT that referenced this issue Apr 9, 2018
cclauss pushed a commit to cclauss/HUNT that referenced this issue Apr 15, 2018
The issues behind bugcrowd#46, bugcrowd#47, and bugcrowd#48 could all be found via automated testing using [flake8](http://flake8.pycqa.org).  The Travis CI is free for all open source projects like this one and to turn it on, visit https://travis-ci.org/profile/bugcrowd  This config file will have Travis CI run flake8 tests on all pull requests before they are reviewed.

$ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
```
./Burp/lib/issues.py:97:9: F821 undefined name 'Thread'
        Thread.sleep(1000)
        ^
./Burp/lib/link_listener.py:6:23: F821 undefined name 'Desktop'
            desktop = Desktop.getDesktop()
                      ^
./ZAP/scripts/passive/CMDi.py:22:56: E999 IndentationError: unindent does not match any outer indentation level
        uri = msg.getRequestHeader().getURI().toString()
                                                       ^
1     E999 IndentationError: unindent does not match any outer indentation level
2     F821 undefined name 'Thread'
3
```
@greg5678
Copy link

Did this issue with CMDi.py ever get fixed?

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

No branches or pull requests

2 participants