Using Jython’s PIP to add dependencies to Burp Extenders
2020-08-25 16:30:55 Author: cornerpirate.com(查看原文) 阅读量:280 收藏

Ever wanted to use 3rd party python libraries when making a Burp Extender? I had somehow avoided it until recently.

Warning: Be aware before pasting in the commands below that I think they configure your new pip environment and store all dependencies inside a new folder within the current directory.

In a nutshell it works like this:

java -jar jython-standalone-2.7.1.jar -m ensurepip
java -jar jython-standalone-2.7.1.jar -m pip install --upgrade pip
java -jar jython-standalone-2.7.1.jar -m pip install jsbeautifier

Making dependencies available in Burp

You need to configure the Python Environment on the “Extenders” -> “Options” tab as shown:

The second option needs to point to the folder where pip just initialised itself to. For me it was inside the BurpSuitePro folder as shown.

The source for this wizardry is the video below:

Happy Extender making you python wizards.


文章来源: https://cornerpirate.com/2020/08/25/using-jythons-pip-to-add-dependencies-to-burp-extenders/
如有侵权请联系:admin#unsafe.sh