import os, sys, subprocess, shutil, time, re, random, json
from helpers import *

writeFileAs("/pps/system/development/devmode", """[n]@devmode
[n]debug_token_author::Hacked
[n]debug_token_expiration::2021-03-31T22:35:28Z
[n]debug_token_installed:b:true
[n]debug_token_timeout::820d
[n]debug_token_valid:b:true
[n]debug_token_validation_error::no error
[n]debug_token_validation_error_code:n:0
[n]dev_mode_enabled:b:true
[n]dev_mode_expiration::820d
[n]dev_mode_waiting:b:true
""", getImpersonation("group", "nto"))