Skip to content
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

[Help] Injecting code into the javascript/html files? #1

Open
perskes opened this issue Oct 16, 2017 · 1 comment
Open

[Help] Injecting code into the javascript/html files? #1

perskes opened this issue Oct 16, 2017 · 1 comment

Comments

@perskes
Copy link

perskes commented Oct 16, 2017

Hey, I've used your proxy in a few test scenarios in my lab now, and it always worked like a charm! No Errors, not bugs I could tell, nothing!

But now I want to modify your "SimpleHTTPServer.py" in a way that lets me inject html or Javascript into the files, but I really don't know where to start, so I'd love if you could provide me a starting point!

To my understanding, the proxy get's the request, makes a request on it's own to the website, caches the websites locally and forwards them to the client making the initial request.

I think if you can point out the relevant parts in your Proxy-Code, It will be much easier for me!

Thank you for providing this perfectly working proxy!

@perskes
Copy link
Author

perskes commented Oct 16, 2017

Nevermind, you did a great job in the "removeiframe" file!
What I could not find yet is: where to change the cache time? I want the pages to only be cached for a couple of minutes for the testing purposes. I'd love to get a response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant