Useful tools for CTF

From http://delimitry.blogspot.in/2014/10/useful-tools-for-ctf.html I’ve selected useful and must-have tools for CTF games and computer security competitions. Most of this tools are often indispensable during the games (especially task-based/jeopardy CTF games). I’ve combined tools by categories just like in CTF games: Reverse, Steganography, Networking, Forensics, Cryptography, Scripting. Most of tools are cross-platform, but some of them are only for Windows…


Downgrading PHP

Hi, Many people seem to have a lot of questions about downgrading php, and evidently many do not know about the roll-back option in easyapache. ***Important: This feature is marked BETA by cpanel, and may have unexpected results.*** It is also important to note that this will roll back both the apache install and *DSO…


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…


cpanel config Documentation

Hey guys, I actually stumbled across this, it looks like cpanel finally got around to documenting /var/cpanel/cpanel.config ( tweak settings’ actual conf file) Link: https://documentation.cpanel.net/display/1144Docs/The+cpanel.config+File My apologies if you already knew this, but I think this is actually something new from cpanel.