Skip to content

Commit

Permalink
inql.burp_ext.generator_tab: flush stdout eagerly
Browse files Browse the repository at this point in the history
print HTTP/2 is disabled as soon as possible.
  • Loading branch information
thypon committed Jun 30, 2021
1 parent a46d4ef commit 2ae424f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions inql/burp_ext/generator_tab.py
Expand Up @@ -7,6 +7,7 @@
exit(-1)

import json
import sys

from burp import ITab

Expand Down Expand Up @@ -101,6 +102,9 @@ def disable_http2(self):
self._callbacks.loadConfigFromJson(json.dumps(j))
except Exception as ex:
print("Cannot disable HTTP/2! %s" % ex)
finally:
sys.stdout.flush()
sys.stderr.flush()

def bring_in_front(self):
self.panel.this.setAlwaysOnTop(True)
Expand Down

0 comments on commit 2ae424f

Please sign in to comment.