22
0
Bifurcation 0

tcpdump: add tips for sniff all POST query

Cette révision appartient à :
Bruno TATU 2018-09-12 16:38:30 +02:00
Parent 87025d6330
révision 5adc353ba9

Voir le fichier

@ -123,3 +123,9 @@ en temps réel
~~~
# tcpdump -n -ttt -e -i pflog
~~~
* Récuper toutes les trâmes de type POST sur le port 80
~~~
# tcpdump -vv -s 0 -A 'tcp dst port 80 and tcp[((tcp[12:1] & 0xf0) >> 2):4] = 0x47455420 or tcp[((tcp[12:1] & 0xf0) >> 2):4] = 0x504F5354 or tcp[((tcp[12:1] & 0xf0) >> 2):4] = 0x48545450 or tcp[((tcp[12:1] & 0xf0) >> 2):4] = 0x3C21444F' -w /home/user/capture.pcap
~~~