Many of you know I have made a XOR text encryptor, well this is the rival of that encryptor. This is a cracker that I developed to be able to crack XOR encryptions. It does so very easily by looking at small parts of the encrypted text file, so that a human eye can quickly look over the 200+ possible combinations.
Here is a screen shot of it in action:

You can see that in this case I was cracking the source code to my own encrypted file.
And the Console:
I'm planning to add some more features including add some more features that will search for strings of of maybe 3 or more letters and automatically filter the results.
Problems:
Lol I tried to use this to decrypt some of the encrypted text files CA uses. I think one of the problems might be that they are using wchar, or either that its a different type of encryption. So I will keep working on this. And see if I can atleast figure out the encryption since I can't help BA with the plugin for Paint.NET...
Finally the source code:
Code:
void XOR_char_crack(char* str)
{
fstream file(str, ios::binary | ios::in | ios::out);
fstream dump("dump.txt", ios::in | ios::out | ios::trunc);
if(!file)
{
cout << "ERROR. Cannot open specified file. File must be in same directory as decryptor.\n";
return;
}
if(!dump)
{
cout << "ERROR. Cannot open dump.txt file.\n";
return;
}
char ch;
char temp[20] = "";
unsigned char k = 0;
do
{
for(int i=0; str[i]; i++)
{
file.get(ch);
temp[i] = (ch ^ k);
}
file.seekg(ios::beg);
dump << "Key of: " << k << " Produces: " << temp << endl << endl;
cout << "Key of: " << k << " Produces: " << temp << endl << endl;
k++;
}while(k != 0);
return;
}
I have also included the full source. As this project becomes more advanced I will be more stringent about giving out the source for the cracking software since it sort of defeats the point of the encryption software. However if you want the full source just ask me for the key and I will PM it too you or MSN or whatever.