Find information in a swapfile image with Linux.

The strings utility for Linux is very useful for finding all text strings in a binary file. I am using a swapfile image as an example. It can easily be searched for various strings that can reveal various information. Below is an example, I am looking for instances of the…

Read More

How to add a swapfile with Linux and thoughts on the Die Hard 4.0 movie.

To create a new swapfile on your Linux machine to complement the existing /swap partition; the dd command will come in handy. This command will create the swap file as a loopback filesystem. adeptus-mechanicus ~ # dd if=/dev/zero of=swapfile bs=1024 count=524288adeptus-mechanicus ~ # dd if=/dev/zero of=swapfile bs=1024 count=524288 This command…

Read More