Skip to content

Instantly share code, notes, and snippets.

@ibndias
Last active January 2, 2023 06:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ibndias/902a81dba7e3db52d94f7f568e2db970 to your computer and use it in GitHub Desktop.
Save ibndias/902a81dba7e3db52d94f7f568e2db970 to your computer and use it in GitHub Desktop.

TCPDUMP Enabel non root for wireshark

sudo groupadd pcap && sudo usermod -a -G pcap $USER && sudo chgrp pcap /usr/bin/tcpdump && sudo chmod 750 /usr/bin/tcpdump && sudo setcap cap_net_raw,cap_net_admin=eip /usr/bin/tcpdump

sudo groupadd pcap; sudo usermod -a -G pcap $USER; sudo chgrp pcap /usr/bin/tcpdump; sudo chmod 750 /usr/bin/tcpdump; sudo setcap cap_net_raw,cap_net_admin=eip /usr/bin/tcpdump
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment