(I didn’t manage to solve this, but we did try putting in huge numbers to no avail. The key was that python parses 1e1000 as an int despite treating it like a float when it comes to actual operations)
This is a custom implementation of tokens similar to the normal JSON web tokens. Let’s see the decode token:
res = requests.get('https://jwt.chall.lac.tf/img',cookies={"token":jwt}) print(res.text)
jwt: 7b22757365726e616d65223a2022686172746d616e6e737967222c2022616765223a203165313030302c2022726f6c65223a202261646d696e222c202274696d657374616d70223a20313730383332323030367d.503e495a02ba3c8a54ed442728f1b13438c51a8136634ab3718eafc0c241096e
{"msg":"Your flag is lactf{pr3v3nt3d_th3_d0s_bu7_47_wh3_c0st}\n","img":"/static/bplet.png"}