Month: September 2014

remote exploit in bash cve2014 6271

http://seclists.org/oss-sec/2014/q3/649 http://seclists.org/oss-sec/2014/q3/650 https://access.redhat.com/articles/1200223 https://rhn.redhat.com/errata/RHSA-2014-1293.html http://www.ubuntu.com/usn/usn-2362-1/ More detailed info: https://securityblog.redhat.com/2014/09/24/bash-Ă—specially-crafted-environment-variables-code-injection-attack/ Stephane Chazelas discovered a vulnerability in bash, related to how environment variables are processed: trailing code in function definitions was executed, independent of the variable name. In many common configurations, this vulnerability is exploitable over the network. Chet Ramey, the GNU bash upstream maintainer, will soon…


bpkg : bash package manager

From bpkg.io JavaScript has npm, Ruby has Gems, Python has pip and now Shell has bpkg! With bpkg you can easily install and manage Bash packages. It takes care of installing/uninstalling, execution permissions and everything so you can simply do the following:…


Clear cached memory on cpanel server

Flushing the Cached Memory By default, Linux has a very efficient memory management process that should be freeing any cached memory on the server. However, the server may, at times, decide that the cached memory is needed but is being used which can lead to memory related issues. You can use the following command to…


EasyApache Update

In approximately 60 days, the Basic profile in EasyApache will build Apache 2.4 by default. This change will not alter existing EasyApache profiles that build Apache 2.2. If you plan to update from an existing Apache 2.2 installation to Apache 2.4, we strongly recommend that you build in a test environment before you migrate Apache…


100 SED Commands

sed (stream editor) is a Unix utility that parses and transforms text, using a simple, compact programming language. From pement.org ————————————————————————- USEFUL ONE-LINE SCRIPTS FOR sed (Unix stream editor) FILE SPACING: # double space a file sed G # double space a file which already has blank lines in it. Output file # should contain…


Sharing Files From the Command Line

Did you ever want to share files from the shell? Now you can just upload and download files without complexity from your shell or browser. Just upload the file using by dropping it to this page, curl or any other command using PUT to our server. We’ll return a shareable url, which will expire within…


Historic partition usage data

From a good friend of mine… “Howdy everybody! I have been using the following command for a while now to help figure out when exactly a partition became full on a server: grep “Disk check” /var/log/chkservd.log | grep “2014-08-20” This has been extremely useful for me, and in fact I use it almost every day…