Entries from January 2015

How To Patch the Linux Ghost gethostbyname Buffer Overflow Vulnerability in glibc

Author: , January 28th, 2015

As per ARS Technica: “An extremely critical vulnerability affecting most Linux distributions gives attackers the ability to execute malicious code on servers used to deliver e-mail, host webpages, and carry out other vital functions.” To patch, run: yum update glibc Article: http://arstechnica.com/security/2015/01/highly-critical-ghost-allowing-code-execution-affects-most-linux-systems/ Amazon Alert: https://alas.aws.amazon.com/ALAS-2015-473.html Original Advisory: http://www.openwall.com/lists/oss-security/2015/01/27/9

How To Use netcat and telnet for Simple Network Testing

Author: , January 27th, 2015

yum install nc SERVER-SIDE: host1 shell> echo hello | nc -l 3456 CLIENT-SIDE: host2 shell> nc host1 3456 hello ~or~ CLIENT-SIDE: yum install telnet host1 shell> telnet host2 {PORT}

How To Add a Login/Logout Menu Link in WordPress

Author: , January 19th, 2015

Simple Link

Complex Menu Link

How To Add a Column of Numbers Using AWK

Author: , January 1st, 2015

awk ‘{sum+=$1}END{print sum}’ inputFile