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

Better Fix #50 and #46 #63

Merged
merged 5 commits into from
Oct 24, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ or
```
gradlew bootRun -Dheadless.mode=false
```

or with the `bootRun` command using the `-PappArgs` to pass args directly to burp suite :
```
gradlew bootRun -PappArgs="['-Djava.awt.headless=false','--project-file=./test.burp']"
```
With the executable JAR:
```
java -jar burp-rest-api-1.0.2.jar -Djava.awt.headless=false
Expand Down
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ task createschemaTargetDir () {

bootRun {
// support passing -Dsystem.property=value to bootRun task
//support passing -PappArgs="['arg1']" ex : gradlew bootRun -PappArgs="['--project-file=/test/tes.burp']"
if (project.hasProperty("appArgs")) {
args Eval.me(appArgs)
}
systemProperties = System.properties

if (System.getProperty('DEBUG', 'false') == 'true') {
Expand Down