You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you get an error with netcat about option "-e" missing, it's because linux use by default an alternative version of netcat: GNU-Netcat.
To use Traditional netcat: sudo apt install netcat sudo rm /etc/alternatives/nc sudo ln -s /bin/nc.traditional /etc/alternatives/nc
Now use the alias "nc" instead "netcat": :;while true;do nc -lp 8080 -e ./bashttpd ;done
(ctrl-z to stop file descriptor listening and kill -9 %1 2 times to kill the process)
If you want to load the process in background: :;while true;do nc -lp 8080 -e ./bashttpd ;done&
The text was updated successfully, but these errors were encountered:
If you get an error with netcat about option "-e" missing, it's because linux use by default an alternative version of netcat: GNU-Netcat.
To use Traditional netcat:
sudo apt install netcat
sudo rm /etc/alternatives/nc
sudo ln -s /bin/nc.traditional /etc/alternatives/nc
Now use the alias "nc" instead "netcat":
:;while true;do nc -lp 8080 -e ./bashttpd ;done
(ctrl-z to stop file descriptor listening and
kill -9 %1
2 times to kill the process)If you want to load the process in background:
:;while true;do nc -lp 8080 -e ./bashttpd ;done&
The text was updated successfully, but these errors were encountered: