What kind of hash is this?
#12
There are several things you need to check...

1. is the input correct, the plist has the fields (salt and hash) base64 encoded, please decode them w/
echo "[saltORhash]" | base64 -d | xxd -p
-> hex encoded strings (repeat this for both hash AND salt)
2. that you have the arguments in the correct order (hash first, then salt)
3. perl works (maybe you can try w/ perl ios7.pl [hash] [salt] # replace hash and salt w/ your inputs
4. debug it by adding some print statements to see what the immediate values are etc

Probably you only miss step 1, I guess

BTW: the script could also accept base64 encoded hash/salt (but it does not do it AS-IS), the hex encoding wasn't stricly necessary, I only did it because I wanted to see if it matches in length w/ sha1 etc... so feel free to adjust the script to accept base64 (too) , this is not possible w/ the script I posted, you need to add probably 1-2 lines to it


Messages In This Thread
What kind of hash is this? - by Tinnuel - 12-05-2013, 08:04 PM
RE: What kind of hash is this? - by magnum - 12-06-2013, 12:23 AM
RE: What kind of hash is this? - by Tinnuel - 12-06-2013, 04:53 PM
RE: What kind of hash is this? - by Si2006 - 12-06-2013, 10:26 PM
RE: What kind of hash is this? - by phantom23 - 01-03-2014, 02:39 AM
RE: What kind of hash is this? - by magnum - 01-03-2014, 12:35 PM
RE: What kind of hash is this? - by philsmd - 01-03-2014, 02:02 PM
RE: What kind of hash is this? - by phantom23 - 01-03-2014, 07:56 PM
RE: What kind of hash is this? - by philsmd - 01-03-2014, 08:30 PM
RE: What kind of hash is this? - by phantom23 - 01-03-2014, 10:35 PM
RE: What kind of hash is this? - by vrposter - 01-15-2014, 12:42 PM
RE: What kind of hash is this? - by philsmd - 01-15-2014, 02:57 PM
RE: What kind of hash is this? - by vrposter - 01-15-2014, 03:45 PM
RE: What kind of hash is this? - by vrposter - 01-16-2014, 07:49 PM
RE: What kind of hash is this? - by ammonsphoto - 02-21-2014, 05:34 PM
RE: What kind of hash is this? - by ammonsphoto - 02-21-2014, 06:02 PM
RE: What kind of hash is this? - by ChaDerson - 04-05-2014, 07:26 AM