Burp Suite User Forum

Create new post

setHTTPService API method appears broken

amarionette | Last updated: Jul 26, 2021 04:24AM UTC

Hello, I have successfully created an HTTP request as such: httpService = self._helpers.buildHttpService("google.com", 80, False) requestResponse = self._callbacks.makeHttpRequest(httpService, message) When attempting to update its service like so, the extension fails silently on the setHttpService line: httpService = self._helpers.buildHttpService("newsite.com", 80, False) requestResponse.setHttpService(httpService)

Uthman, PortSwigger Agent | Last updated: Jul 26, 2021 11:54AM UTC

Can you provide some more detail on what you are trying to do? If you could share access to the full source code, that would be helpful too. It looks like you want to implement something similar to what is described in the thread below. Have you tried this? - https://forum.portswigger.net/thread/how-to-transfer-some-domain-s-requests-to-my-server-3aa549a6

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