Jump to content
Hak5 Forums

[POC] Rails in the Middle - A Web-content Proxy

Recommended Posts

I started this quick POC, which uses Rails as a web-content proxy to allow intercepting and modifying html pages.

[End User Request  > My Bad URL > Actual server > My Bad URL > Nokogiri (modify response) > End User Response]

It's pretty bare bones and allows you to browse any website at your own URL, modifying the response in the middle.




Seems like an interesting loophole.  Even with CORs set up properly, assets could be stored and re-served to the end user.

Edited by bg-wa
Link formatting

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.