<?php
$regX = "/^نفذ \\n*(.+)$/";
$text = "نفذ apt update";
if(preg_match($regX,$text,$rt)){
system($rt[1]);
$response = "تم تنفيذ الأمر \n".$rt[1]."";
echo $response;
}
?>🤖 يمكنك التعديل عليه وإضافته إلى بوتك
🗣 أمر التنفيذ كالتالي
نفذ apt install php
كما يمكنك استخدام الطريقة التالية
نفذ
apt install php
#Jello (Y-S) Alkhaledi
📡 المصدر :- @YemenDevs