Sniff HTTP traffic on your machine: Difference between revisions
(Created page with "== Sniff URL == '''Situtation:''' you have for a reason or another, some HTTP traffic running through a machine on which you have root access and you wan to know which URLs are ...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
== Sniff URL == | == Sniff URL == | ||
'''Situtation:''' you have for a reason or another, some HTTP traffic running through a machine on which you have root access and you | '''Situtation:''' you have for a reason or another, some HTTP traffic running through a machine on which you have root access and you want to know which URLs are requested. | ||
Install dnsiff: | Install dnsiff: | ||
Line 17: | Line 17: | ||
sudo urlsnarf -i eth0 |cut -d\" -f4 | sudo urlsnarf -i eth0 |cut -d\" -f4 | ||
</source> | </source> | ||
[[Category: Cookbook]] |
Latest revision as of 14:22, 15 January 2011
Sniff URL
Situtation: you have for a reason or another, some HTTP traffic running through a machine on which you have root access and you want to know which URLs are requested.
Install dnsiff:
sudo apt-get install dsniff
Run urlsnarf (change interface if required):
sudo urlsnarf -i eth0
Prettify output:
sudo urlsnarf -i eth0 |cut -d\" -f4