Burp Suite用户论坛

登录以发布

安装Python/Jython扩展时出错

uttam |最后更新:2021年4月16日10:41 AM UTC

在安装Python扩展程序(例如授权)时,我会遇到此错误。Trackback(最近的最新通话):文件“/home/myhome/.burpsuite/bapps/f9bbac8c4acf4aefa4aefa4d7dc92a991af2f/autorize.py.py”,第9行, in in Hersers.inepers.ine bapps/f9bbac8c4acf4aefa4d7dc92a991af2f/helpers/initiation.py“,第10行,in Gui.export Import Export File”,模块>来自save_restore import import saverestore syntaxError :(“'with'将成为python 2.6”中的保留关键字,))atorg.python.core.parserfacade.fixparseerror(parserfacade.java:92)org.python.core.core.imp.compilesource(imp.java:328)at org.py.python.core.core.core.core.core.imp.create.imp.create.imp.createfom.java(imp.java):343)atorg.python.core.imp.loadfromsource(imp.java:576)org.python.core.imp.find_module(imp.java:473)on org.python.core.core.core.pymodule.pymodule.impttr(pymodule(pymodule)。java:100)atorg.python.core.imp.import_next(imp。__builtin__.java:1220) at org.python.core.PyObject.__call__(PyObject.java:357) at org.python.core.__builtin__.__import__(__builtin__.java:1173) at org.python.core.imp.importFromAs(imp.java:978) at org.python.core.imp.importFrom(imp.java:954) at gui.export$py.f$0(/home/myhome/.BurpSuite/bapps/f9bbac8c4acf4aefa4d7dc92a991af2f/gui/export.PY:19).python.core.core.pycode.call(pycode.java:18)at org.python.core.imp.createfromcode(imp.java:386)on org.python.core.core.imp.create.create.createefromsource(inp.java:349)at at imp.java:349)org.python.core.imp.loadfromsource(imp.java:576)at org.python.core.imp.find_module(imp.java:473)on org.python.core.core.pymodule.pymodule.impattr(pymodule.java:100)在org.python.core.imp.import_next(imp.java:715)atorg.python.core.imp.import_logic(imp.java:777)onorg.python.core.imp.imp.import_name(imp.java:839)at org.python.core.core.core.imp.imp.imp.imp.imp.imp.imp.imp.imp.imp。______________进口__(__ _____.java:1173)atorg.python.core.imp.imp.importfromas(imp.java:978)on org.python.core.imp.imp.imp.imp.imp.importfrom(imp.java:954).f$0(/home/myhome/.BurpSuite/bapps/f9bbac8c4acf4aefa4d7dc92a991af2f/helpers/initiator.py:16) at helpers.initiator$py.call_function(/home/myhome/.BurpSuite/bapps/f9bbac8c4acf4aefa4d7dc92a991af2f/helpers/initiator.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.imp.createFromCode(imp.java:386) at org.python.core.imp.createFromSource(imp.java:349) at org.python.core.imp.loadFromSource(imp.java:576) at org.python.core.imp.find_module(imp.java:473) at org.python.core.PyModule.impAttr(PyModule.java:100) at org.python.core.imp.import_next(imp.java:715) at org.python.core.imp.import_logic(imp.java:777) at org.python.core.imp.import_name(imp.java:839) at org.python.core.imp.importName(imp.java:884) at org.python.core.ImportFunction.__call__(__builtin__.java:1220) at org.python.core.PyObject.__call__(PyObject.java:357) at org.python.core.__builtin__.__import__(__builtin__.java:1173) at org.python.core.imp.importFromAs(imp.java:978) at org.python.core.imp.importFrom(imp.java:954) at org.python.pycode._pyx4.f$0(/home/myhome/.BurpSuite/bapps/f9bbac8c4acf4aefa4d7dc92a991af2f/Autorize.py:11) at org.python.pycode._pyx4.call_function(/home/myhome/.BurpSuite/bapps/f9bbac8c4acf4aefa4d7dc92a991af2f/Autorize.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.Py.runCode(Py.java:1261) at org.python.core.__builtin__.execfile_flags(__builtin__.java:522) at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:225) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at burp.ame.(Unknown Source) at burp.gyj.a(Unknown Source) at burp.b91.a(Unknown Source) at burp.b91.b(Unknown Source) at burp.coe.lambda$installBapp$1(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)

汉娜,港口代理商beplay官网可以赌|上次更新:2021年4月16日04:01 UTC

你好

您能提供有关安装的更多信息吗?
  • 您的Burp Suite版本(无论您使用社区还是专业人士)
  • 您的Jython版本已加载到BURP(扩展器>选项> Python环境)
干杯!

测试|最后更新:2021年11月16日09:13 AM UTC

hii @hannah,我也面临着同样的问题,您可以使用以下版本的Jython独立2.7.0.Jar我的Burp Pro版本是2021.9.1。我正在安装403旁路扩展

汉娜,港口代理商beplay官网可以赌|最后更新:2021年11月16日09:55 AM UTC

嗨,您可以尝试使用其他版本的Jython来看看是否解决了问题?Jython的最新版本是v2.7.2,可以在此处找到:https://www.jython.org/download.html,请确保使用独立文件。

你需要登录发布答复。或者在这里注册, 免费。