Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed bug that will have disabled HTTP/2 on burp editon before August #85

Merged
merged 1 commit into from
Mar 8, 2023
Merged
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
3 changes: 2 additions & 1 deletion inql/burp_ext/attacker_tab.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ def getUiComponent(self):
def disable_http2_ifbogus(self):
try:
_, major, minor = self._callbacks.getBurpVersion()
if not (int(major) >= 2021 and float(minor) >= 8):

if int(major) < 2021 or (int(major) == 2021 and float(minor)<= 8):
print("Jython does not support HTTP/2 on Burp <= 2021.8: disabling it!")
j = json.loads(self._callbacks.saveConfigAsJson())
j['project_options']['http']['http2']['enable_http2'] = False
Expand Down
2 changes: 1 addition & 1 deletion inql/burp_ext/generator_tab.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def getUiComponent(self):
def disable_http2_ifbogus(self):
try:
_, major, minor = self._callbacks.getBurpVersion()
if not (int(major) >= 2021 and float(minor) >= 8):
if int(major) < 2021 or (int(major) == 2021 and float(minor)<= 8):
print("Jython does not support HTTP/2 on Burp <= 2021.8: disabling it!")
j = json.loads(self._callbacks.saveConfigAsJson())
j['project_options']['http']['http2']['enable_http2'] = False
Expand Down