Update the readme to explain debug

This commit is contained in:
burrches
2019-08-22 19:36:47 -04:00
parent 6f7e961008
commit 5e33d29a33

View File

@@ -15,5 +15,6 @@ Configuring
You can hard code values at the top of watershell.c or you can use command line arguments when you launch it. There are three options:
- PORT: this defines the port to check for, -p flag, default 12345
- PROMISC: whether to sniff all traffic or not, -p flag, default false
- DEBUG: verbose logging output to display to the user running the binary
If promiscuous mode is on any traffic that goes over the network that is UDP and matches the spectfied port will trigger the program, for example sending UDP traffic with a payload of run:reboot to 8.8.8.8 will reboot the listening machine if it is on the same network as the originator. This is useful if you don't want to make direct contact with the machine but still want to send it commands. The status reply will have a spoofed source of the destination host you specified.