-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Rewrite using Montoya API (#88) Co-authored-by: cyrill <[email protected]> * srv -> src * srv -> src. project structure * cleaning up about tab * formatting, minor changes * improve header detection * fix: jwts in cookies that contain a = (valid b64) now parsed correctly * remove debug * prevent resign key field to break on small window sizes * Update README.md --------- Co-authored-by: cyrill <[email protected]> Co-authored-by: Oussama Zgheb <[email protected]>
- Loading branch information
1 parent
7d4a10b
commit eb3442d
Showing
325 changed files
with
21,944 additions
and
5,220 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,43 @@ | ||
|
||
.metadata | ||
bin/ | ||
tmp/ | ||
*.tmp | ||
*.bak | ||
*.swp | ||
*~.nib | ||
local.properties | ||
.settings/ | ||
.loadpath | ||
.recommenders | ||
|
||
# IDEA | ||
.idea | ||
|
||
|
||
# Eclipse Core | ||
.project | ||
|
||
# External tool builders | ||
.externalToolBuilders/ | ||
|
||
# Locally stored "Eclipse launch configurations" | ||
*.launch | ||
|
||
# PyDev specific (Python IDE for Eclipse) | ||
*.pydevproject | ||
|
||
# CDT-specific (C/C++ Development Tooling) | ||
.cproject | ||
|
||
# JDT-specific (Eclipse Java Development Tools) | ||
.gradle | ||
build/ | ||
!gradle/wrapper/gradle-wrapper.jar | ||
!**/src/main/**/build/ | ||
!**/src/test/**/build/ | ||
|
||
### IntelliJ IDEA ### | ||
.idea/modules.xml | ||
.idea/jarRepositories.xml | ||
.idea/compiler.xml | ||
.idea/libraries/ | ||
*.iws | ||
*.iml | ||
*.ipr | ||
out/ | ||
!**/src/main/**/out/ | ||
!**/src/test/**/out/ | ||
|
||
### Eclipse ### | ||
.apt_generated | ||
.classpath | ||
|
||
# Java annotation processor (APT) | ||
.factorypath | ||
|
||
# PDT-specific (PHP Development Tools) | ||
.buildpath | ||
|
||
# sbteclipse plugin | ||
.target | ||
|
||
# Tern plugin | ||
.tern-project | ||
|
||
# TeXlipse plugin | ||
.texlipse | ||
|
||
# STS (Spring Tool Suite) | ||
.project | ||
.settings | ||
.springBeans | ||
|
||
# Code Recommenders | ||
.recommenders/ | ||
|
||
|
||
# maven build directory | ||
target/ | ||
|
||
# lib directory (containing the burp jar) | ||
lib/ | ||
|
||
# ignore debug output | ||
*log | ||
.sts4-cache | ||
bin/ | ||
!**/src/main/**/bin/ | ||
!**/src/test/**/bin/ | ||
|
||
### NetBeans ### | ||
/nbproject/private/ | ||
/nbbuild/ | ||
/dist/ | ||
/nbdist/ | ||
/.nb-gradle/ | ||
|
||
### VS Code ### | ||
.vscode/ | ||
|
||
### Mac OS ### | ||
.DS_Store | ||
/target/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
plugins { | ||
id 'java' | ||
id 'eclipse' | ||
} | ||
|
||
group = 'org.example' | ||
version = '1.0-SNAPSHOT' | ||
|
||
repositories { | ||
maven { url "https://artifact.swissre.com/artifactory/internal" } | ||
maven { url "https://artifact.swissre.com/artifactory/external" } | ||
maven { url "https://artifact.swissre.com/artifactory/thirdparty" } | ||
|
||
//mavenCentral() | ||
} | ||
|
||
dependencies { | ||
compileOnly "net.portswigger.burp.extensions:montoya-api:${extender_version}" | ||
compileOnly 'org.projectlombok:lombok:1.18.32' | ||
annotationProcessor 'org.projectlombok:lombok:1.18.32' | ||
|
||
|
||
implementation ( | ||
'com.auth0:java-jwt:3.11.0', | ||
'commons-codec:commons-codec:1.15', | ||
'com.fifesoft:rsyntaxtextarea:3.1.1', | ||
'commons-lang:commons-lang:2.6', | ||
'com.fasterxml.jackson.core:jackson-databind:2.12.7.1', | ||
'com.eclipsesource.minimal-json:minimal-json:0.9.4', | ||
) | ||
|
||
testImplementation( | ||
"net.portswigger.burp.extensions:montoya-api:${extender_version}", | ||
"org.junit.jupiter:junit-jupiter-engine:${junit_version}", | ||
"org.junit.jupiter:junit-jupiter-params:${junit_version}", | ||
'org.assertj:assertj-core:3.22.0', | ||
'org.mockito:mockito-core:5.8.0', | ||
'org.apache.commons:commons-text:1.10.0' | ||
) | ||
} | ||
|
||
test { | ||
useJUnitPlatform() | ||
} | ||
|
||
jar { | ||
manifest { | ||
attributes 'implementation-version': "${version}" | ||
} | ||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE | ||
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
extender_version = 2023.12.1 | ||
junit_version = 5.11.0-M2 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#Sat May 25 16:59:06 CEST 2024 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Oops, something went wrong.