-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check if the proxy modifies traffic #18
Comments
Yes, this feature is in the TODO. I think the only way to implement this is to compare a checksum. If anyone have other options I'm ready to discuss =) |
Well I completely missed it, sorry about that.
You might also be able to do size and number of files returned as well. Also sending data thru the proxy and seeing if it was changed on it's way to it's destination would be another way to tell if the proxy was messy with the traffic |
Theres no real way to compare websites 100% because each html will be rendered different in each request. Checksum will fail so often. An idea will be to save a list of web elements (the html dom names, not their content) and compare the main structure. You will notice changes for ads or div created between direct and proxy requests. |
@erm3nda or you could just request a static web page retard |
@erm3nda I partially agree with this comment as checksum doesn't have to be
Another thing to mention is the fact that not all websites are rendered the same depending on the language. Take NYTimes.com, for example: Both websites look fairly similar, but it seems that their HTML is rendered differently. Therefore, I believe, it would be preferred the client serves a proper |
…bfe33fb99bac5965 [Snyk] Security upgrade pyyaml from 5.3.1 to 5.4
A neat feature would be to check if the proxy was injecting ads/javascript (or in any other way modifying traffic)
The text was updated successfully, but these errors were encountered: