Burp Suite User Forum

Login to post

Burp Python Extensions

Ace | Last updated: Dec 08, 2020 02:55AM UTC

Hi, Some of my python extensions are not working on my windows but it's working on my Linux VM. Upload Scanner === ``` at org.python.core.PyReflectedConstructor.__call__(PyReflectedConstructor.java:182) at org.python.core.PyObject.__call__(PyObject.java:422) 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:223) at org.python.core.Deriveds.dispatch__init__(Deriveds.java:20) at org.python.core.PyObjectDerived.dispatch__init__(PyObjectDerived.java:1112) at org.python.core.PyType.type___call__(PyType.java:2408) at org.python.core.PyType.__call__(PyType.java:2389) at org.python.core.PyObject.__call__(PyObject.java:477) at org.python.core.PyObject.__call__(PyObject.java:481) at _socket$py.f$0(C:/Users/Spade/Documents/jython-standalone-2.7.2.jar/Lib/_socket.py:1983) at _socket$py.call_function(C:/Users/Spade/Documents/jython-standalone-2.7.2.jar/Lib/_socket.py) at org.python.core.PyTableCode.call(PyTableCode.java:173) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.imp.createFromCode(imp.java:630) at org.python.core.util.importer.importer_load_module(importer.java:120) at org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipimporter.java:175) at org.python.modules.zipimport.zipimporter$zipimporter_load_module_exposer.__call__(Unknown Source) at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:48) at org.python.core.imp.loadFromLoader(imp.java:819) at org.python.core.imp.find_module(imp.java:763) at org.python.core.imp.import_next(imp.java:1158) at org.python.core.imp.import_module_level(imp.java:1350) at org.python.core.imp.importName(imp.java:1528) at org.python.core.ImportFunction.__call__(__builtin__.java:1285) at org.python.core.PyObject.__call__(PyObject.java:433) at org.python.core.__builtin__.__import__(__builtin__.java:1232) at org.python.core.imp.importFromAs(imp.java:1620) at org.python.core.imp.importFrom(imp.java:1595) at socket$py.f$0(C:/Users/Spade/Documents/jython-standalone-2.7.2.jar/Lib/socket.py:132) at socket$py.call_function(C:/Users/Spade/Documents/jython-standalone-2.7.2.jar/Lib/socket.py) at org.python.core.PyTableCode.call(PyTableCode.java:173) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.imp.createFromCode(imp.java:630) at org.python.core.util.importer.importer_load_module(importer.java:120) at org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipimporter.java:175) at org.python.modules.zipimport.zipimporter$zipimporter_load_module_exposer.__call__(Unknown Source) at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:48) at org.python.core.imp.loadFromLoader(imp.java:819) at org.python.core.imp.find_module(imp.java:763) at org.python.core.imp.import_next(imp.java:1158) at org.python.core.imp.import_module_level(imp.java:1350) at org.python.core.imp.importName(imp.java:1528) at org.python.core.ImportFunction.__call__(__builtin__.java:1285) at org.python.core.PyObject.__call__(PyObject.java:433) at org.python.core.__builtin__.__import__(__builtin__.java:1232) at org.python.core.imp.importOne(imp.java:1547) at urllib$py.f$0(C:/Users/Spade/Documents/jython-standalone-2.7.2.jar/Lib/urllib.py:1670) at urllib$py.call_function(C:/Users/Spade/Documents/jython-standalone-2.7.2.jar/Lib/urllib.py) at org.python.core.PyTableCode.call(PyTableCode.java:173) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.imp.createFromCode(imp.java:630) at org.python.core.util.importer.importer_load_module(importer.java:120) at org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipimporter.java:175) at org.python.modules.zipimport.zipimporter$zipimporter_load_module_exposer.__call__(Unknown Source) at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:48) at org.python.core.imp.loadFromLoader(imp.java:819) at org.python.core.imp.find_module(imp.java:763) at org.python.core.imp.import_next(imp.java:1158) at org.python.core.imp.import_module_level(imp.java:1350) at org.python.core.imp.importName(imp.java:1528) at org.python.core.ImportFunction.__call__(__builtin__.java:1285) at org.python.core.PyObject.__call__(PyObject.java:433) at org.python.core.__builtin__.__import__(__builtin__.java:1232) at org.python.core.imp.importOne(imp.java:1547) at org.python.pycode._pyx4.f$0(C:/Users/Spade/AppData/Roaming/BurpSuite/bapps/b2244cbb6953442cb3c82fa0a0d908fa/UploadScanner.py:9604) at org.python.pycode._pyx4.call_function(C:/Users/Spade/AppData/Roaming/BurpSuite/bapps/b2244cbb6953442cb3c82fa0a0d908fa/UploadScanner.py) at org.python.core.PyTableCode.call(PyTableCode.java:173) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.Py.runCode(Py.java:1687) at org.python.core.__builtin__.execfile_flags(__builtin__.java:535) at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:287) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at burp.eu3.<init>(Unknown Source) at burp.pe.a(Unknown Source) at burp.cc_.lambda$panelLoaded$0(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:1130) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) at java.base/java.lang.Thread.run(Thread.java:832) Caused by: java.lang.IllegalStateException: failed to create a child event loop at org.python.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:88) at org.python.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:58) at org.python.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:47) at org.python.netty.channel.MultithreadEventLoopGroup.<init>(MultithreadEventLoopGroup.java:59) at org.python.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:86) at org.python.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:81) at org.python.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:68) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481) at org.python.core.PyReflectedConstructor.constructProxy(PyReflectedConstructor.java:213) ... 85 more Caused by: org.python.netty.channel.ChannelException: failed to open a new selector at org.python.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:175) at org.python.netty.channel.nio.NioEventLoop.<init>(NioEventLoop.java:142) at org.python.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:146) at org.python.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:37) at org.python.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:84) ... 97 more Caused by: java.io.IOException: Unable to establish loopback connection at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:94) at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:61) at java.base/java.security.AccessController.doPrivileged(AccessController.java:554) at java.base/sun.nio.ch.PipeImpl.<init>(PipeImpl.java:171) at java.base/sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:50) at java.base/java.nio.channels.Pipe.open(Pipe.java:155) at java.base/sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:142) at java.base/sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:44) at org.python.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:173) ... 101 more Caused by: java.net.BindException: Cannot assign requested address: connect at java.base/sun.nio.ch.Net.connect0(Native Method) at java.base/sun.nio.ch.Net.connect(Net.java:503) at java.base/sun.nio.ch.Net.connect(Net.java:492) at java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:751) at java.base/java.nio.channels.SocketChannel.open(SocketChannel.java:194) at java.base/sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(PipeImpl.java:127) at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:76) ... 109 more ``` === IP Rotate === ``` at org.python.core.__builtin__.__import__(__builtin__.java:1232) at org.python.core.imp.importFromAs(imp.java:1620) at org.python.core.imp.importFrom(imp.java:1595) at socket$py.f$0(C:/Users/Spade/Documents/jython-standalone-2.7.2.jar/Lib/socket.py:132) at socket$py.call_function(C:/Users/Spade/Documents/jython-standalone-2.7.2.jar/Lib/socket.py) at org.python.core.PyTableCode.call(PyTableCode.java:173) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.imp.createFromCode(imp.java:630) at org.python.core.util.importer.importer_load_module(importer.java:120) at org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipimporter.java:175) at org.python.modules.zipimport.zipimporter$zipimporter_load_module_exposer.__call__(Unknown Source) at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:48) at org.python.core.imp.loadFromLoader(imp.java:819) at org.python.core.imp.find_module(imp.java:763) at org.python.core.imp.import_next(imp.java:1158) at org.python.core.imp.import_first(imp.java:1219) at org.python.core.imp.import_module_level(imp.java:1361) at org.python.core.imp.importName(imp.java:1528) at org.python.core.ImportFunction.__call__(__builtin__.java:1285) at org.python.core.PyObject.__call__(PyObject.java:433) at org.python.core.__builtin__.__import__(__builtin__.java:1232) at org.python.core.imp.importOne(imp.java:1547) at botocore.session$py.f$0(C:/Users/Spade/AppData/Roaming/BurpSuite/bapps/2eb2b1cb1cf34cc79cda36f0f9019874/BappModules/botocore/session.py:1013) at botocore.session$py.call_function(C:/Users/Spade/AppData/Roaming/BurpSuite/bapps/2eb2b1cb1cf34cc79cda36f0f9019874/BappModules/botocore/session.py) at org.python.core.PyTableCode.call(PyTableCode.java:173) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.imp.createFromCode(imp.java:630) at org.python.core.imp.createFromPyClass(imp.java:312) at org.python.core.imp.createFromPyClass(imp.java:255) at org.python.core.imp.loadFromSource(imp.java:929) at org.python.core.imp.find_module(imp.java:769) at org.python.core.PyModule.findSubModule(PyModule.java:140) at org.python.core.PyModule.impAttr(PyModule.java:107) at org.python.core.imp.import_next(imp.java:1161) at org.python.core.imp.import_logic(imp.java:1278) at org.python.core.imp.import_module_level(imp.java:1369) at org.python.core.imp.importName(imp.java:1528) at org.python.core.ImportFunction.__call__(__builtin__.java:1285) at org.python.core.PyObject.__call__(PyObject.java:433) at org.python.core.__builtin__.__import__(__builtin__.java:1232) at org.python.core.imp.importOne(imp.java:1547) at boto3.session$py.f$0(C:/Users/Spade/AppData/Roaming/BurpSuite/bapps/2eb2b1cb1cf34cc79cda36f0f9019874/BappModules/boto3/session.py:28) at boto3.session$py.call_function(C:/Users/Spade/AppData/Roaming/BurpSuite/bapps/2eb2b1cb1cf34cc79cda36f0f9019874/BappModules/boto3/session.py) at org.python.core.PyTableCode.call(PyTableCode.java:173) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.imp.createFromCode(imp.java:630) at org.python.core.imp.createFromPyClass(imp.java:312) at org.python.core.imp.createFromPyClass(imp.java:255) at org.python.core.imp.loadFromSource(imp.java:929) at org.python.core.imp.find_module(imp.java:769) at org.python.core.PyModule.findSubModule(PyModule.java:140) at org.python.core.PyModule.impAttr(PyModule.java:107) at org.python.core.imp.import_next(imp.java:1161) at org.python.core.imp.import_logic(imp.java:1278) at org.python.core.imp.import_module_level(imp.java:1369) at org.python.core.imp.importName(imp.java:1528) at org.python.core.ImportFunction.__call__(__builtin__.java:1285) at org.python.core.PyObject.__call__(PyObject.java:433) at org.python.core.__builtin__.__import__(__builtin__.java:1232) at org.python.core.imp.importFromAs(imp.java:1620) at org.python.core.imp.importFrom(imp.java:1595) at boto3$py.f$0(C:/Users/Spade/AppData/Roaming/BurpSuite/bapps/2eb2b1cb1cf34cc79cda36f0f9019874/BappModules/boto3/__init__.py:110) at boto3$py.call_function(C:/Users/Spade/AppData/Roaming/BurpSuite/bapps/2eb2b1cb1cf34cc79cda36f0f9019874/BappModules/boto3/__init__.py) at org.python.core.PyTableCode.call(PyTableCode.java:173) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.imp.createFromCode(imp.java:630) at org.python.core.imp.createFromPyClass(imp.java:312) at org.python.core.imp.createFromPyClass(imp.java:255) at org.python.core.imp.loadFromSource(imp.java:929) at org.python.core.imp.find_module(imp.java:769) at org.python.core.imp.import_next(imp.java:1158) at org.python.core.imp.import_module_level(imp.java:1350) at org.python.core.imp.importName(imp.java:1528) at org.python.core.ImportFunction.__call__(__builtin__.java:1285) at org.python.core.PyObject.__call__(PyObject.java:433) at org.python.core.__builtin__.__import__(__builtin__.java:1232) at org.python.core.imp.importOne(imp.java:1547) at org.python.pycode._pyx5.f$0(C:/Users/Spade/AppData/Roaming/BurpSuite/bapps/2eb2b1cb1cf34cc79cda36f0f9019874/IPRotate.py:22) at org.python.pycode._pyx5.call_function(C:/Users/Spade/AppData/Roaming/BurpSuite/bapps/2eb2b1cb1cf34cc79cda36f0f9019874/IPRotate.py) at org.python.core.PyTableCode.call(PyTableCode.java:173) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.Py.runCode(Py.java:1687) at org.python.core.__builtin__.execfile_flags(__builtin__.java:535) at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:287) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at burp.eu3.<init>(Unknown Source) at burp.pe.a(Unknown Source) at burp.cc_.lambda$panelLoaded$0(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:1130) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) at java.base/java.lang.Thread.run(Thread.java:832) Caused by: java.lang.IllegalStateException: failed to create a child event loop at org.python.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:88) at org.python.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:58) at org.python.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:47) at org.python.netty.channel.MultithreadEventLoopGroup.<init>(MultithreadEventLoopGroup.java:59) at org.python.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:86) at org.python.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:81) at org.python.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:68) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481) at org.python.core.PyReflectedConstructor.constructProxy(PyReflectedConstructor.java:213) ... 123 more Caused by: org.python.netty.channel.ChannelException: failed to open a new selector at org.python.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:175) at org.python.netty.channel.nio.NioEventLoop.<init>(NioEventLoop.java:142) at org.python.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:146) at org.python.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:37) at org.python.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:84) ... 135 more Caused by: java.io.IOException: Unable to establish loopback connection at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:94) at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:61) at java.base/java.security.AccessController.doPrivileged(AccessController.java:554) at java.base/sun.nio.ch.PipeImpl.<init>(PipeImpl.java:171) at java.base/sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:50) at java.base/java.nio.channels.Pipe.open(Pipe.java:155) at java.base/sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:142) at java.base/sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:44) at org.python.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:173) ... 139 more Caused by: java.net.BindException: Cannot assign requested address: connect at java.base/sun.nio.ch.Net.connect0(Native Method) at java.base/sun.nio.ch.Net.connect(Net.java:503) at java.base/sun.nio.ch.Net.connect(Net.java:492) at java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:751) at java.base/java.nio.channels.SocketChannel.open(SocketChannel.java:194) at java.base/sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(PipeImpl.java:127) at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:76) ... 147 more ``` I'm using the Burp v2020.11.3 with Jython 2.7.2

Uthman, PortSwigger Agent | Last updated: Dec 08, 2020 10:45AM UTC

Can you clarify what you mean by "not working"? Are they failing to load into Burp? How are you installing them? Manually? Or directly from the BApp Store? I have just installed both on a Windows machine running Burp 2020.11.3 without any issues.

Ace | Last updated: Dec 18, 2020 02:06AM UTC

Hi, Directly in BApp Store, they are failing to load into Burp Suite.

Uthman, PortSwigger Agent | Last updated: Dec 18, 2020 09:51AM UTC

Thanks for the feedback. I have just attempted installing Upload Scanner from the BApp Store on a Windows 10 machine and it works without any issues. Can you please send us an email with screenshots and steps to replicate the issue? Alternatively, you can share a screen recording. Please share your diagnostics (Help > Diagnostics) too. You can reach us on support@portswigger.net

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