extract json text
cat | while read line ; do echo -e `expr match "$line" '\({.*}\)'`; done | grep "{"
cat | while read line ; do echo -e `expr match "$line" '\({.*}\)'`; done | grep "{"
=> use tcpdump :
sudo tcpdump -vv -x -X -i 'port ' -w
More pretty and analysable with Wireshark,
=> use dumpcap :
dumpcap -n -i -f "port " -w
=> use tcpdump :
sudo tcpdump -vv -x -X -i 'port ' -w
More pretty and analysable with Wireshark,
=> use dumpcap :
dumpcap -n -i -f "port " -w