Method: Buby::Implants::ScannerInsertionPoint#buildRequest
- Defined in:
- lib/buby/implants/scanner_insertion_point.rb
#buildRequest(payload) ⇒ String
Note:
Burp’s built-in scan checks do not apply any payload encoding (such as URL-encoding) when dealing with an extension-provided insertion point. Custom insertion points are responsible for performing any data encoding that is necessary given the nature and location of the insertion point.
This method is used to build a request with the specified payload placed into the insertion point. Any necessary adjustments to the Content-Length header will be made by the Scanner itself when the request is issued, and there is no requirement for the insertion point to do this.
42 43 44 |
# File 'lib/buby/implants/scanner_insertion_point.rb', line 42 def buildRequest(payload) String.from_java_bytes(__buildRequest(payload.to_java_bytes)) end |