Created
November 30, 2017 09:24
-
-
Save pajswigger/752a5a29eec9c5ad0599a995c67ce51a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
from burp import IBurpExtender | |
from java.io import File | |
class BurpExtender(IBurpExtender): | |
def registerExtenderCallbacks(self, callbacks): | |
args = callbacks.getCommandLineArguments() | |
if '--report' not in args: | |
return | |
output = File(args[args.index('--report') + 1]) | |
issues = callbacks.getScanIssues('') | |
callbacks.generateScanReport('XML', issues, output) | |
callbacks.exitSuite(False) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment