Is nc (netcat) on MacOS missing the "-e" flag?
You don't have to use nc -l 1337 -e /bin/bash
. Instead, an alternative that works exactly the same is nc -l 1337 | /bin/bash
outputs everything it receives into /bin/bash
.
You don't have to use nc -l 1337 -e /bin/bash
. Instead, an alternative that works exactly the same is nc -l 1337 | /bin/bash
outputs everything it receives into /bin/bash
.