Skip to content

Commit 550df56

Browse files
committed
vlmcsd-1111-2017-06-17-Hotbird64
1 parent 5a29226 commit 550df56

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+2206
-2026
lines changed

VisualStudio/vlmcsd/vlmcsd.vcxproj

100755100644
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
3030
<ConfigurationType>Application</ConfigurationType>
3131
<UseDebugLibraries>true</UseDebugLibraries>
32-
<PlatformToolset>v140_xp</PlatformToolset>
32+
<PlatformToolset>v141_xp</PlatformToolset>
3333
<CharacterSet>MultiByte</CharacterSet>
3434
</PropertyGroup>
3535
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration">
@@ -41,7 +41,7 @@
4141
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
4242
<ConfigurationType>Application</ConfigurationType>
4343
<UseDebugLibraries>true</UseDebugLibraries>
44-
<PlatformToolset>v140_xp</PlatformToolset>
44+
<PlatformToolset>v141_xp</PlatformToolset>
4545
<CharacterSet>MultiByte</CharacterSet>
4646
</PropertyGroup>
4747
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
@@ -137,13 +137,14 @@
137137
</ItemDefinitionGroup>
138138
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
139139
<ClCompile>
140-
<WarningLevel>Level3</WarningLevel>
140+
<WarningLevel>Level4</WarningLevel>
141141
<Optimization>Disabled</Optimization>
142142
<SDLCheck>true</SDLCheck>
143143
<PreprocessorDefinitions>_USING_V110_SDK71_;%(PreprocessorDefinitions);_CRYPTO_WINDOWS;_PEDANTIC</PreprocessorDefinitions>
144144
<MultiProcessorCompilation>true</MultiProcessorCompilation>
145145
<MinimalRebuild>false</MinimalRebuild>
146146
<AdditionalOptions>$(ExternalCompilerOptions) %(AdditionalOptions)</AdditionalOptions>
147+
<DisableSpecificWarnings>4201;4200;4214;4706</DisableSpecificWarnings>
147148
</ClCompile>
148149
<Link>
149150
<SubSystem>Console</SubSystem>

VisualStudio/vlmcsd/vlmcsd.vcxproj.filters

100755100644
File mode changed.

VisualStudio/vlmcsdmulti/vlmcsdmulti.vcxproj

100755100644
File mode changed.

VisualStudio/vlmcsdmulti/vlmcsdmulti.vcxproj.filters

100755100644
File mode changed.

etc/vlmcsd.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
# Set ePID/HwId for Office 2016 (including Visio and Project) explicitly
2424
;Office2016 = 06401-00206-437-444444-03-1033-9600.0000-3622014 / 01 02 03 04 05 06 07 08
2525

26+
# Set ePID/HwId for Windows China Government (Enterprise G/GN) explicitly
27+
;WinChinaGov = 06401-03858-000-555555-03-1033-9600.0000-3622014 / 01 02 03 04 05 06 07 08
28+
2629
# Use a compatible VPN device to create a hidden local IPv4 address
2730
# Command line: -O
2831
# VPN = <VPN adapter name>[=<IPv4 address>][/<CIDR mask>][:<DHCP lease duration>]

etc/vlmcsd.kmd

385 Bytes
Binary file not shown.

floppy/floppy144.vfd

0 Bytes
Binary file not shown.

hotbird64-mass-build/make_windows

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ cd "$( dirname "$0" )"
44

55
export VLMCSD_VERSION=$(git describe)
66

7-
msbuild='/cygdrive/c/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe'
7+
msbuild='/cygdrive/c/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/MSBuild/15.0/Bin/amd64/msbuild.exe'
88
version="$VLMCSD_VERSION, built $(date -u '+%Y-%m-%d %H:%M:%S') UTC"
99

1010
make -C .. clean
@@ -41,7 +41,7 @@ make $MAKEFLAGS MSRPC=1 THREADS=1 DNS_PARSER=internal CLIENT_NAME=../bin/vlmcs-c
4141
make $MAKEFLAGS vlmcsdmulti MSRPC=1 THREADS=1 DNS_PARSER=internal MULTI_NAME=../bin/vlmcsdmulti-cygwin-msrpc-x64 CC=x86_64-pc-cygwin-gcc.exe CFLAGS="$CFMSRPC -flto=jobserver" PLATFORMFLAGS="$PF64" LDFLAGS="$LFCYG64"
4242
make $MAKEFLAGS vlmcsdmulti MSRPC=1 THREADS=1 DNS_PARSER=internal MULTI_NAME=../bin/vlmcsdmulti-cygwin-msrpc-x86 CC=i686-pc-cygwin-gcc.exe CFLAGS="$CFMSRPC -flto=jobserver" PLATFORMFLAGS="$PF32" LDFLAGS="$LFCYG32"
4343

44-
make $MAKEFLAGS THREADS=1 MSRPC=1 DNS_PARSER=internal CLIENT_NAME=../bin/vlmcs-cygwin-msrpc-x86-openssl-EXPERIMENTAL CRYPTO=openssl_with_aes PROGRAM_NAME=../bin/vlmcsd-cygwin-x86-openssl-EXPERIMENTAL CC=i686-pc-cygwin-gcc.exe CFLAGS="$CFMSRPC" PLATFORMFLAGS="$PF32" LDFLAGS="$LFCYG32"
44+
#make $MAKEFLAGS THREADS=1 MSRPC=1 DNS_PARSER=internal CLIENT_NAME=../bin/vlmcs-cygwin-msrpc-x86-openssl-EXPERIMENTAL CRYPTO=openssl_with_aes PROGRAM_NAME=../bin/vlmcsd-cygwin-x86-openssl-EXPERIMENTAL CC=i686-pc-cygwin-gcc.exe CFLAGS="$CFMSRPC" PLATFORMFLAGS="$PF32" LDFLAGS="$LFCYG32"
4545
make $MAKEFLAGS THREADS=1 MSRPC=1 DNS_PARSER=internal CLIENT_NAME=../bin/vlmcs-cygwin-msrpc-x64-openssl-EXPERIMENTAL CRYPTO=openssl_with_aes PROGRAM_NAME=../bin/vlmcsd-cygwin-x64-openssl-EXPERIMENTAL CC=x86_64-pc-cygwin-gcc.exe CFLAGS="$CFMSRPC" PLATFORMFLAGS="$PF64" LDFLAGS="$LFCYG64"
4646

4747
export CAT=2

man/GNUmakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ DOSDOCS = $(PDFDOCS:.pdf=.dos.txt)
1919
groff -Thtml -mandoc -c $< > $@
2020

2121
%.unix.txt : %
22-
groff -P -c -Tutf8 -mandoc -c $< | col -bx > $@
22+
groff -P -c -Tascii -mandoc -c $< | col -bx > $@
2323

2424
%.dos.txt : %.unix.txt
2525
# unix2dos -n $< $@

man/vlmcs.1.dos.txt

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ OPTIONS
5252
Show help.
5353

5454

