Quantcast
Channel: support.portswigger.net :: Burp Extensions
Viewing all articles
Browse latest Browse all 115

Burp upstream proxy settings and setHttpService

$
0
0
Hello, I was wondering if you can help me with a few questions. I'm trying to dynamically set the upstream proxy depending on the current request and modify incoming response based on a set of rules. In that regards, I've a few questions. 1. Based on this answer (https://support.portswigger.net/customer/portal/questions/17143574-project-configuration-changes-aren-t-picked-up-during-current-ihttplistener-processhttpmessage-call), it looks like one can only use the processProxyMessage to set the upstream proxy dynamically. Now, where are all the config path strings present for saveConfigAsJson and loadCondfigAsJson? Burp API doesn't seem to provide them. Is this documented somewhere I can find? If not can you let me know here? 1a. It also looks like project_options is mentioned as part of the config string path in the API doc for IBurpExtenderCallbacks. I was wondering if you also provide the config path for user_options and so on? 2. In the answer mentioned in question 1, you also say I can proxy a request by setting a new HttpService using setHttpService. This way of proxying would be neat (depending on proxying needing to be visible or not in project/user options' upstream proxy settings) if it actually works to forward to another proxy. My question is, if it works, will the response show up in processProxyMessage so that I can intercept using Burp API? As opposed to the response being intercept-able only if it is received using a set upstream proxy? Please let me know if my questions are clear. I can clarify further if needed. Thanks, Venka

Viewing all articles
Browse latest Browse all 115

Trending Articles