For all of you out there with auditors that get all upset if netcat (nc) is 
installed on your Linux systems...  You probably should never tell them about 
the bash /dev/tcp builtin.

Just for fun...
exec 3<>/dev/tcp/www.google.com/80
echo -e "GET / HTTP/1.1\r\nHost: www.google.com\r\nConnection: close\r\n\r\n" 
>&3
cat <&3
exec 3>&-


Mark Post

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to