INI files decrypt. HOWTO

11/18/2007 10:59 menasculio#1
Ok hunnies, solution to the riddle.
This is the way to decrypt INI files.

Code:
 
	unsigned char dane[1024];
	DWORD LEN = 1024;

	HCRYPTPROV hProvider = NULL;
	HCRYPTHASH hHash = NULL;
	HCRYPTKEY hKey = NULL;
	BOOL bRes;
	DWORD ddLen = LEN;
	
	bRes = CryptAcquireContext( &hProvider, NULL, MS_DEF_PROV, 1, 0xF0000000 );  
	bRes = CryptCreateHash( hProvider, CALG_MD5, NULL, NULL, &hHash );  
	bRes = CryptHashData( hHash, (BYTE *) "1111", 4, NULL );
	bRes = CryptDeriveKey( hProvider, CALG_RC4, hHash, CRYPT_CREATE_SALT, &hKey);
	bRes = CryptDestroyHash( hHash );
	bRes = CryptDecrypt( hKey, NULL, FALSE, NULL, dane, &LEN );
	bRes = CryptDestroyKey( hKey );
LEN, dane - buffer with data, and it's length

Use once to decrypt INI files. Use once again to encrypt it back. Kinda symmetric.

Have fun.
11/18/2007 11:57 superskunk55#2
lol i wish i knew what all this ment XD
But thank you anyways maybe some of the coders could use this to make a GOOD bot or even some nice hacks
11/18/2007 14:08 cyxz#3
I'm with superskunk on this one . I wish i knew what all that ment :P
11/19/2007 20:36 5hoursez#4
Thanks
11/19/2007 22:17 menasculio#5
lol peepz, u kiddin me

get it compiled [Only registered and activated users can see links. Click Here To Register...].

decryptINI.exe charactertemplateskillsound.ini

will produce charactertemplateskillsound.ini_ file

modify it, do w/e you want with it then do

decryptINI.exe charactertemplateskillsound.ini_

this will produce charactertemplateskillsound.ini__
rename it back to charactertemplateskillsound.ini

cheerz...
11/19/2007 22:41 azertyy#6
How i can re-encrypt now ?
11/19/2007 22:58 menasculio#7
decryptini + encrypted file = decrypted file
decryptini + decrypted file = encrypted file
11/19/2007 23:31 superskunk55#8
Quote:
Originally Posted by menasculio View Post
lol peepz, u kiddin me

get it compiled [Only registered and activated users can see links. Click Here To Register...].

decryptINI.exe charactertemplateskillsound.ini

will produce charactertemplateskillsound.ini_ file

modify it, do w/e you want with it then do

decryptINI.exe charactertemplateskillsound.ini_

this will produce charactertemplateskillsound.ini__
rename it back to charactertemplateskillsound.ini

cheerz...
Antivir: Nothing found
ArcaVir: Nothing found
Avast: Nothing found
AVG: Nothing found
BitDefender: Nothing found
ClamAV: Nothing found
F-Prot: Nothing found
Norman: Nothing found
Rising: Nothing found
VirusBlokAda32: Nothing found
VirusBuster: Nothing found

[Only registered and activated users can see links. Click Here To Register...]
Scanned by [Only registered and activated users can see links. Click Here To Register...]
11/19/2007 23:42 5hoursez#9
Learning, takes patience, a relaxed ego, and willingness to take criticism for being a newb and not get heated about it :P so pwn me :P
11/19/2007 23:47 superskunk55#10
ROFL coppter.
So NOOB Question
should i choose to mess around with my ini files what program should i use to open that program with or will it decrypt the ini file on its own?
If so how do i simply right click ini file go to open with and choose the file or . . . ?
Also any good tuts for basic ini decryption for noobs that u know?
11/20/2007 04:06 cpasmoi#11
Hooo, thanks for infos and decryptINI.exe !!
Very nice :) hehehe
11/20/2007 17:24 menasculio#12
Quote:
Antivir: Nothing found
ArcaVir: Nothing found
Avast: Nothing found
AVG: Nothing found
BitDefender: Nothing found
ClamAV: Nothing found
F-Prot: Nothing found
Norman: Nothing found
Rising: Nothing found
VirusBlokAda32: Nothing found
VirusBuster: Nothing found
lol, !never! used any anti virus software.. good to know im clean :P

for the ultimate noobs out here, well put away hacking games and first get yourselves aquainted with total commander :D
11/20/2007 18:56 superskunk55#13
Quote:
Originally Posted by menasculio View Post
lol, !never! used any anti virus software.. good to know im clean :P

for the ultimate noobs out here, well put away hacking games and first get yourselves aquainted with total commander :D
WOW ignorance at its best.Well NOOB welcome to Elitepvpers forum.Its the place that ALL files are checked or are recomended to be checked.Maybe u should try and look around.
11/20/2007 19:07 menasculio#14
i know files are checked for viruses on forums... thats why i've posted pure source code first... but as this has arisen even more trouble, like 'wtf is this, how do i get it working'.. ive decided to provide people with innocent executable :cool:

cheers
11/20/2007 20:48 Aryus#15
I get all this, but what exactly can you edit that will change anything ingame?