开发者

How to use Bash to see what URL Firefox / Chrome is pulling?

If Firebug is not working or to grep the pulled URL, how do to it in Bash?

(on Windows, we can use Fiddler. On Mac there seems to be a tool tcpdump)

Sometimes Firebug is not working or if to grep if a certain path or domain URL is being pull, can that be done on the M开发者_JS百科ac's Bash?

(such as to check if there is a pull of connect.js, or anything from www.foobar.com)


Wireshark

I don't know of a way to do it with bash, but from your question it sounds like the Wireshark packet sniffer would be a good option. You set it up to capture all packets matching a specific set of criteria (for instance, those going to host www.example.com:80) and you can then inspect the HTTP traffic.


On Mac OS X you may try http://www.charlesproxy.com (which is similar to Fiddler).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