Updated getUpdateCode to work with variable lengths of obfuscation; Modified moderateBanUser to include duration.