Proper code box
This commit is contained in:
committed by
GitHub
parent
65fa968308
commit
9c1b9b5bca
@@ -6,7 +6,11 @@ Remote tcpdump sniffer with source filtering
|
|||||||
2. For the sake of simplicity run `sudo kapow server tcpdump.pow`. In a
|
2. For the sake of simplicity run `sudo kapow server tcpdump.pow`. In a
|
||||||
production environment tcpdump should be run with the appropiate permissions
|
production environment tcpdump should be run with the appropiate permissions
|
||||||
but kapow can (and should) run as an unprivilieged user.
|
but kapow can (and should) run as an unprivilieged user.
|
||||||
3. In your local machine run `curl http://localhost:8080/sniff/<network-interface> | sudo
|
3. In your local machine run:
|
||||||
wireshark -k -i -` if you don't want to run Wireshark as root follow this
|
```bash
|
||||||
guide: https://gist.github.com/MinaMikhailcom/0825906230cbbe478faf4d08abe9d11a
|
curl http://localhost:8080/sniff/<network-interface> | sudo wireshark -k -i -
|
||||||
|
```
|
||||||
|
Again, for the sake of simplicity Wireshark is running as root. If you don't want
|
||||||
|
to run it this way follow this guide:
|
||||||
|
https://gist.github.com/MinaMikhailcom/0825906230cbbe478faf4d08abe9d11a
|
||||||
4. Profit!
|
4. Profit!
|
||||||
|
|||||||
Reference in New Issue
Block a user