So I've started this webSec course, and they gave us a bunch of different things to do, one of them is to catch HTTP requests and play with the headers. I downloaded HTTP ToolKit exactly for that purpose, but for some reason every time I change the headers and let the request continue, when I look at the sent request the changes were not made... (https://i.stack.imgur.com/nRYqZ.png) [in this image you can see that the user_level is 0] (https://i.stack.imgur.com/rfDw6.png)[in this image you can see that I changed it to 2] (https://i.stack.imgur.com/3HHWq.png) [in this image you can see the the sent request after editing it and how it didn't change for some reason] I also had the same problem when I tried to change the user agent....
Intercepted request through HTTP ToolKit headers won't change
252 Views Asked by DemDemons At
1
There are 1 best solutions below
Related Questions in HTTP-TOOLKIT
- All connections are aborted I don't know why my android device are rooted and the certificate are installed
- Certificate of http-toolkit proxy is not trusted in iOS browser
- Issue with http toolkit and proxifier integration - Seeking Assistance
- Why did HTTP Toolkit suddenly fails for app?
- UnhandledPromiseRejectionWarning: /root/mockttp/node_modules/mockttp/dist/server/mockttp-server.js:62
- Intercepted request through HTTP ToolKit headers won't change
- How to read raw response on HTTPTOOLKIT?
- HTTP Toolkit hit an error Server crashed with
- How can I fix api error on android studio?
- HTTP Toolkit request not forwarded successfully due to TLS handshake error
- How can I have another application inspect the traffic sniffed by http toolkit?
- Why all HTTPS communications are visible to other apps on a device? HTTP Toolkit
- HTTP TOOLKIT - Can HTTP TOOLKIT intercept ALL network of the whole computer like Fiddler?
- How to access http-toolkit packets programmatically using python?
- Spotify gives corrupted data in HTTP Toolkit
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
For all data in a proxy environment like this there are two different visions you could be interested in: how the client sent the data, and how the server received the data. These are the same by default, but when you start modifying traffic they diverge.
Right now, the content shown in HTTP Toolkit is always from the perspective of the client. In practice that's usually what you want, since HTTP proxies like these are very often used to understand client behaviour, but in this case it can be confusing. There's an open feature request to allow toggling between perspectives on this data that you can vote for here: https://github.com/httptoolkit/httptoolkit/issues/250
I the meantime, if you know the rule was applied (i.e. the breakpoint triggered and the request is marked as mocked) then the very likely reality is that your changes are indeed taking effect, and the only problem is that you're not seeing them as you expect. If you want to confirm this, the easiest way is to use an endpoint that echoes the request content back at you, such as https://httpbin.org/anything.