虚拟主机搭建SolusVM伪授权服务器

SolusVM是一个很简洁、功能也相对比较强大的VPS管理面板,支持KVM、Xen和OpenVZ,不想购买授权可以自建授权服务器!自建伪授权服务器需要你的服务器或者虚拟主机支持PHP,其他无所谓,首先新建网站绑定以下域名:

soluslabs.net soluslabs.com licensing1.soluslabs.net licensing2.soluslabs.net licensing3.soluslabs.net licensing4.soluslabs.net licensing5.soluslabs.net licensing6.soluslabs.net licensing7.soluslabs.net

其次新建slbs_verify_license.php与clean.php两个文件。 slbs_verify_license.php

<?php require "clean.php"; if(isset($_POST["nodes"]) && isset($_POST["licensekey"]) && isset($_POST["domain"]) && isset($_POST["ip"]) && isset($_POST["dir"])){ $returnarray = array( "hash" => '', "hash2" => '', "status" => 'Active', "productid" => 22, "checkDate" => date("Y-M-D"), "companyname" => "SolusVM@mfhlw.com", "email" => "SolusVM@mfhlw.com", "nextduedate" => (date("Y") + 100) . "-06-04", "validip" => "8.8.8.8", "configoptions" => "Slaves=1000|Mini Slaves=1000|Micro Slaves=1000" ); $data = $Crack->LicenseEncode($returnarray); echo($data); //DEBUG //file_put_contents("test.txt", json_encode($_POST)); }else{ echo("No input"); }

clean.php

<?php $Crack = new Crack(); class Crack { private $_s_C_OOO_o01 = "ypO%_Y/y0#rY@KFi==@65%swYskCaCTk-52#*StP6HCsrwP!tB"; private $_s_C_OOO_o02 = "MM=co=_prb+;XyuHkHfNtyWy/y@/FzcofZ9HqjQ9?XxSb96a.d"; private $_s_C_OOO_o03 = "31m*R*Z!zmnDjdqovF8Wyq1-LZUAFohEKqn652kM.FGykJF7LT"; private $_s_C_OOO_o04 = "UF*zssdx8E9Q7+tzZ%*Y#j2=/FFZOekUr1BXB6OANpO1-ivAOm"; private $_s_C_OOO_o05 = 30; private $_s_C_OOO_o06 = "+"; private $_s_C_OOO_o07 = 30; private $_s_C_OOO_o08 = "("; private $_s_C_OOO_o09 = "=============================== START KEY DATA =================================\n"; private $_s_C_OOO_o10 = "\n================================ END KEY DATA =================================="; public function LicenseEncode($result) { $resulttraw = serialize($result); $resulttraw = base64_encode($resulttraw); $md5Hash = md5($resulttraw . $result['checkDate'] . $this->_s_C_OOO_o04); $data = $md5Hash.$resulttraw; $md5Hash = md5(strrev($data) . $this->_s_C_OOO_o03); $data = $md5Hash.strrev($data); $data = $this->LicenseEncodePart($data, $this->_s_C_OOO_o01); $data = strrev($data); $data = gzdeflate($data); $data = convert_uuencode($data); $data = strrev($data); $data = $this->LicenseEncodePart($data, $this->_s_C_OOO_o02); $data = strtoupper($data); $data = wordwrap($data, 18, "+", true); $data = wordwrap($data, 348, "(", true); $data = wordwrap($data, 80, "\n", true); $data = $this->_s_C_OOO_o09 . $data; $data = $data . $this->_s_C_OOO_o10; return $data; } private function LicenseEncodePart($string, $key) { $key = sha1($key); $strLen = strlen($string); $keyLen = strlen($key); $i = 0; while($i < $strLen) { $ordStr = ord(substr($string, $i, 1)); if($j == $keyLen) { $j = 0; } $ordKey = ord(substr($key, $j, 1)); $j++; $hash .= strrev(base_convert(dechex($ordStr + $ordKey), 16, 36)); $i += 1; } return $hash; } }

然后在网站根目录依此新建文件夹/clients/modules/servers/licensing/,把这两个文件放到licensing文件夹!至此SolusVM未授权服务器已经搭建完毕,具体的访问路径应该是http(s)://网址/clients/modules/servers/licensing/两个文件.php 最后修改SolusVM所在服务器或者VPS的Host文件,一般在/etc/hosts

搭建虚拟主机或者服务器的IP 你搭建虚拟主机或者服务器的IP soluslabs.net 你搭建虚拟主机或者服务器的IP soluslabs.com 你搭建虚拟主机或者服务器的IP 你搭建虚拟主机或者服务器的IP licensing1.soluslabs.net 你搭建虚拟主机或者服务器的IP licensing2.soluslabs.net 你搭建虚拟主机或者服务器的IP licensing3.soluslabs.net 你搭建虚拟主机或者服务器的IP licensing4.soluslabs.net 你搭建虚拟主机或者服务器的IP licensing5.soluslabs.net 你搭建虚拟主机或者服务器的IP licensing6.soluslabs.net 你搭建虚拟主机或者服务器的IP licensing7.soluslabs.net

授权码可以填SVMSO-RKHHQ-NRH6G-WM1XH-7VYVH-49CXG-8MX1L-GFVRQ

slbs_verify_license.php文件里的productid可以修改授权类型,可以参考以下类型

'productid'= '2' 'Trial' 'productid'= '4''SolusVM Enterprise (Slave Only)' 'productid'= '20''SolusVM Enterprise (NOC)' 'productid'= '22''SolusVM Enterprise (RS)' 'productid'= '24''SolusVM Developer License' 'productid'= '23''SolusVM Enterprise Slave Only (RS)' SolusVM Enterprise (Full)'

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/zwddxs.html