Home Forums Get Help for Klok klok.dat file information Reply To: klok.dat file information


@dmikusa wrote:

Thanks for the info. I was able to read the file using Python and PyAMF. In case anyone is interested, here is a code sample.

from pyamf.amf3 import decode
from pyamf.util import StringIOProxy

proxy = StringIOProxy(open('klok.dat', 'rb').read())
data = decode(proxy).next()

The ‘data’ object will then contain the data tree as read from the klok data file. After that it is just a matter of traversing the tree to get what information you need.

Thanks for the info and code snippet. Very useful indeed!