tristanlatr / burpa

Burp Automator - A Burp Suite Automation Tool. It provides a high level CLI and Python interfaces to Burp Suite scanner and can be used to setup Dynamic Application Security Testing (DAST).
GNU General Public License v3.0
190 stars 37 forks source link

How to install burpa in Windows machine #15

Closed ganesh2183 closed 2 years ago

ganesh2183 commented 2 years ago

Hi,

How to install burpa in Windows OS machine.

Python & Pip version supported ?

tristanlatr commented 2 years ago

No idea! Just try it out the usual way and see if it works :)

ganesh2183 commented 2 years ago

Hi @tristanlatr

When i try to run 'burpa' command, getting the error (attached screenshot for reference).

16642926838962073618604903271188

ganesh2183 commented 2 years ago

@tristanlatr Please help on this issue to resolve it.

tristanlatr commented 2 years ago

This looks like an issue with python-dotenv.

The root cause is probably linked to the fact that your burpa installation resides in another drive than your current working directory.

You could open a pull request and introduce a new option: --no-dotenv, which would skip the find_dotenv() call in Burpa.__init__, this will solve your issue. But as a side effect, you won’t be able to use .env files to store burpa configurations.

Tell me what you think,

ganesh2183 commented 2 years ago

@tristanlatr i tried installing burpa installation in same current working directory (C:\Program Files). Burpsuite and Python3.9 installed in 'C:\Program Files'

where & how to use --no-dotenv option.

Python version recommended? Any other way to resolve this issue.

tristanlatr commented 2 years ago

--no-dotenv option Does not exist yet. What I’m saying is that you could create that option to work around your problem. Tell me if you think that’s possible.

tristanlatr commented 2 years ago

Please try installing burpa with pip install git+https://github.com/tristanlatr/burpa, it should install the latest version.

ganesh2183 commented 2 years ago

@tristanlatr It worked. Thanks :-)