Skip to content
This repository was archived by the owner on Mar 22, 2024. It is now read-only.
Open
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
2 changes: 1 addition & 1 deletion .code-intelligence/fuzz_targets/AllController.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public static void fuzzerInitialize(String[] fuzzerArgs) {
System.getProperties().put("logging.level.org.springframework.web", "error");
String[] springBootArgs = {};
try {
Application.main(springBootArgs);
StartWebGoat.main(springBootArgs);
} catch (Exception e) {
e.printStackTrace();
throw new RuntimeException("Failed to start application.");
Expand Down
72 changes: 72 additions & 0 deletions .code-intelligence/fuzz_targets/FuzzTarget_AllController.java.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"name": "AllController-ae4f0ca2",
"displayName": "FuzzAllEndPoints",
"javaWebApp": {
"webApplication": {
"applicationName": "Application",
"package": "org.dpppt.backend.sdk.ws",
"artifact": "dpppt-backend-sdk/dpppt-backend-sdk-ws/target/dpppt-backend-sdk-ws.jar",
"controllers": [
"/v1",
"/v1/buckets/{dayDateStr}",
"/v1/exposed",
"/v1/exposed/{batchReleaseTime}",
"/v1/exposedjson/{batchReleaseTime}",
"/v1/exposedlist",
"/v1/gaen/buckets/{dayDateStr}",
"/v1/gaen/exposed",
"/v1/gaen/exposed/{keyDate}",
"/v1/gaen/exposedjson/{keyDate}",
"/v1/gaen/exposednextday"
],
"spiderOptions": {

},
"detectedFrameworks": [
"SPRING_BOOT",
"SPRING"
]
},
"exceptionPolicy": {
"policy": [
{
"enabled": true,
"responsePolicy": {
"responseMatcher": "CODE_STARTS_WITH",
"code": 2
}
},
{
"enabled": true,
"responsePolicy": {
"responseMatcher": "CODE_STARTS_WITH",
"code": 4
}
},
{
"enabled": true,
"responsePolicy": {
"code": 302
}
},
{
"enabled": true,
"exceptionPolicy": {
"Exception": "java.lang.IllegalArgumentException",
"exceptionStrategy": "STACKTRACE_CONTAINS",
"content": "org.springframework.web.util.UriComponentsBuilder"
}
}
]
},
"jars": [
"dpppt-backend-sdk/dpppt-backend-sdk-ws/target/dpppt-backend-sdk-ws.jar"
],
"instrumentationFilters": [
"org.dpppt.backend.sdk.ws"
],
"api": {
"relativePath": ".code-intelligence/fuzz_targets/FuzzTarget_AllController.java"
}
}
}