Support Center

Burp Community

See what our users are saying about Burp Suite:

How do I?

New Post View All

Feature Requests

New Post View All

Burp Extensions

New Post View All

Bug Reports

New Post View All
Documentation

Burp Suite Documentation

Take a look at our Documentation section for full details about every Burp Suite tool, function and configuration option.

Full Documentation Contents Burp Projects
Suite Functions Burp Tools
Options Using Burp Suite
Extensibility

Burp Extender

Burp Extender lets you extend the functionality of Burp Suite in numerous ways.

Extensions can be written in Java, Python or Ruby.

API documentation Writing your first Burp Suite extension
Sample extensions View community discussions about Extensibility
Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

failed to coerce [Lburp.IHttpRequestResponse; to burp.IHttpRequestResponse

HAHWUL Aug 01, 2018 06:24AM UTC

Hi everyone.
I writing burp extender code using Jruby. and... come in error :(
Plz help me...

[ Error ]
failed to coerce [Lburp.IHttpRequestResponse; to burp.IHttpRequestResponse

[ Code line ]
def createMenuItems(invocation)
....
requestResponse = invocation.getSelectedMessages
....
Blahblah~~ @callbacks.saveBuffersToTempFiles(requestResponse) # I think, error in this line
end

[ Question ]
- invocation on createMenuItems(IContextMenu) is Java Object?
- How to casting Java object to Ruby object?
- Um.. Just save me.


HAHWUL Aug 01, 2018 08:35AM UTC
Sorry.. I fixed it.

requestResponse = invocation.getSelectedMessages

=>

requestResponse = invocation.getSelectedMessages
requestResponse.each do | m |
blahblah~~~
end

Post Your public answer

Your name
Your email address
Answer