-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from PortSwigger/http_two_downgrade
HTTP/2 downgrade feature
- Loading branch information
Showing
19 changed files
with
270 additions
and
21 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 |
---|---|---|
|
@@ -38,5 +38,8 @@ bin/ | |
### VS Code ### | ||
.vscode/ | ||
|
||
### IntelliJ IDEA | ||
.idea/ | ||
|
||
### Mac OS ### | ||
.DS_Store |
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
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
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
19 changes: 19 additions & 0 deletions
19
src/main/java/net/portswigger/burp/extensions/beens/HTTP.java
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,19 @@ | ||
package net.portswigger.burp.extensions.beens; | ||
|
||
import com.google.gson.annotations.Expose; | ||
|
||
public class HTTP { | ||
private @Expose HTTP2 http2; | ||
|
||
public HTTP(HTTP2 http2) { | ||
this.http2 = http2; | ||
} | ||
|
||
public HTTP2 getHttp2() { | ||
return http2; | ||
} | ||
|
||
public void setHttp2(HTTP2 http2) { | ||
this.http2 = http2; | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
src/main/java/net/portswigger/burp/extensions/beens/HTTP2.java
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,19 @@ | ||
package net.portswigger.burp.extensions.beens; | ||
|
||
import com.google.gson.annotations.Expose; | ||
|
||
public class HTTP2 { | ||
private @Expose boolean enable_http2; | ||
|
||
public HTTP2(boolean enable_http2) { | ||
this.enable_http2 = enable_http2; | ||
} | ||
|
||
public boolean getEnableHTTP2() { | ||
return enable_http2; | ||
} | ||
|
||
public void setEnableHTTP2(boolean enable_http2) { | ||
this.enable_http2 = enable_http2; | ||
} | ||
} |
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
Oops, something went wrong.