Commit dd01c2f8 authored by init6's avatar init6
Browse files

Added initial program.

parent 25464ce2
import sys
import os
import base64
def run(input_token):
decoded_token = base64.b64decode(input_token)
token = ''
for byte in decoded_token:
res = chr(byte ^ 0x2F)
token += res
domain, api_token = token.split('|')
print('Domain: {}\nToken: {}'.format(domain,api_token))
if __name__ == '__main__':
run(sys.argv[1])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment