奇淫技巧

Vlmcsd搭建KMS激活服务器

Key Management Service(简称:KMS)这个功能是在Windows Vista之后的产品中的一种新型产品激活机制,目的是Microsoft更好的遏制非法软件授权行为(盗版)。

首先在vlmcsd/releases下载最新版本

#下载vlmcsd

wget wget https://github.com/Wind4/vlmcsd/releases/download/svn1113/binaries.tar.gz

#解压

tar -zxvf binaries.tar.gz

#进入对应目录

cd binaries/Linux/intel/static

#将vlmcsd的二进制文件拷贝到/usr/sbin

cp vlmcsd-x64-musl-static /usr/sbin/vlmcsd
[root@localhost ~]# vlmcsd -h
vlmcsd 1113, built 2020-03-28 17:20:35 UTC

Usage:
   vlmcsd [ options ]

Where:
  -u <user>		set uid to <user>
  -g <group>		set gid to <group>
  -a <csvlk>=<epid>	use <epid> for <csvlk>
  -r 0|1|2		set ePID randomization level (default 1)
  -C <LCID>		use fixed <LCID> in random ePIDs
  -H <build>		use fixed <build> number in random ePIDs
  -o 0|1|2|3		set protection level against clients with public IP addresses (default 0)
  -x <level>		exit if warning <level> reached (default 0)
  -L <address>[:<port>]	listen on IP address <address> with optional <port>
  -P <port>		set TCP port <port> for subsequent -L statements (default 1688)
  -F0, -F1		disable/enable binding to foreign IP addresses
  -m <clients>		Handle max. <clients> simultaneously (default no limit)
  -e			log to stdout
  -D			run in foreground
  -K 0|1|2|3		set white-listing level for KMS IDs (default -K0)
  -c0, -c1		disable/enable client time checking (default -c0)
  -M0, -M1		disable/enable maintaining clients (default -M0)
  -E0, -E1		disable/enable start with empty client list (default -E0, ignored if -M0)
  -t <seconds>		disconnect clients after <seconds> of inactivity (default 30)
  -d			disconnect clients after each request
  -k			don't disconnect clients after each request (default)
  -N0, -N1		disable/enable NDR64
  -B0, -B1		disable/enable bind time feature negotiation
  -p <file>		write pid to <file>
  -i <file>		use config file <file>
  -j <file>		use KMS data file <file>
  -R <interval>		renew activation every <interval> (default 1w)
  -A <interval>		retry activation every <interval> (default 2h)
  -l syslog		log to syslog
  -l <file>		log to <file>
  -T0, -T1		disable/enable logging with time and date (default -T1)
  -v			log verbose
  -q			don't log verbose (default)
  -V			display version information and exit
[root@localhost ~]# netstat -apn|grep 'vlmcsd'
tcp        0      0 0.0.0.0:1688            0.0.0.0:*               LISTEN      5032/vlmcsd         
tcp6       0      0 :::1688                 :::*                    LISTEN      5032/vlmcsd     

防火墙开放TCP的1688端口

[root@localhost ~]# firewall-cmd --zone=public --add-port=1688/tcp --permanent
success
[root@localhost ~]# firewall-cmd --reload
success
slmgr.vbs -upk
slmgr.vbs -ipk NRG8B-VKK3Q-CXVCJ-9G2XF-6Q84J        #注意!!不同系统版本这里的激活码不一样
slmgr.vbs -skms 192.168.116.135                     #服务器地址
slmgr.vbs -ato
slmgr.vbs -dlv



激活常用查询信息命令
slmgr.vbs
激活信息,含激活ID、安装ID、激活截止日期
slmgr.vbs -dlv
操作系统的版本、一部分产品密钥、激活类型以及许可证状态
slmgr.vbs -dli
操作系统是否为永久激活
slmgr.vbs -xpr

 

admin
我还没有学会写个人说明!
查看“admin”的所有文章 →

发表评论

电子邮件地址不会被公开。 必填项已用*标注

相关推荐