by blazer » Mon Feb 16, 2009 7:33 am
Not sure if you wanted to add more formats to the solution submission page i've put the format and the php code to extract the hash and plain-text for a line. Juz figured i'll save you some time.
Format 1:
Direct copy and paste from Cain & Abel status box
Output: "Plaintext of 7993D83DF456A856FE06FC209F6780A9 is CryptoHaze";
16 Byte Hash extract: (substr(string,13,32));
Any Hash extract: (substr(string,13,strpos(string," ",13)-13));
Plain extract: (substr(string,strripos(string," ")+1,strlen(string)-strripos(string," ")));
Format 2:
PasswordsPro Export
Output: ":7993D83DF456A856FE06FC209F6780A9::CryptoHaze:";
16 byte Hash extract: (substr(string,1,32));
16 byte Plain extract: (substr(string,35,strripos(string,":")-strripos(string,":",-2)-1));
Any hash extract: (substr(string,1,strpos(string,":",1)-1));
Any plain extract: (substr(string,strripos(string,":",-2)+1,strripos(string,":")-strripos(string,":",-2)-1));
Format 3:
RTI Multithred Results
Output: "7993D83DF456A856FE06FC209F6780A9:CryptoHaze:437279746f48617a65";
16 Byte Hash extract: (substr(string,0,32));
Any hash extract: (substr(string,stripos(string,":")+1,strripos(string,":")-stripos(string,":")-1));
Plain extract: (substr(string,stripos(string,":")+1,strripos(string,":")-stripos(string,":")-1));
Not sure if they're the most efficient methods but they seem to work.
Hope their of use.
Last edited by
blazer on Mon Feb 16, 2009 4:07 pm, edited 1 time in total.