孤水绕城’s Blog
应小猪大锅的要求写的一个脚本。很垃圾但是还算有用吧。
$shell = new COM(“WScript.Shell”) or die(“This thing requires Windows Scripting Host”);
$rootkey = “HKEY_LOCAL_MACHINESYSTEMRAdminv2.0ServerParameters”;
$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”
相关资源:孤狼电脑易用快捷助手V1.0免费绿色版-其它代码类资源-CSDN文库
声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!