Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

req.engine.queue() doesn't support the "label" keyword #66

Open
ngregoire opened this issue Feb 16, 2021 · 2 comments
Open

req.engine.queue() doesn't support the "label" keyword #66

ngregoire opened this issue Feb 16, 2021 · 2 comments

Comments

@ngregoire
Copy link

In queueRequest(), using the label keyword is accepted:
engine.queue(target.req, "", label='x')

But not in handleResponse():
req.engine.queue(req.template, "something"), label='z')

The error message:
Error in user-defined callback: Traceback (most recent call last): File "<string>", line 26, in handleResponse TypeError: queue(): takes no keyword arguments

Tested on Burp v2021.2.1 + Turbo Intruder v1.1.3

@ngregoire
Copy link
Author

Note: using engine.queue() with the label keyword works from handleResponse() if the engine created in queueRequest() is exposed using a global variable

@albinowax
Copy link
Contributor

albinowax commented Feb 17, 2021

Yeah, req.engine is a reference to the Java class so it misses out on the features offered by the Python wrapper. This is a known issue but it's on my todo list. IIRC you can still pass in a label, but you have to supply all arguments rather than using keywords.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants