Closed mamoss1 closed 5 years ago
The extension uses the Boto3 AWS module https://pypi.org/project/boto3/. Make sure this is installed for Python 2 and it should fix the issue.
pip install boto3
Thanks for the answer @DaveYesland ! My issue ended up being that I need to directly point my burp python environment to the python modules.
For anyone having the same import issue, just find the folder where your python modules are, copy the file path, go back into Burp and add the path to "Python Environment > Folder for loading modules".
Not sure I understand: does IPRotate rely on the system's Python 2 Boto3 package (installed with pip install boto3
) or does Boto3 need to be installed as a Jython module, with java -jar jython-standalone-2.7.2.jar -m pip install boto3
?
If it helps anyone, I'm on macOS and what I did is:
Python 2.7.16
>>> import boto3
>>> print boto3.__file__
/Users/youruserhere/Library/Python/2.7/lib/python/site-packages/boto3/__init__.pyc
I put /Users/youruserhere/Library/Python/2.7/lib/python/site-packages
in the "Folder for loading modules (optional) part of "Python environment and everything worked.
This is more of a Burp Suite issue I believe, but figured i'd ask anyway. When importing IPRotate.py to Burp Suite, the following error is produced:
Traceback (most recent call last): File "C:\Users.......................\Burp Suite Extensions\IPRotate_Burp_Extension-master\IPRotate_Burp_Extension-master\IPRotate.py", line 8, in
import boto3
ImportError: No module named boto3
I have jython standalone jar installed, guessing it has something to do with being able to import the module inside the jar. Any help would be appreciated!