Technology Insights

How to Make a Patch using Diff

I have had a lot of questions lately about making patches. On Backtrack we get a lot of user submissions and many times we need a patch rather than a modified source file. The reason being is that a patch can be documented and contains the specific changes made to the source file and can also be easily reverted. Patching is also crucial if you fix a bug in a program and would like to submit the fix to the author. In any case being able to create a patch is very  useful if you are working with Linux or any sort of programing stuff.

I decided to make a short post on how to make a patch and apply it:

Details
Technology Insights

Compile John the Ripper on x86-64 Cent OS with the Jumbo Patch

I am getting ready for a password contest at Defcon that Alex and I and a few other guys from the Hashcat team are going to enter and I decided to install John the Ripper on a Cent OS box in case I needed it for anything. John is in the yum repos however the version is pretty old and it is not compiled with NTLM support so I decided to build it from source so that i could apply the Jumbo patch which adds support for a whole lot of different algorithms which are normally only available in the pro version of John the Ripper.

Below I show the steps I took to get it compiled and working on Cent OS 64 bit:

Details
Technology Insights

Use RAR On Linux To Compress A File Into Multiple Parts

The rar command can be useful on Linux to not only compress a file but also split the file into multiple parts during the compression. This will make the files easier to transfer to other servers or easier for other people to download. First rar needs to be installed which can done on CentOS using the directions below. After that we describe how to easily compress and break a file into multiple chunks using one simple rar command.

Details