Skip to content
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: 2 additions & 0 deletions .idea/artifacts/YesWeBurp_jar.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

This file was deleted.

This file was deleted.

13 changes: 0 additions & 13 deletions .idea/libraries/Maven__org_jetbrains_annotations_13_0.xml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 1 addition & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 20 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<modelVersion>4.0.0</modelVersion>

<groupId>com.yeswehack</groupId>
<artifactId>yes-we-burp</artifactId>
<artifactId>YesWeBurp</artifactId>
<version>2.0.0</version>

<properties>
<maven.compiler.source>15</maven.compiler.source>
<maven.compiler.target>15</maven.compiler.target>
<kotlin.version>1.5.0-M1</kotlin.version>
<kotlin.version>1.8.22</kotlin.version>
</properties>

<dependencies>
Expand All @@ -29,7 +29,24 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.9.3</version>
<version>2.15.2</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-kotlin</artifactId>
<version>2.15.2</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-coroutines-core</artifactId>
<version>1.4.3</version>
</dependency>
<dependency>
<groupId>net.portswigger.burp.extender</groupId>
<artifactId>burp-extender-api</artifactId>
<version>2.1</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/burp-extender-api-2.1.jar</systemPath>
</dependency>
</dependencies>

Expand Down
7 changes: 5 additions & 2 deletions src/main/kotlin/burp/BurpExtender.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@

package burp


import burp.IBurpExtender
import burp.IBurpExtenderCallbacks
import yesweburp.YesWeBurp

public class BurpExtender : YesWeBurp(), IBurpExtender {
// Explicitly implements IBurpExtender for Burp's class loader
}

class BurpExtender : YesWeBurp()
4 changes: 2 additions & 2 deletions src/main/kotlin/yesweburp/api/Models.kt
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ data class Program(
val scopes: List<Scope>,
val out_of_scope: List<String>,
val public: Boolean,
val qualifying_vulnerability: List<String>,
val non_qualifying_vulnerability: List<String>,
val qualifying_vulnerability: List<String> = emptyList(),
val non_qualifying_vulnerability: List<String> = emptyList(),
val business_unit: BusinessUnit,
val vpn_active: Boolean,
val user_agent: String? = null,
Expand Down
3 changes: 3 additions & 0 deletions src/main/kotlin/yesweburp/ui/options/APIPanel.kt
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ class APIPanel : GridBagPanel() {
GlobalScope.launch {
try {
when (authMethod) {
AuthMethod.ANONYMOUS -> {
// No authentication needed for anonymous access
}
AuthMethod.EMAIL_PASSWORD -> API.auth(authEmail, authPassword)
AuthMethod.EMAIL_PASSWORD_OTP -> API.auth(authEmail, authPassword, authOTP)
}
Expand Down