wvg/python/after.py
FoxRefire 101d9cb6b8 NextGen🎉
2024-04-19 05:48:32 +09:00

12 lines
250 B
Python

# parse license challenge
cdm.parse_license(session_id, licence)
# get keys
keys=""
for key in cdm.get_keys(session_id):
keys+=f"[{key.type}] {key.kid.hex}:{key.key.hex()}\n"
# close session, disposes of session data
cdm.close(session_id)
keys