burp-request-minimizer's People
burp-request-minimizer's Issues
ImportError: No module named xmltodict
I followed the guide precisely, I downloaded the whole project in zip, installed requirements with pip, relaunched Burp and added extender, but I always get the error... When I try again pip install -r requirements
I get back Requirement already satisfied: xmltodict==0.11.0 in c:\python27\lib\site-packages (from -r requirements.txt (line 1)) (0.11.0)
Here is the trace from Burp Error tab:
Traceback (most recent call last):
File "C:\Users\user\Desktop\burp-request-minimizer-master\minimizer.py", line 8, in <module>
import xmltodict
ImportError: No module named xmltodict
at org.python.core.Py.ImportError(Py.java:328)
at org.python.core.imp.import_first(imp.java:877)
at org.python.core.imp.import_module_level(imp.java:972)
at org.python.core.imp.importName(imp.java:1062)
at org.python.core.ImportFunction.__call__(__builtin__.java:1280)
at org.python.core.PyObject.__call__(PyObject.java:431)
at org.python.core.__builtin__.__import__(__builtin__.java:1232)
at org.python.core.imp.importOne(imp.java:1081)
at org.python.pycode._pyx4.f$0(C:\Users\user\Desktop\burp-request-minimizer-master\minimizer.py:163)
at org.python.pycode._pyx4.call_function(C:\Users\user\Desktop\burp-request-minimizer-master\minimizer.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1386)
at org.python.core.__builtin__.execfile_flags(__builtin__.java:535)
at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:286)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at burp.l5.<init>(Unknown Source)
at burp.i7i.a(Unknown Source)
at burp.hrb.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
Could you please amend your guide with how should I proceed, or let me know if I missed something?
Many thanks
java.lang.UnsupportedOperationException
Hi,
I get following trace:
java.lang.UnsupportedOperationException: Action is not supported for this parameter type
at burp.r3c.a(Unknown Source)
at burp.r3c.removeParameter(Unknown Source)
at burp.ltf.removeParameter(Unknown Source)
at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:186)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:204)
at org.python.core.PyObject.__call__(PyObject.java:496)
at org.python.core.PyObject.__call__(PyObject.java:500)
at org.python.core.PyMethod.__call__(PyMethod.java:156)
at org.python.pycode._pyx4._minimize$6(C:\Users\User\AppData\Roaming\BurpSuite\bapps\cc16f37549ff416b990d4312490f5fd1\minimizer.py:69)
at org.python.pycode._pyx4.call_function(C:\Users\User\AppData\Roaming\BurpSuite\bapps\cc16f37549ff416b990d4312490f5fd1\minimizer.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyBaseCode.call(PyBaseCode.java:307)
at org.python.core.PyBaseCode.call(PyBaseCode.java:198)
at org.python.core.PyFunction.__call__(PyFunction.java:482)
at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:237)
at org.python.core.PyMethod.__call__(PyMethod.java:228)
at org.python.core.PyMethod.__call__(PyMethod.java:223)
at org.python.core.PyObject._callextra(PyObject.java:601)
at threading$py.run$35(C:\jython2.7.0\Lib\threading.py:213)
at threading$py.call_function(C:\jython2.7.0\Lib\threading.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyBaseCode.call(PyBaseCode.java:138)
at org.python.core.PyFunction.__call__(PyFunction.java:413)
at org.python.core.PyMethod.__call__(PyMethod.java:126)
at threading$py._Thread__bootstrap$36(C:\jython2.7.0\Lib\threading.py:266)
at threading$py.call_function(C:\jython2.7.0\Lib\threading.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyBaseCode.call(PyBaseCode.java:307)
at org.python.core.PyBaseCode.call(PyBaseCode.java:198)
at org.python.core.PyFunction.__call__(PyFunction.java:482)
at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:237)
at org.python.core.PyMethod.__call__(PyMethod.java:228)
at org.python.core.PyMethod.__call__(PyMethod.java:218)
at org.python.core.PyMethod.__call__(PyMethod.java:213)
at org.python.core.FunctionThread.run(FunctionThread.java:25)
Would it be possible to fix it?
Thanks :)
Add support for xml and json minimization
See #1. Burp's removeParameter API does not support XML/JSON parameters.
POST parameters are not minimized
There's a bug at line 77 of the _minimize() function. The IF condition is incorrect, and POST parameters (aka PARAM_BODY) are never minimized:
if param_type in [IParameter.PARAM_URL, IParameter.PARAM_BODY and IParameter.PARAM_COOKIE]:
Fix (replacing and
by ,
):
if param_type in [IParameter.PARAM_URL, IParameter.PARAM_BODY, IParameter.PARAM_COOKIE]:
[Feature Request] Minimizing Request Headers
Hi,
Thanks for the extension, it really helps in saving time and not doing stuff manually. With that, can you please add an option in the extension to minimize the request headers as well while keeping the workflow same.
I know it's currently not intended but if possible, can you please take a look into this request?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.