Giter Site home page Giter Site logo

Comments (23)

jx6f avatar jx6f commented on August 9, 2024 1

@workfast108 @thatchriseckert
I found a typo in the "tplmap/burp_extension/README.md" .
Could you try to load tplmap/burp_extension.py instead of tplmap/burp_extension/burp_extender.py?

from tplmap.

ArneSwinnen avatar ArneSwinnen commented on August 9, 2024 1

Forgot to mention that: they are properly installed on my system. Seems like Jython simply doesn't take them into account when loading the plugin via Burp?

EDIT: Apologies, seems there was something wrong with my local Jython installation. Following the exact installation steps resolved my issue. Thanks!

from tplmap.

alexlauerman avatar alexlauerman commented on August 9, 2024 1

I fixed the "No module named 'core'" error in Windows by setting my "Folder for loading additional modules" in Burp Extender Options to "C:\path\to\tplmap". This is not an ideal long term fix, but hopefully it will help someone, and also give some insight into using the right path to fix the issue.

from tplmap.

jx6f avatar jx6f commented on August 9, 2024

Hello @workfast108 ,

Have you tried setup procedure of Jython-installer?

from tplmap.

workfast108 avatar workfast108 commented on August 9, 2024

Hello Admin,
Sorry for responding late, i actually tried everything, i follow to setup procedure as describe in your post, i even try to read through the comments of one user that initially find it difficult to use the extension, but my error response is different from that of the person. if i may ask , can the extension work with Burp suite Pro on Windows OS? can you please give me hits/ guideline on how to install it for Burp on Windows OS
I will be waiting for your response.
Warm Regards.

from tplmap.

0xBeacon avatar 0xBeacon commented on August 9, 2024

Same issue here on Kali. Followed installation instructions exactly.

Traceback (most recent call last): File "/opt/BurpExtensions/tplmap/burp_extension/burp_extender.py", line 2, in <module> from config_tab import ConfigTab File "/opt/BurpExtensions/tplmap/burp_extension/config_tab.py", line 6, in <module> from core.checks import plugins ImportError: No module named core

from tplmap.

jx6f avatar jx6f commented on August 9, 2024

@workfast108
I hope that the extension will work with Burp Pro on Windows, but I haven't tried.
I only tested that extension can be loaded with Burp Free on Windows7.
If it works on your environment, could you report it?

from tplmap.

workfast108 avatar workfast108 commented on August 9, 2024

Hello Admin,
Firstly thank you for your time and response, regarding the issue at
burp_tplmaperror
tplmap

hand , am using windows 7 as well , and Burp Pro, I loaded "burp_extension.py" it is given the same error, below is the screenshot of error messages.

from tplmap.

jx6f avatar jx6f commented on August 9, 2024

@workfast108
Thank you for reporting details.
The path of tplmap-master\burp_extention\burp_extension.py looks strange for me.
Could you tell me the directory tree of tplmap?

from tplmap.

workfast108 avatar workfast108 commented on August 9, 2024

Admin,
The fact is no matter where i loaded burp_extension.py" from, it gives the same error message, what i mean is , even when i put it inside " core folder" or burp_extension folder or the original location of
tplmaperror
extraction

"burp_extension.py" after extracting from tplmap_master.zip, it still gives same issue. i will send you how screenshot of how the file are arrange after extraction. I will suggest you check the code from your side, or maybe one file is missing or not properly placed in the way you arrange it on github.

Warm Regards

from tplmap.

jx6f avatar jx6f commented on August 9, 2024

I believe codes on github are correct. Here are my screenshots.

virtualbox_win7_19_07_2017_17_07_03
virtualbox_win7_19_07_2017_17_07_55

The locations of burp_extension.py and others are very important. Please revert them.

from tplmap.

jx6f avatar jx6f commented on August 9, 2024

If you encounter the same error after revert, please tell me following informations.

  • Version of Jython
  • How did you install Jython
  • "Python Environment" configurations of burpsuite

from tplmap.

workfast108 avatar workfast108 commented on August 9, 2024

pythonevni
Admin,
Thank you for your time and quick response, firstly from your screenshot i notice that you actually installed Jpython. but ordinarily must burp extension uses "Jython 2.7.0 - Standalone Jar " but in other to conform with your setting , i have decided to download and install Jython 2.7.0 - Installer, which i did Properly. I have also downloaded free version of Burpsuite v 1.7.24,
erroronfreeversion
jpythonpath

but i still haven't made any success regarding installation of your tool. , i have attached below, all my setting looks good, and i don't think my Burpsuite and Jpython should be in the same path before your extension can work? correct me if am wrong regarding this.
waiting for your response.

Warm Regards

from tplmap.

jx6f avatar jx6f commented on August 9, 2024

Thank you for reporting.

The install paths of burp and jython, tplmap are irrelevant. Actually, these are separated in my environment.

Did the error message change? If it changed, please paste it.

from tplmap.

workfast108 avatar workfast108 commented on August 9, 2024

Yes the Error message changes Admin, in Burp Pro, the Error message is different from the Error message in free Burp Version.
let me paste it for you again.
the first one am pasting is error messages for Pro version of Burp, and the send is for the Error messages of Free Burp1.7.24 version
burp_tplmaperror

from tplmap.

workfast108 avatar workfast108 commented on August 9, 2024

for the free version of Burp Suite 1.7.24
erroronfreeversion
here is the Error message

from tplmap.

0xBeacon avatar 0xBeacon commented on August 9, 2024

Loading tplmap/burp_extension.py instead of tplmap/burp_extension/burp_extender.py fixed the issue for me. Thanks, @jx6f

from tplmap.

jx6f avatar jx6f commented on August 9, 2024

@workfast108 That's good. Could you paste all error message of the free version of Burp Suite 1.7.24 here as text data?

from tplmap.

jx6f avatar jx6f commented on August 9, 2024

@thatchriseckert Thank you for reporting 👍

from tplmap.

workfast108 avatar workfast108 commented on August 9, 2024

well i feel like since @thatchriseckert said it has worked for him on Probably Kali, because the Error it pasted over here earlier is of Kali "Same issue here on Kali. Followed installation instructions exactly.

Traceback (most recent call last): File "/opt/BurpExtensions/tplmap/burp_extension/burp_extender.py", line 2, in from config_tab import ConfigTab File "/opt/BurpExtensions/tplmap/burp_extension/config_tab.py", line 6, in from core.checks import plugins ImportError: No module named core" i will go back to Kali and follow your earlier instruction of "Loading tplmap/burp_extension.py instead of tplmap/burp_extension/burp_extender.py" to see if it will work for me. Thank you for your time.

from tplmap.

ArneSwinnen avatar ArneSwinnen commented on August 9, 2024

Same issue here. I believe it has something to do with Jython. I tried both Standalone and Installed version of 2.7.0 but get the following error when attempting to load tplmap/burp_extension.py:

[Traceback]
ImportError: No module named yaml

at org.python.core.Py.ImportError(Py.java:328)
at org.python.core.imp.import_first(imp.java:877)

It appears that this is not included in standard jython. I'm testing on Mac OS X.

Thanks in advance,

Arne

from tplmap.

jx6f avatar jx6f commented on August 9, 2024

@ArneSwinnen Tplmap requires PyYaml and requests modules.
If you didn't install them, see setup procedure of Jython-installer.

from tplmap.

jx6f avatar jx6f commented on August 9, 2024

The module load path of CPython and Jython are different. You can check it by following command.

python2 -c 'from sys import path; print(path)'
java -jar /path/to/jython.jar -c 'from sys import path; print(path)'

I think that PyYaml module is not in the sys.path of your Jython.
This link may help you: #29 (comment)

from tplmap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.