Skip to content

Commit

Permalink
Merge pull request #171 from nccgroup/v3
Browse files Browse the repository at this point in the history
Delete deprecated logging appender
  • Loading branch information
CoreyD97 authored Jan 24, 2023
2 parents 92530b5 + cf30670 commit bf7fc26
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 91 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
uses: actions/setup-java@v2
with:
distribution: adopt
java-version: '15'
java-version: '17'

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dependencies {
implementation 'org.apache.commons:commons-text:1.10.0'
implementation 'org.apache.logging.log4j:log4j-core:2.19.0'

testCompileOnly files("${System.properties['user.home']}/BurpSuitePro/burpsuite_pro.jar")
testRuntimeOnly files("${System.properties['user.home']}/BurpSuitePro/burpsuite_pro.jar")
}

jar {
Expand Down

This file was deleted.

9 changes: 8 additions & 1 deletion src/test/java/Test.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
import java.lang.reflect.Method;

public class Test {
public static void main(String[] args) {
burp.StartBurp.main(args);
try {
Method main = Class.forName("burp.StartBurp").getMethod("main", String[].class);
main.invoke(null, (Object) args);
}catch (Exception e){
System.err.println("Cannot start burp. Check the burp jar is correctly included in the classpath.");
}
}
}

0 comments on commit bf7fc26

Please sign in to comment.