Add raw/tes
This commit is contained in:
parent
9924eb1f8f
commit
629e422c85
10
raw/tes
Normal file
10
raw/tes
Normal file
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
error_reporting(E_ALL); // Menampilkan semua error
|
||||
ini_set('display_errors', 1); // Pastikan error ditampilkan
|
||||
|
||||
// Menjalankan perintah `uname -a` menggunakan exec()
|
||||
$unameInfo = exec('whoami');
|
||||
|
||||
// Mengembalikan hasil dalam format JSON
|
||||
echo json_encode(["uname" => $unameInfo]);
|
||||
?>
|
Loading…
Reference in New Issue
Block a user