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

Can't start Burp-rest-api with own project-file #46

Closed
lestatk0 opened this issue Jun 20, 2018 · 3 comments
Closed

Can't start Burp-rest-api with own project-file #46

lestatk0 opened this issue Jun 20, 2018 · 3 comments

Comments

@lestatk0
Copy link

lestatk0 commented Jun 20, 2018

i tried to start gradlew bootRun -Dproject-file=/opt/project-fil.burp
but I got
Launching the Burp with options: [--project-file=/tmp/temp-project-dir-876864466082593177/temp-project.burp, --config-file=/tmp/project-options1095584310114412893.json, --user-config-file=/tmp/user-options6426525993457471961.json]
Why BURP started with temp project-file?

@lestatk0 lestatk0 changed the title Starting with --project-file Can't start Burp-rest-api with own project-file Jun 20, 2018
@oucema001
Copy link

I have this issue as well. Have you been able to correct it?

@adracea
Copy link
Contributor

adracea commented Aug 31, 2018

This issue is to do with the fix applied here : #52
Changing

if (!burpEdition.equalsIgnoreCase("free") && !args.containsOption(PROJECT_FILE))

in BurpService.java is going to enable you to use a project file if you have burp suite pro but is going to make it not work with burp free , this is just the easy cheap fix if you only use it with burp pro :)

adracea added a commit to adracea/burp-rest-api that referenced this issue Aug 31, 2018
Changing the project file loading to be done only if the burp suite is pro edition AND the project file is mentioned , using positive assertions instead of negatives .
@adracea
Copy link
Contributor

adracea commented Aug 31, 2018

@oucema001 @lestatk0 With the addition of #63 , you can run the following :

gradlew bootRun -PappArgs="['--project-file=/opt/project-fil.burp']"

The burp-rest-api literally expects a "--project-file" argv but the gradlew bootRun -Dproject-file sends it in a different way (haven't checked how but most likely just like...-Dproject-file which makes the rest api uncomfortable using it) .
Enjoy!

ikkisoft added a commit that referenced this issue Oct 24, 2018
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

3 participants