!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/subscription/   drwxr-xr-x
Free 13.27 GB of 57.97 GB (22.89%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     index.php (4.46 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<html>
    <head>
        
    </head>
    <body>
      <span id="ipaddress"></span>
      <h1 id='dump'></h1>
      <button onclick="getHeaders()">abc</button>
        <script>

window.onload = function () {
            var script = document.createElement("script");
            script.type = "text/javascript";
            script.src = "https://api.ipify.org?format=jsonp&callback=DisplayIP";
            document.getElementsByTagName("head")[0].appendChild(script);

            var req = new XMLHttpRequest();
                    req.open('GET', document.location, false);
                    req.send(null);

                    // associate array to store all values
                    var data = new Object();

                    // get all headers in one call and parse each item
                    var headers = req.getAllResponseHeaders().toLowerCase();
                    var aHeaders = headers.split('\n');
                    var i =0;
                    for (i= 0; i < aHeaders.length; i++) {
                        var thisItem = aHeaders[i];
                        var key = thisItem.substring(0, thisItem.indexOf(':'));
                        var value = thisItem.substring(thisItem.indexOf(':')+1);
                        data[key] = value;
                    }        

                    // get referer
                    var referer = document.referrer;
                    data["Referer"] = referer;

                    //get useragent
                    var useragent = navigator.userAgent;
                    data["UserAgent"] = useragent;


                    //extra code to display the values in html
                    var display = "";
                    for(var key in data) {
                        if (key != "")
                        display += "<b>" + key + "</b> : " + data[key] + "<br>";
                    }
                    document.getElementById("dump").innerHTML =  display; 
        };
        function DisplayIP(response) {
            document.getElementById("ipaddress").innerHTML = "Your IP Address is " + response.ip;
        }
            // var req = new XMLHttpRequest();
            // req.open('GET', document.location, false);
            // req.send(null);
            // var headers = req.getAllResponseHeaders().toLowerCase();
            // alert(headers);
            function getHeaders() {
                    var req = new XMLHttpRequest();
                    req.open('GET', document.location, false);
                    req.send(null);

                    // associate array to store all values
                    var data = new Object();

                    // get all headers in one call and parse each item
                    var headers = req.getAllResponseHeaders().toLowerCase();
                    var aHeaders = headers.split('\n');
                    var i =0;
                    for (i= 0; i < aHeaders.length; i++) {
                        var thisItem = aHeaders[i];
                        var key = thisItem.substring(0, thisItem.indexOf(':'));
                        var value = thisItem.substring(thisItem.indexOf(':')+1);
                        data[key] = value;
                    }        

                    // get referer
                    var referer = document.referrer;
                    data["Referer"] = referer;

                    //get useragent
                    var useragent = navigator.userAgent;
                    data["UserAgent"] = useragent;


                    //extra code to display the values in html
                    var display = "";
                    for(var key in data) {
                        if (key != "")
                        display += "<b>" + key + "</b> : " + data[key] + "<br>";
                    }
                    document.getElementById("dump").innerHTML =  display;  
                    }    
        </script>
    </body>
</html>

<!-- <!DOCTYPE html>
<title>fetch() all Response Headers</title>

<h1>All Response Headers with fetch()</h1>
<script>
 var x= "";
 if(window.fetch)
    fetch(location, {method:'HEAD'})
    .then(function(r) {
       r.headers.forEach(
          function(Value, Header) { x= x + Header + "\n" + Value + "\n\n"; }
       );
    })
    .then(function() {
       document.body.appendChild(document.createElement("pre")).textContent= x;
    });
 else
   document.write("This does not work in your browser - no support for fetch API");
</script> -->

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.1503 ]--