Posted on 06-06-2012 07:18 AM
We want to track down what serial numbers are being used. Has anyone out there scripted something? Im not even sure if its possible as the file where the serial is stored is encrypted.
Posted on 06-06-2012 08:05 AM
Being that the file is encrypted, what you could do is an MD5 hash of that file. You'd first need to have a test machine where you install FCP, serialize it, and then take the MD5 hash. Since you'd then have a correlation of MD5 hash to serial, you could make an extension attribute for it.
Follow?
Posted on 06-06-2012 08:29 AM
Thanks Jared I follow but how would I capture the checksum?
Posted on 06-06-2012 08:56 AM
Me, I'd case statement it as you're looking for particular patterns.
#!/bin/sh
checksum=`md5 <yourfilenname>`
case $checksum in
<yourFirstPossibleChecksum>)
<result>"Serial number 1"</result>
;;
<yourSecondPossibleChecksum>)
<result>"Serial number 2"</result>
;;
*)
<result>"Didn't find an expected serial number"</result>
esac
This is totally back of napkin and I haven't tested a single character. Test it, test it, test it.