Burp Suite User Forum

Create new post

REG : IP rotate Burp Plugin was not rotating IPs

THIYAGARAJAN | Last updated: Jun 09, 2021 07:28PM UTC

Hi, I tried using IP Rotate extension and I installed all dependencies but when we tried intruder and we monitored the traffic in victim. IP was not changing and it was giving only the AWS attacker IP. I have configured jython standalone jar file I have installed Python 3.9. I have installed boto3 in the instance I tried to import boto3 in python. It was not showing any issues for import boto3 code. I installed IP rotator from BApp store I added the credentials Access key and secret key. Enabled the IP rotator. Started the attack. In log I can see only my AWS IP. So We tried tcpdump in victim it was also showing the attacker AWS IP as source. Next step, I tried importing IPRotate.py file in Burp from git. Once I activate it was showing error log as it cannot find boto3. So I configured below path in python package optional I configured the boto3 python package location(/home/user/.local/python3.9/sitepackages) THe following error was shown in the error console. Please help to resolve it. It was not working with the Burp Extender IP rotate and from the git Source code also. Traceback (most recent call last): File "/home/kali/ip-rotate/IPRotate.py", line 8, in <module> import boto3 File "/home/kali/.local/lib/python3.9/site-packages/boto3/__init__.py", line 16, in <module> from boto3.session import Session File "/home/kali/.local/lib/python3.9/site-packages/boto3/session.py", line 17, in <module> import botocore.session File "/home/kali/.local/lib/python3.9/site-packages/botocore/session.py", line 29, in <module> import botocore.configloader File "/home/kali/.local/lib/python3.9/site-packages/botocore/configloader.py", line 19, in <module> from botocore.compat import six File "/home/kali/.local/lib/python3.9/site-packages/botocore/compat.py", line 27, in <module> from dateutil.tz import tzlocal ImportError: No module named dateutil at org.python.core.Py.ImportError(Py.java:329) at org.python.core.imp.import_first(imp.java:1230) at org.python.core.imp.import_module_level(imp.java:1361) at org.python.core.imp.importName(imp.java:1528) at org.python.core.ImportFunction.__call__(__builtin__.java:1285) at org.python.core.PyObject.__call__(PyObject.java:433) at org.python.core.__builtin__.__import__(__builtin__.java:1232) at org.python.core.imp.importFromAs(imp.java:1620) at org.python.core.imp.importFrom(imp.java:1595) at botocore.compat$py.f$0(/home/kali/.local/lib/python3.9/site-packages/botocore/compat.py:361) at botocore.compat$py.call_function(/home/kali/.local/lib/python3.9/site-packages/botocore/compat.py) at org.python.core.PyTableCode.call(PyTableCode.java:173) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.imp.createFromCode(imp.java:630) at org.python.core.imp.createFromPyClass(imp.java:312) at org.python.core.imp.createFromPyClass(imp.java:255) at org.python.core.imp.loadFromSource(imp.java:929) at org.python.core.imp.find_module(imp.java:769) at org.python.core.PyModule.findSubModule(PyModule.java:140) at org.python.core.PyModule.impAttr(PyModule.java:107) at org.python.core.imp.import_next(imp.java:1161) at org.python.core.imp.import_logic(imp.java:1278) at org.python.core.imp.import_module_level(imp.java:1369) at org.python.core.imp.importName(imp.java:1528) at org.python.core.ImportFunction.__call__(__builtin__.java:1285) at org.python.core.PyObject.__call__(PyObject.java:433) at org.python.core.__builtin__.__import__(__builtin__.java:1232) at org.python.core.imp.importFromAs(imp.java:1620) at org.python.core.imp.importFrom(imp.java:1595) at botocore.configloader$py.f$0(/home/kali/.local/lib/python3.9/site-packages/botocore/configloader.py:202) at botocore.configloader$py.call_function(/home/kali/.local/lib/python3.9/site-packages/botocore/configloader.py) at org.python.core.PyTableCode.call(PyTableCode.java:173) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.imp.createFromCode(imp.java:630) at org.python.core.imp.createFromPyClass(imp.java:312) at org.python.core.imp.createFromPyClass(imp.java:255) at org.python.core.imp.loadFromSource(imp.java:929) at org.python.core.imp.find_module(imp.java:769) at org.python.core.PyModule.findSubModule(PyModule.java:140) at org.python.core.PyModule.impAttr(PyModule.java:107) at org.python.core.imp.import_next(imp.java:1161) at org.python.core.imp.import_logic(imp.java:1278) at org.python.core.imp.import_module_level(imp.java:1369) at org.python.core.imp.importName(imp.java:1528) at org.python.core.ImportFunction.__call__(__builtin__.java:1285) at org.python.core.PyObject.__call__(PyObject.java:433) at org.python.core.__builtin__.__import__(__builtin__.java:1232) at org.python.core.imp.importOne(imp.java:1547) at botocore.session$py.f$0(/home/kali/.local/lib/python3.9/site-packages/botocore/session.py:1047) at botocore.session$py.call_function(/home/kali/.local/lib/python3.9/site-packages/botocore/session.py) at org.python.core.PyTableCode.call(PyTableCode.java:173) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.imp.createFromCode(imp.java:630) at org.python.core.imp.createFromPyClass(imp.java:312) at org.python.core.imp.createFromPyClass(imp.java:255) at org.python.core.imp.loadFromSource(imp.java:929) at org.python.core.imp.find_module(imp.java:769) at org.python.core.PyModule.findSubModule(PyModule.java:140) at org.python.core.PyModule.impAttr(PyModule.java:107) at org.python.core.imp.import_next(imp.java:1161) at org.python.core.imp.import_logic(imp.java:1278) at org.python.core.imp.import_module_level(imp.java:1369) at org.python.core.imp.importName(imp.java:1528) at org.python.core.ImportFunction.__call__(__builtin__.java:1285) at org.python.core.PyObject.__call__(PyObject.java:433) at org.python.core.__builtin__.__import__(__builtin__.java:1232) at org.python.core.imp.importOne(imp.java:1547) at boto3.session$py.f$0(/home/kali/.local/lib/python3.9/site-packages/boto3/session.py:28) at boto3.session$py.call_function(/home/kali/.local/lib/python3.9/site-packages/boto3/session.py) at org.python.core.PyTableCode.call(PyTableCode.java:173) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.imp.createFromCode(imp.java:630) at org.python.core.imp.createFromPyClass(imp.java:312) at org.python.core.imp.createFromPyClass(imp.java:255) at org.python.core.imp.loadFromSource(imp.java:929) at org.python.core.imp.find_module(imp.java:769) at org.python.core.PyModule.findSubModule(PyModule.java:140) at org.python.core.PyModule.impAttr(PyModule.java:107) at org.python.core.imp.import_next(imp.java:1161) at org.python.core.imp.import_logic(imp.java:1278) at org.python.core.imp.import_module_level(imp.java:1369) at org.python.core.imp.importName(imp.java:1528) at org.python.core.ImportFunction.__call__(__builtin__.java:1285) at org.python.core.PyObject.__call__(PyObject.java:433) at org.python.core.__builtin__.__import__(__builtin__.java:1232) at org.python.core.imp.importFromAs(imp.java:1620) at org.python.core.imp.importFrom(imp.java:1595) at boto3$py.f$0(/home/kali/.local/lib/python3.9/site-packages/boto3/__init__.py:112) at boto3$py.call_function(/home/kali/.local/lib/python3.9/site-packages/boto3/__init__.py) at org.python.core.PyTableCode.call(PyTableCode.java:173) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.imp.createFromCode(imp.java:630) at org.python.core.imp.createFromPyClass(imp.java:312) at org.python.core.imp.createFromPyClass(imp.java:255) at org.python.core.imp.loadFromSource(imp.java:929) at org.python.core.imp.find_module(imp.java:769) at org.python.core.imp.import_next(imp.java:1158) at org.python.core.imp.import_module_level(imp.java:1350) at org.python.core.imp.importName(imp.java:1528) at org.python.core.ImportFunction.__call__(__builtin__.java:1285) at org.python.core.PyObject.__call__(PyObject.java:433) at org.python.core.__builtin__.__import__(__builtin__.java:1232) at org.python.core.imp.importOne(imp.java:1547) at org.python.pycode._pyx5.f$0(/home/kali/ip-rotate/IPRotate.py:22) at org.python.pycode._pyx5.call_function(/home/kali/ip-rotate/IPRotate.py) at org.python.core.PyTableCode.call(PyTableCode.java:173) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.Py.runCode(Py.java:1687) at org.python.core.__builtin__.execfile_flags(__builtin__.java:535) at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:287) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at burp.chz.<init>(Unknown Source) at burp.apw.a(Unknown Source) at burp.ekg.lambda$panelLoaded$0(Unknown Source) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) at java.base/java.lang.Thread.run(Thread.java:832)

Uthman, PortSwigger Agent | Last updated: Jun 10, 2021 08:09AM UTC

Hi,

ImportError: No module named dateutil suggests that you need to install the dateutil module too. Try running pip install python-dateutil

Please note that our support team does not manage these types of issues with extensions so you will need to raise any bugs with the original developer on GitHub:

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