55-
-V Displays extended version information. This includes the com
56-
piler used to build vlmcs, the intended platform and flags (com
55+
-V Displays extended version information. This includes the com-
56+
piler used to build vlmcs, the intended platform and flags (com-
5757
pile time options) to build vlmcs. If you have the source code
5858
of vlmcsd, you can type make help (or gmake help on systems that
5959
do not use the GNU version of make(1) by default) to see the
@@ -72,7 +72,7 @@ OPTIONS
7272

7373

7474
-l application
75-
Request activation for a specific application. Valid applica
75+
Request activation for a specific application. Valid applica-
7676
tions can be displayed by using -x. The default application is
7777
Windows Vista Business. The list of available applications is
7878
not complete. You may supply GUIDs with -a, -k and -s to specify
@@ -91,7 +91,7 @@ OPTIONS
9191
vlmcs ignores the minor protocol number (e.g. sends a v4 request
9292
for version 4.1). If the major version number is less then 4, it
9393
sends a v4 request. If the major version is greater then 6, it
94-
sends a v6 request. In any case the protocol-version as speci
94+
sends a v6 request. In any case the protocol-version as speci-
9595
fied by -K is put in the version fields of the request.
9696

9797

@@ -115,18 +115,18 @@ OPTIONS
115115
this flag.
116116

117117

118-
-d Use NetBIOS names instead of DNS names. By default vlmcsd gener
119-
ates some random DNS names for each request. If you prefer Net
118+
-d Use NetBIOS names instead of DNS names. By default vlmcsd gener-
119+
ates some random DNS names for each request. If you prefer Net-
120120
BIOS names, you may use -d. A real Microsoft activation client
121-
uses DNS names or NetBIOS depending on the client name configu
121+
uses DNS names or NetBIOS depending on the client name configu-
122122
ration. KMS servers treat the workstation name as a comment that
123123
affects logging only. Clients will be identified by a GUID that
124124
can be specified using -c. -d has no effect if you also specify
125125
-w.
126126

127127

128128
-a application-guid
129-
Send requests with a specific application-guid. There are cur
129+
Send requests with a specific application-guid. There are cur-
130130
rently only three known valid application-guids:
131131

132132

@@ -135,7 +135,7 @@ OPTIONS
135135
0ff1ce15-a989-479d-af46-f275c6370663 (Office 2013)
136136

137137

138-
A Microsoft KMS server uses these GUIDs to have seperate coun
138+
A Microsoft KMS server uses these GUIDs to have seperate coun-
139139
ters for the already activated clients. A client that does not
140140
contact the KMS server within 30 days will be deleted from the
141141
database. Emulated KMS servers are always fully charged.
@@ -153,8 +153,8 @@ OPTIONS
153153
The activation-guid defines the actual product, e.g. "Windows
154154
8.1 Professional WMC KMSCLIENT edition". A activation-guid maps
155155
1:1 to a product key. However, neither a Microsoft KMS server
156-
nor emulated servers check this id. The activation-guid is use
157-
ful in logging to get a specific product description like "Win
156+
nor emulated servers check this id. The activation-guid is use-
157+
ful in logging to get a specific product description like "Win-
158158
dows 8.1 Professional WMC". A list of current activation-guids
159159
can be found in kms.c (table ExtendedProductList).
160160

@@ -171,7 +171,7 @@ OPTIONS
171171
test an emulated KMS server whether it suffers from memory
172172
leaks. To test for memory leaks use -n with a large number of
173173
requests (> 100000) and then test twice (with and without -T).
174-
This option may become neccessary for future versions of Micro
174+
This option may become neccessary for future versions of Micro-
175175
soft's KMS server because multiple requests with different
176176
clients-guids for the same kms-id-guid are impossible in a real
177177
KMS szenario over the same TCP connection.
@@ -195,9 +195,9 @@ OPTIONS
195195

196196

197197
-G filename
198-
Grabs ePIDs and HWIDs from a KMS server and writes the informa
199-
tion to filename in format suitable to be used as a configura
200-
tion file (aka ini file) for vlmcsd(8). This is especially use
198+
Grabs ePIDs and HWIDs from a KMS server and writes the informa-
199+
tion to filename in format suitable to be used as a configura-
200+
tion file (aka ini file) for vlmcsd(8). This is especially use-
201201
ful if you have access to a genuine KMS server and want to use
202202
the same data with vlmcsd(8).
203203

@@ -229,8 +229,8 @@ OPTIONS
229229
Reports a specific license status to the KMS server. status is a
230230
number that can be from 0 to 6. 0=unlicensed, 1=licensed, 2=OOB
231231
grace, 3=OOT grace, 4=Non-genuinue grace, 5=notification,
232-
6=extended grace. Refer to TechNet http://
233-
technet.microsoft.com/en-us/library/ff686879.aspx#_Toc257201371
232+
6=extended grace. Refer to TechNet <http://
233+
technet.microsoft.com/en-us/library/ff686879.aspx#_Toc257201371>
234234
for more information. A Microsoft KMS server collects this
235235
information for statistics only.
236236

@@ -262,7 +262,7 @@ OPTIONS
262262
Disables (-N0) or enables (-N1) the NDR64 transfer syntax in the
263263
RPC protocol. Disable NDR64 only in case of problems. If NDR64
264264
is not used, vlmcs cannot detect many RPC protocol errors in KMS
265-
emulators. If you want to test whether a KMS emulator fully sup
265+
emulators. If you want to test whether a KMS emulator fully sup-
266266
ports NDR64, you must use the -n option to send at least two
267267
requests. This is because Microsoft's client always sends the
268268
first request using NDR32 syntax and subsequent requests using
@@ -271,7 +271,7 @@ OPTIONS
271271

272272
-B0 and -B1
273273
Disables (-B0) or enables (-B1) bind time feature negotiation
274-
(BTFN) in the RPC protocol. Disable BTFN only in case of prob
274+
(BTFN) in the RPC protocol. Disable BTFN only in case of prob-
275275
lems. If BTFN is not used, vlmcs cannot detect many RPC protocol
276276
errors in KMS emulators.
277277

@@ -314,7 +314,7 @@ EXAMPLES
314314

315315
BUGS
316316
Some platforms (e.g. Solaris) may have a man(7) system that does not
317-
handle URLs. URLs may be omitted in the documentation on those plat
317+
handle URLs. URLs may be omitted in the documentation on those plat-
318318
forms. Cygwin, Linux, FreeBSD and Mac OS X are known to work correctly.
319319

320320

@@ -323,7 +323,7 @@ AUTHOR
323323

324324

325325
CREDITS
326-
Thanks to CODYQX4, crony12, deagles, DougQaid, eIcn, mikmik38, nos
326+
Thanks to CODYQX4, crony12, deagles, DougQaid, eIcn, mikmik38, nos-
327327
ferati87, qad, Ratiborus, vityan666, ...
328328

329329

0 commit comments

Comments
 (0)