Burp Suite User Forum

SSL Scanner

Binuraj | Last updated: Aug 09, 2018 08:02PM UTC

Hi, I get this error while installing the burp extension for SSL scanner. Any help to resolve this? Jython version used is 2.7.0 Traceback (most recent call last): File "<Home>\AppData\Roaming\BurpSuite\bapps\474b3c575a1a4584aa44dfefc70f269d\burp-ssl-scanner.py", line 145, in registerExtenderCallbacks scanAccuracy = projectConfig['scanner']['active_scanning_optimization']['scan_accuracy'] KeyError: 'scanner' at org.python.core.Py.KeyError(Py.java:249) at org.python.core.PyObject.__getitem__(PyObject.java:738) at org.python.pycode._pyx4.registerExtenderCallbacks$2(<Home>\AppData\Roaming\BurpSuite\bapps\474b3c575a1a4584aa44dfefc70f269d\burp-ssl-scanner.py:152) at org.python.pycode._pyx4.call_function(<Home>\AppData\Roaming\BurpSuite\bapps\474b3c575a1a4584aa44dfefc70f269d\burp-ssl-scanner.py) at org.python.core.PyTableCode.call(PyTableCode.java:167) at org.python.core.PyBaseCode.call(PyBaseCode.java:307) at org.python.core.PyBaseCode.call(PyBaseCode.java:198) at org.python.core.PyFunction.__call__(PyFunction.java:482) at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:237) at org.python.core.PyMethod.__call__(PyMethod.java:228) at org.python.core.PyMethod.__call__(PyMethod.java:218) at org.python.core.PyMethod.__call__(PyMethod.java:213) at org.python.core.PyObject._jcallexc(PyObject.java:3626) at org.python.core.PyObject._jcall(PyObject.java:3658) at org.python.proxies.__main__$BurpExtender$5.registerExtenderCallbacks(Unknown Source) at burp.snd.run(Unknown Source) at java.lang.Thread.run(Thread.java:745) Regards

PortSwigger Agent | Last updated: Aug 15, 2018 03:21PM UTC

I have just pushed an update which resolves this issue. Please update SSL Scanner and try again.

Simon | Last updated: Apr 28, 2020 07:06AM UTC

Hi there Two years later I got the same error again when startin a scan. Installation and load of the SSL Scanner Extension has worked. Any idea? Jython 2.7.1 is in use. Traceback (most recent call last): File "C:\....\bapps\474b3c575a1a4584aa44dfefc70f269d\burp-ssl-scanner.py", line 145, in registerExtenderCallbacks scanAccuracy = projectConfig['scanner']['active_scanning_optimization']['scan_accuracy'] KeyError: 'scanner' at org.python.core.Py.KeyError(Py.java:226) at org.python.core.PyObject.__getitem__(PyObject.java:719) at org.python.pycode._pyx4.registerExtenderCallbacks$2(C:/.../AppData/Roaming/BurpSuite/bapps/474b3c575a1a4584aa44dfefc70f269d/burp-ssl-scanner.py:152) at org.python.pycode._pyx4.call_function(C:/.../AppData/Roaming/BurpSuite/bapps/474b3c575a1a4584aa44dfefc70f269d/burp-ssl-scanner.py) at org.python.core.PyTableCode.call(PyTableCode.java:173) at org.python.core.PyBaseCode.call(PyBaseCode.java:306) at org.python.core.PyBaseCode.call(PyBaseCode.java:197) at org.python.core.PyFunction.__call__(PyFunction.java:485) at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:237) at org.python.core.PyMethod.__call__(PyMethod.java:228) at org.python.core.PyMethod.__call__(PyMethod.java:218) at org.python.core.PyMethod.__call__(PyMethod.java:213) at org.python.core.PyObject._jcallexc(PyObject.java:3565) at org.python.core.PyObject._jcall(PyObject.java:3598) at org.python.proxies.__main__$BurpExtender$5.registerExtenderCallbacks(Unknown Source) at burp.apy.run(Unknown Source) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:830) Regards

Uthman, PortSwigger Agent | Last updated: Apr 28, 2020 08:54AM UTC

The issue has been reported to the author of the extension here: https://github.com/PalmPTSJ/burp-ssl-scanner/issues/2. I have found a fix: 1. Clone this repo: https://github.com/PortSwigger/ssl-scanner.git 2. Open burp-ssl-scanner.py 3. Remove the following lines (144-148): projectConfig = json.loads(self._callbacks.saveConfigAsJson()) scanAccuracy = projectConfig['scanner']['active_scanning_optimization']['scan_accuracy'] scanSpeed = projectConfig['scanner']['active_scanning_optimization']['scan_speed'] print(scanAccuracy, scanSpeed) 4. Load the burp-ssl-scanner.py into Burp (Extender > Extensions > Add)

You need to Log in to post a reply. Or register here, for free.