question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Burp Import Error

See original GitHub issue

While trying to import the module I have this error:

Error:
Traceback (innermost last):
  (no code object) at line 0
SyntaxError: ('invalid syntax', ('/root/Tools/BurpSmartBuster/BurpSmartBuster.py', 70, 14, 'class Logger():'))
    at org.python.core.parser.fixParseError(Unknown Source)
    at org.python.core.parser.parse(Unknown Source)
    at org.python.core.Py.compile_flags(Unknown Source)
    at org.python.core.__builtin__.execfile_flags(Unknown Source)
    at org.python.util.PythonInterpreter.execfile(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at burp.nk.<init>(Unknown Source)
    at burp.atc.a(Unknown Source)
    at burp.n0f.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:745)

What can be wrong?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:18 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
gavzcommented, Oct 17, 2016

my installation steps OS kali linux :

java -jar jython_installer-2.7.0.jar

cd /root/jython2.7.0/bin ./pip install beautifulsoup4 requests tld textblob

changes -> BurpSmartBuster.py :

sys.path.append(“/root/jython2.7.0/Lib/site-packages/”) sys.path.append(“/root/jython2.7.0/Lib/site-packages/textblob”) sys.path.append(“/root/jython2.7.0/Lib/site-packages/nltk”)

BurpSuite :

Tab Extender - Tab Options - Python Environment : path /root/jython2.7.0/jpython.jar

0reactions
pathetiqcommented, Dec 19, 2016

Thanks a lot, will adjust the installation steps temporary with this. Let me know if you got any other problem or have any suggestion to help the tool. Cheers

Read more comments on GitHub >

github_iconTop Results From Across the Web

Burp Extension Python Import Error
Hi, I'm trying to create a new python extension but i'm guessing Jython cannot find the burp libs so i'm getting the following......
Read more >
"ImportError: No module named requests" In burp suite ...
I am using burp suite extension to intercept https requests and responses and trying to import requests module to do so but when...
Read more >
How to Import Burp Suite's HTTPS Certificate in Windows
You need to import that certificate to your browser's trust store so that your browser doesn't generate certificate errors. Tip: Using Burp Suite...
Read more >
Install Burp's CA Certificate In Firefox - infosecgirls - GitBook
In the "Certificate Manager" window, click on "Import" button and select the downloaded "cacert.der" file.
Read more >
Error -25294 | Apple Developer Forums
The import fails in the same way — That suggests that there's something broken about the certificate (which would be weird). Once you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found