TLDR: Abuse the fact that python allows different types to be passed as function parameters at runtime to bypassthe activation code and the admin command validation logic. Exploit the json scientific number notation to get a userid high enough to be considered admin. Combine all of those vulnerabilities to get the flag.