ashishbabu 1 Report post Posted November 17, 2007 i have one database in which i have stored data in encrypted text and i also having those normal text, but i forget the encrption method, is there any software or method to get the encryption method. Please help me it is very urgent for me, if i am unable to get this method soon, may be i will lose my job, i am posting some of the data from my database Normal Text - Encrypted code ihNs 58597942 vik{k 47585C4A5A mnj] isV] 5C5F5D6C115D426664 'osrd 165E444355 vtSo 4745645E lokj 5D5E5C5B neu djuk 5F544211555E445B Hkjuk 795A5D445A vkokl] fuokl 475A585A5D6911564C5E5A58 mcyrk gqvk 5C524E435A1456414F5A Hkqt 795A4645 viektZu 4758525A456E44 'kqDrk 165A4675435F vur 474445 eksgjh 545A44565B5C vchti= 47525F455809 dykckt 55485C525A40 okrd 5E5A4555 bZFkj 536B715A5B Thanks in advance. Share this post Link to post Share on other sites
Erodejimmy 0 Report post Posted November 18, 2007 First give some more details. Using which software you encrypted the file Share this post Link to post Share on other sites
StaticElectricity 8 Report post Posted November 22, 2007 well, its a simple XOR with 0x31 , with every 3rd character skewn after the XORing dont have much time ... but this is what i came up wid in 30 mins .. i suppose the rest will be easy ... try it out ! heres some of the observations 58 59 7f 42 <-----> ihNs 58 59 79 42 (+06) <--->crosses 16 boundart 47 58 5a 4a 5a <----> vik{k 47 58 5c 4a 5a (+02) 16 5e 42 43 55 <---->'osrd 16 5e 44 43 55 (+02) 5f 54 44 11 55 5b 44 5a<---->neu djuk 5f 54 42 11 55 5e 44 5b (+02) (+03) (+01) and heres a small snipped i wrote to decode the thingy... #include <stdio.h> #include <conio.h> #include <string.h> void main(){ clrscr(); char str[]="neu djuk";//"'osrd"/*"vik{k"*//*"vur";*//*"ihNs"*/; for(int x=0;x<=255;x++){ printf("%02x %04d -> ",x,x); for(int j=0;j<strlen(str);j++){ char p=x^str[j]; printf("%02x",p); } if(x==0x31){printf("*special* ");getch();} printf("\n"); } getch(); } Hope you dont loose your job ! Share this post Link to post Share on other sites
rahul_12051987 0 Report post Posted November 22, 2007 i have a database file i forgot my password please help me retrive my master password..encrption given below [General] FileFormatVersion=4.01 Encryption=Blowfish MasterPassword=79B249A138663B8D24CEF53468494FF6 TotalGroups=5 TotalPasswords=16 LastGroup=0 Share this post Link to post Share on other sites
StaticElectricity 8 Report post Posted November 22, 2007 yea , well i figured it out .... the things quite simple ... the XORed chars are re XORed with a number based on their position .. woudhve posted the code , but the powers gone ! will post it later ! Share this post Link to post Share on other sites
ashoksoft 83 Report post Posted November 22, 2007 You can also try jack the ripper in this case - darn good for BF algos as XORed chars are based on number positions. Try getting the same from blackcode. cheers karki Share this post Link to post Share on other sites