Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

2 Answers 2

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
add comment
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.