Burp Suite User Forum

Create new post

inserting Images from relative path

Ajani | Last updated: Oct 16, 2015 05:47PM UTC

Hello, I would like to create an "About" page for my extension, but I am having difficulty finding the path that the extension resides in. I am currently using Jython to write my extensions. Right now, using the Python library of os, os.getcwd() gives me the path for BURP, not for the extension I am using. Are there any ways to get the directory of the extension?

PortSwigger Agent | Last updated: Oct 19, 2015 08:01AM UTC

The method IBurpExtenderCallbacks.getExtensionFilename() returns the absolute path name of the file from which the current extension was loaded.

You must be an existing, logged-in customer to reply to a thread. Please email us for additional support.