Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to use Wireshark or some other freeware to get an outcome like one gets when using Charles' Map Local capability?

The way it works in Charles is that you can specify a set of files/folders which are replaced with files from your local disk, anytime your browser requests the specified file(s).

This is super handy for working on complex websites with barriers to getting your changes into source-control, or where you are not allowed to push files onto a staging server during development.

share|improve this question

If you are looking for an open-source solution, then Privoxy might be a solution.

Privoxy can do redirect actions and much more.
These examples were taken from the manual :

# Replace example.com's style sheet with another one
{ +redirect{http://localhost/example.com.css} }
example.com/stylesheet\.css$

# Redirect remote requests for this manual
# to the local version delivered by Privoxy
{+redirect{s@^http://www@http://config@}}
www.privoxy.org/user-manual/
share|improve this answer
up vote 0 down vote accepted

Since asking this question, I have found out that you can do this with Fiddler. This is not strictly an answer, I was asking for something Open Source, and AFAIK Fiddler is not open source.

I'm still holding out for some other easy way to do this, but for now this seems to be the answser. No.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .