Netcat script to be called by php