How busy can a man be?

Lately, I have been rushing my coursework and the due date is on the 27th of April. This blog means a lot to me so do not think that I have left it! I am merely taking a break from extensive blogging and I will definitely return with lots of information. Recently I have learned on metasploit and I find it very interesting for a Penetration Tester.  The next update I hope to post would be by the end of the week, cause my coursework programming is about to complete.  If so, I might be free from all the ups and downs and take a break to post some useful security tools or source codes!  If you ever noticed, I have posted the source code for my previous post but I deleted it the day after.  It is because my university supervisor told me that it is best not to release the source code.  So basically I would keep it to myself until I have the green light to do so.  Be sure to keep in mind to visit my blog frequent, you will definitely not regret it!

Happy New Year

It is officially 2011 in my timezone now!  May 2011 be a better year!  I will be making sure that this blog will be improving post by post!  Please visit more often and drop some comments.

Follow me on twitter!

If you find my posts interesting, please visit  Please do reply here as to let me know what do you look for when you visit!  I will try my best to solve your computing needs.

Caesar and Rot Cipher Source Code

Ever wanted a portable caesar cipher and decipher at one go? At the end of this post you will find the binary as well as the source code (built in C) for the application. Below is an image of the application testing on “abcdefgh” text.  At [+13] you can see that it is equivalent to ROT13 cipher.  For those that are familiar with command line, use application.exe “text here”.

 * url:
 * email:
 * This source code is free to be used by any programmers
 * Source code converts all uppercase to lowercase during decryption
 * Supports command line usage, use text as argument eg. crack.exe "abcdef"

#include <stdio.h>
#include <string.h>
//#include <stdlib.h> /*include if using system()*/

void DecryptCaesar(char *Encrypted)
	char i;
	int j;

	Encrypted = strlwr(Encrypted); /*supports only lowercase*/
	//system("REM"); /*use this to copy paste in windows*/

	printf(" Caesar Cipher\n\n");
	for(i = 0 ; i < 27 ; i++)
		printf(" [+%d]\t", i);
		for(j = 0 ; j < (signed)strlen(Encrypted) ; j++)
			if(Encrypted[j] == ' ')
				printf(""); /*replace "" with " " if you prefer to preserve spacing*/
			else if(Encrypted[j] < 'a' || Encrypted[j] > 'z')
				printf("%c", Encrypted[j]); /*preserved non-alphabets*/
			else if(Encrypted[j] + i > 'z')
				printf("%c", Encrypted[j] + i - 26);
				printf("%c", Encrypted[j] + i);

		if(i == 13)
			printf(" (ROT)");

		if(i == 25)
			printf(" ");
			for(j = 0 ; j < (signed)strlen(Encrypted) + 8 ; j++)


int main(int argc, char **argv)
	char string[64 +1] = {'\0'};

	if(argc == 2)
		strncpy(string, argv[1], 64);
		return 0;

	for( ; ; )
		printf("\n Enter a text to encrypt/decrypt (EXIT to quit): ");

		fflush(stdin);		/*windows*/
		//fpurge(stdin);	/*linux*/

		scanf("%64[^\n]", string);

		if(string[0] == 'E' && string[1] == 'X' && string[2] == 'I' && string[3] == 'T' && string[4] == '\0')


	printf("\n Thanks for using...\n");
	return 0;

Download Binary
Download Source Code