批处理密钥加密器

前言

批处理,也就是批处理脚本。批处理就是对某对象进行批量的处理,通常被认为是一种简化的脚本语言,应用于DOS和Windows系统中。批处理文件的扩展名为bat

还没开始玩Wordpress沉迷于批处理脚本语言不能自拔。我只是过来写(水)一篇文章,瞎写的一个密钥加密器代码全靠复制粘贴,请dalao勿喷求放过啊 :huaji11:

效果图:


加密器

以下代码用记事本编辑保存为.bat

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
@echo off
cls
title 加密器 
mode con: cols=48 lines=16
color 0F
:init
setlocal DisableDelayedExpansion
set "batchPath=%~0"
for %%k in (%0) do set batchName=%%~nk
set "vbsGetPrivileges=%temp%\OEgetPriv_%batchName%.vbs"
setlocal EnableDelayedExpansion
:checkPrivileges
NET FILE 1>NUL 2>NUL
if '%errorlevel%' == '0' ( goto gotPrivileges ) else ( goto getPrivileges )
:getPrivileges
if '%1'=='ELEV' (echo ELEV & shift /1 & goto gotPrivileges)
ECHO.
ECHO Set UAC = CreateObject^("Shell.Application"^) > "%vbsGetPrivileges%"
ECHO args = "ELEV " >> "%vbsGetPrivileges%"
ECHO For Each strArg in WScript.Arguments >> "%vbsGetPrivileges%"
ECHO args = args ^& strArg ^& " "  >> "%vbsGetPrivileges%"
ECHO Next >> "%vbsGetPrivileges%"
ECHO UAC.ShellExecute "!batchPath!", args, "", "runas", 1 >> "%vbsGetPrivileges%"
"%SystemRoot%\System32\WScript.exe" "%vbsGetPrivileges%" %*
exit /B
:gotPrivileges
setlocal & pushd .
cd /d %~dp0
if '%1'=='ELEV' (del "%vbsGetPrivileges%" 1>nul 2>nul  &  shift /1)
:menu
cls
echo By Mlldxe's Blog(www.mlldxe.cn)
:f1
echo ================================================
set /p str=请输入密钥:
set temp1=%str:~0,1%
set temp2=%str:~1,1%
set temp3=%str:~2,1%
set temp4=%str:~3,1%
set temp5=%str:~4,1%
set temp6=%str:~6,1%
set temp7=%str:~7,1%
set temp8=%str:~8,1%
set temp9=%str:~9,1%
set temp10=%str:~10,1%
set temp11=%str:~12,1%
set temp12=%str:~13,1%
set temp13=%str:~14,1%
set temp14=%str:~15,1%
set temp15=%str:~16,1%
set temp16=%str:~18,1%
set temp17=%str:~19,1%
set temp18=%str:~20,1%
set temp19=%str:~21,1%
set temp20=%str:~22,1%
set temp21=%str:~24,1%
set temp22=%str:~25,1%
set temp23=%str:~26,1%
set temp24=%str:~27,1%
set temp25=%str:~28,1%
set allstr=%str%
set temp30=%allstr:~0,1%
set temp31=%allstr:~1,1%
set temp32=%allstr:~2,1%
set temp33=%allstr:~3,1%
set temp34=%allstr:~4,1%
set temp35=%allstr:~5,1%
set temp36=%allstr:~6,1%
set temp37=%allstr:~7,1%
set temp38=%allstr:~8,1%
set temp39=%allstr:~9,1%
set temp40=%allstr:~10,1%
set temp41=%allstr:~11,1%
set temp42=%allstr:~12,1%
set temp43=%allstr:~13,1%
set temp44=%allstr:~14,1%
set temp45=%allstr:~15,1%
set temp46=%allstr:~16,1%
set temp47=%allstr:~17,1%
set temp48=%allstr:~18,1%
set temp49=%allstr:~19,1%
set temp50=%allstr:~20,1%
set temp51=%allstr:~21,1%
set temp52=%allstr:~22,1%
set temp53=%allstr:~23,1%
set temp54=%allstr:~24,1%
set temp55=%allstr:~25,1%
set temp56=%allstr:~26,1%
set temp57=%allstr:~27,1%
set temp58=%allstr:~28,1%
set all=%temp30%%temp31%%temp32%%temp33%%temp34%%temp35%%temp36%%temp37%%temp38%%temp39%%temp40%%temp41%%temp42%%temp43%%temp44%%temp45%%temp46%%temp47%%temp48%%temp49%%temp50%%temp51%%temp52%%temp53%%temp54%%temp55%%temp56%%temp57%%temp58%
set noall=%temp1%%temp2%%temp3%%temp4%%temp5%-%temp6%%temp7%%temp8%%temp9%%temp10%-%temp11%%temp12%%temp13%%temp14%%temp15%-%temp16%%temp17%%temp18%%temp19%%temp20%-%temp21%%temp22%%temp23%%temp24%%temp25%
if "%all%"=="%noall%" goto S1
echo 输入错误!请核对后重新输入!
goto f1
:S1
setlocal enabledelayedexpansion
for /l %%i in (1,1,25) do (
set tempx=!temp%%i!
if "!tempx!"=="a" set temp%%i=10
if "!tempx!"=="A" set temp%%i=10
if "!tempx!"=="b" set temp%%i=11
if "!tempx!"=="B" set temp%%i=11
if "!tempx!"=="c" set temp%%i=12
if "!tempx!"=="C" set temp%%i=12
if "!tempx!"=="d" set temp%%i=13
if "!tempx!"=="D" set temp%%i=13
if "!tempx!"=="e" set temp%%i=14
if "!tempx!"=="E" set temp%%i=14
if "!tempx!"=="f" set temp%%i=15
if "!tempx!"=="F" set temp%%i=15
if "!tempx!"=="g" set temp%%i=16
if "!tempx!"=="G" set temp%%i=16
if "!tempx!"=="h" set temp%%i=17
if "!tempx!"=="H" set temp%%i=17
if "!tempx!"=="i" set temp%%i=18
if "!tempx!"=="I" set temp%%i=18
if "!tempx!"=="j" set temp%%i=19
if "!tempx!"=="J" set temp%%i=19
if "!tempx!"=="k" set temp%%i=20
if "!tempx!"=="K" set temp%%i=20
if "!tempx!"=="l" set temp%%i=21
if "!tempx!"=="L" set temp%%i=21
if "!tempx!"=="m" set temp%%i=22
if "!tempx!"=="M" set temp%%i=22
if "!tempx!"=="n" set temp%%i=23
if "!tempx!"=="N" set temp%%i=23
if "!tempx!"=="o" set temp%%i=24
if "!tempx!"=="O" set temp%%i=24
if "!tempx!"=="p" set temp%%i=25
if "!tempx!"=="P" set temp%%i=25
if "!tempx!"=="q" set temp%%i=26
if "!tempx!"=="Q" set temp%%i=26
if "!tempx!"=="r" set temp%%i=27
if "!tempx!"=="R" set temp%%i=27
if "!tempx!"=="s" set temp%%i=28
if "!tempx!"=="S" set temp%%i=28
if "!tempx!"=="t" set temp%%i=29
if "!tempx!"=="T" set temp%%i=29
if "!tempx!"=="u" set temp%%i=30
if "!tempx!"=="U" set temp%%i=30
if "!tempx!"=="v" set temp%%i=31
if "!tempx!"=="V" set temp%%i=31
if "!tempx!"=="w" set temp%%i=32
if "!tempx!"=="W" set temp%%i=32
if "!tempx!"=="x" set temp%%i=33
if "!tempx!"=="X" set temp%%i=33
if "!tempx!"=="y" set temp%%i=34
if "!tempx!"=="Y" set temp%%i=34
if "!tempx!"=="z" set temp%%i=35
if "!tempx!"=="Z" set temp%%i=35
)
set /p runkey=请输入加密数字:
set runkey1=%runkey:~0,1%
set runkey2=%runkey:~1,1%
set runkey3=%runkey:~2,1%
set runkey4=%runkey:~3,1%
set /a temp1=%temp1%+%runkey1%
set /a temp2=%temp2%+%runkey4%
set /a temp3=%temp3%+%runkey2%
set /a temp4=%temp4%+%runkey4%
set /a temp5=%temp5%+%runkey3%
set /a temp6=%temp6%+%runkey2%
set /a temp7=%temp7%+%runkey3%
set /a temp8=%temp8%+%runkey4%
set /a temp9=%temp9%+%runkey4%
set /a temp10=%temp10%+%runkey1%
set /a temp11=%temp11%+%runkey3%
set /a temp12=%temp12%+%runkey4%
set /a temp13=%temp13%+%runkey1%
set /a temp14=%temp14%+%runkey2%
set /a temp15=%temp15%+%runkey4%
set /a temp16=%temp16%+%runkey4%
set /a temp17=%temp17%+%runkey4%
set /a temp18=%temp18%+%runkey1%
set /a temp19=%temp19%+%runkey3%
set /a temp20=%temp20%+%runkey3%
set /a temp21=%temp21%+%runkey2%
set /a temp22=%temp22%+%runkey3%
set /a temp23=%temp23%+%runkey1%
set /a temp24=%temp24%+%runkey4%
set /a temp25=%temp25%+%runkey4%
set key1=%temp1%
set key2=%temp2%
set key3=%temp3%
set key4=%temp4%
set key5=%temp5%
set key6=%temp6%
set key7=%temp7%
set key8=%temp8%
set key9=%temp9%
set key10=%temp10%
set key11=%temp11%
set key12=%temp12%
set key13=%temp13%
set key14=%temp14%
set key15=%temp15%
set key16=%temp16%
set key17=%temp17%
set key18=%temp18%
set key19=%temp19%
set key20=%temp20%
set key21=%temp21%
set key22=%temp22%
set key23=%temp23%
set key24=%temp24%
set key25=%temp25%
FOR /L %%I in (1,1,25) do (
set tempX=!temp%%I!
IF "!tempX!"=="10" set key%%I=A
IF "!tempX!"=="11" set key%%I=B
IF "!tempX!"=="12" set key%%I=C
IF "!tempX!"=="13" set key%%I=D
IF "!tempX!"=="14" set key%%I=E
IF "!tempX!"=="15" set key%%I=F
IF "!tempX!"=="16" set key%%I=G
IF "!tempX!"=="17" set key%%I=H
IF "!tempX!"=="18" set key%%I=I
IF "!tempX!"=="19" set key%%I=J
IF "!tempX!"=="20" set key%%I=K
IF "!tempX!"=="21" set key%%I=L
IF "!tempX!"=="22" set key%%I=M
IF "!tempX!"=="23" set key%%I=N
IF "!tempX!"=="24" set key%%I=O
IF "!tempX!"=="25" set key%%I=P
IF "!tempX!"=="26" set key%%I=Q
IF "!tempX!"=="27" set key%%I=R
IF "!tempX!"=="28" set key%%I=S
IF "!tempX!"=="29" set key%%I=T
IF "!tempX!"=="30" set key%%I=U
IF "!tempX!"=="31" set key%%I=V
IF "!tempX!"=="32" set key%%I=W
IF "!tempX!"=="33" set key%%I=X
IF "!tempX!"=="34" set key%%I=Y
IF "!tempX!"=="35" set key%%I=Z
IF "!tempX!"=="36" set key%%I=0
IF "!tempX!"=="37" set key%%I=1
IF "!tempX!"=="38" set key%%I=2
IF "!tempX!"=="39" set key%%I=3
IF "!tempX!"=="40" set key%%I=4
IF "!tempX!"=="41" set key%%I=5
IF "!tempX!"=="42" set key%%I=6
IF "!tempX!"=="43" set key%%I=7
IF "!tempX!"=="44" set key%%I=8
)
setlocal enabledelayedexpansion
::1
set str=ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789
set/a a=%random%%%35
::2
set str=ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789
set/a b=%random%%%35
::3
set str=ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789
set/a c=%random%%%35
::4
set str=ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789
set/a d=%random%%%35
::5
set str=ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789
set/a e=%random%%%35
echo ================================================
echo 加密密钥:%key1%%key2%%key3%%key4%%key5%!str:~%a%,1!-%key6%%key7%%key8%%key9%%key10%!str:~%b%,1!-%key11%%key12%%key13%%key14%%key15%!str:~%c%,1!-%key16%%key17%%key18%%key19%%key20%!str:~%d%,1!-%key21%%key22%%key23%%key24%%key25%!str:~%e%,1!
echo.
echo.
echo 按任意键返回菜单
pause >nul
goto menu

安装器

以下代码用记事本编辑保存为.bat

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
@echo off
title 安装器  
mode con: cols=48 lines=18
color 0F
:init
setlocal DisableDelayedExpansion
set "batchPath=%~0"
for %%k in (%0) do set batchName=%%~nk
set "vbsGetPrivileges=%temp%\OEgetPriv_%batchName%.vbs"
setlocal EnableDelayedExpansion
:checkPrivileges
NET FILE 1>NUL 2>NUL
if '%errorlevel%' == '0' ( goto gotPrivileges ) else ( goto getPrivileges )
:getPrivileges
if '%1'=='ELEV' (echo ELEV & shift /1 & goto gotPrivileges)
ECHO.
ECHO Set UAC = CreateObject^("Shell.Application"^) > "%vbsGetPrivileges%"
ECHO args = "ELEV " >> "%vbsGetPrivileges%"
ECHO For Each strArg in WScript.Arguments >> "%vbsGetPrivileges%"
ECHO args = args ^& strArg ^& " "  >> "%vbsGetPrivileges%"
ECHO Next >> "%vbsGetPrivileges%"
ECHO UAC.ShellExecute "!batchPath!", args, "", "runas", 1 >> "%vbsGetPrivileges%"
"%SystemRoot%\System32\WScript.exe" "%vbsGetPrivileges%" %*
exit /B
:gotPrivileges
setlocal & pushd .
cd /d %~dp0
if '%1'=='ELEV' (del "%vbsGetPrivileges%" 1>nul 2>nul  &  shift /1)
:menu
cls
echo By Mlldxe's Blog(www.mlldxe.cn)
echo ================================================
set num=%random:~0,2%%random:~0,2%
echo 请反馈此数字获取加密密钥:%num%
echo.
:first
set /p str=请输入加密密钥:
set temp1=%str:~0,1%
set temp2=%str:~1,1%
set temp3=%str:~2,1%
set temp4=%str:~3,1%
set temp5=%str:~4,1%
set temp6=%str:~7,1%
set temp7=%str:~8,1%
set temp8=%str:~9,1%
set temp9=%str:~10,1%
set temp10=%str:~11,1%
set temp11=%str:~14,1%
set temp12=%str:~15,1%
set temp13=%str:~16,1%
set temp14=%str:~17,1%
set temp15=%str:~18,1%
set temp16=%str:~21,1%
set temp17=%str:~22,1%
set temp18=%str:~23,1%
set temp19=%str:~24,1%
set temp20=%str:~25,1%
set temp21=%str:~28,1%
set temp22=%str:~29,1%
set temp23=%str:~30,1%
set temp24=%str:~31,1%
set temp25=%str:~32,1%
set allstr=%str%
set temp30=%allstr:~0,1%
set temp31=%allstr:~1,1%
set temp32=%allstr:~2,1%
set temp33=%allstr:~3,1%
set temp34=%allstr:~4,1%
set temp35=%allstr:~6,1%
set temp36=%allstr:~7,1%
set temp37=%allstr:~8,1%
set temp38=%allstr:~9,1%
set temp39=%allstr:~10,1%
set temp40=%allstr:~11,1%
set temp41=%allstr:~13,1%
set temp42=%allstr:~14,1%
set temp43=%allstr:~15,1%
set temp44=%allstr:~16,1%
set temp45=%allstr:~17,1%
set temp46=%allstr:~18,1%
set temp47=%allstr:~20,1%
set temp48=%allstr:~21,1%
set temp49=%allstr:~22,1%
set temp50=%allstr:~23,1%
set temp51=%allstr:~24,1%
set temp52=%allstr:~25,1%
set temp53=%allstr:~27,1%
set temp54=%allstr:~28,1%
set temp55=%allstr:~29,1%
set temp56=%allstr:~30,1%
set temp57=%allstr:~31,1%
set temp58=%allstr:~32,1%
set all=%temp30%%temp31%%temp32%%temp33%%temp34%%temp35%%temp36%%temp37%%temp38%%temp39%%temp40%%temp41%%temp42%%temp43%%temp44%%temp45%%temp46%%temp47%%temp48%%temp49%%temp50%%temp51%%temp52%%temp53%%temp54%%temp55%%temp56%%temp57%%temp58%
set noall=%temp1%%temp2%%temp3%%temp4%%temp5%-%temp6%%temp7%%temp8%%temp9%%temp10%-%temp11%%temp12%%temp13%%temp14%%temp15%-%temp16%%temp17%%temp18%%temp19%%temp20%-%temp21%%temp22%%temp23%%temp24%%temp25%
if "%all%"=="%noall%" goto S1
echo 输入错误!请核对后重新输入!
goto first
::==================================================================================================================================================================================================================================================================
:S1
setlocal enabledelayedexpansion
for /l %%i in (1,1,25) do (
set tempx=!temp%%i!
if "!tempx!"=="a" set temp%%i=10
if "!tempx!"=="A" set temp%%i=10
if "!tempx!"=="b" set temp%%i=11
if "!tempx!"=="B" set temp%%i=11
if "!tempx!"=="c" set temp%%i=12
if "!tempx!"=="C" set temp%%i=12
if "!tempx!"=="d" set temp%%i=13
if "!tempx!"=="D" set temp%%i=13
if "!tempx!"=="e" set temp%%i=14
if "!tempx!"=="E" set temp%%i=14
if "!tempx!"=="f" set temp%%i=15
if "!tempx!"=="F" set temp%%i=15
if "!tempx!"=="g" set temp%%i=16
if "!tempx!"=="G" set temp%%i=16
if "!tempx!"=="h" set temp%%i=17
if "!tempx!"=="H" set temp%%i=17
if "!tempx!"=="i" set temp%%i=18
if "!tempx!"=="I" set temp%%i=18
if "!tempx!"=="j" set temp%%i=19
if "!tempx!"=="J" set temp%%i=19
if "!tempx!"=="k" set temp%%i=20
if "!tempx!"=="K" set temp%%i=20
if "!tempx!"=="l" set temp%%i=21
if "!tempx!"=="L" set temp%%i=21
if "!tempx!"=="m" set temp%%i=22
if "!tempx!"=="M" set temp%%i=22
if "!tempx!"=="n" set temp%%i=23
if "!tempx!"=="N" set temp%%i=23
if "!tempx!"=="o" set temp%%i=24
if "!tempx!"=="O" set temp%%i=24
if "!tempx!"=="p" set temp%%i=25
if "!tempx!"=="P" set temp%%i=25
if "!tempx!"=="q" set temp%%i=26
if "!tempx!"=="Q" set temp%%i=26
if "!tempx!"=="r" set temp%%i=27
if "!tempx!"=="R" set temp%%i=27
if "!tempx!"=="s" set temp%%i=28
if "!tempx!"=="S" set temp%%i=28
if "!tempx!"=="t" set temp%%i=29
if "!tempx!"=="T" set temp%%i=29
if "!tempx!"=="u" set temp%%i=30
if "!tempx!"=="U" set temp%%i=30
if "!tempx!"=="v" set temp%%i=31
if "!tempx!"=="V" set temp%%i=31
if "!tempx!"=="w" set temp%%i=32
if "!tempx!"=="W" set temp%%i=32
if "!tempx!"=="x" set temp%%i=33
if "!tempx!"=="X" set temp%%i=33
if "!tempx!"=="y" set temp%%i=34
if "!tempx!"=="Y" set temp%%i=34
if "!tempx!"=="z" set temp%%i=35
if "!tempx!"=="Z" set temp%%i=35
)
::↑正确============================================================================================
set  runkey=!num!
set runkey1=%runkey:~0,1%
set runkey2=%runkey:~1,1%
set runkey3=%runkey:~2,1%
set runkey4=%runkey:~3,1%
set /a temp1=%temp1%-%runkey1%
set /a temp2=%temp2%-%runkey4%
set /a temp3=%temp3%-%runkey2%
set /a temp4=%temp4%-%runkey4%
set /a temp5=%temp5%-%runkey3%
set /a temp6=%temp6%-%runkey2%
set /a temp7=%temp7%-%runkey3%
set /a temp8=%temp8%-%runkey4%
set /a temp9=%temp9%-%runkey4%
set /a temp10=%temp10%-%runkey1%
set /a temp11=%temp11%-%runkey3%
set /a temp12=%temp12%-%runkey4%
set /a temp13=%temp13%-%runkey1%
set /a temp14=%temp14%-%runkey2%
set /a temp15=%temp15%-%runkey4%
set /a temp16=%temp16%-%runkey4%
set /a temp17=%temp17%-%runkey4%
set /a temp18=%temp18%-%runkey1%
set /a temp19=%temp19%-%runkey3%
set /a temp20=%temp20%-%runkey3%
set /a temp21=%temp21%-%runkey2%
set /a temp22=%temp22%-%runkey3%
set /a temp23=%temp23%-%runkey1%
set /a temp24=%temp24%-%runkey4%
set /a temp25=%temp25%-%runkey4%
set key1=%temp1%
set key2=%temp2%
set key3=%temp3%
set key4=%temp4%
set key5=%temp5%
set key6=%temp6%
set key7=%temp7%
set key8=%temp8%
set key9=%temp9%
set key10=%temp10%
set key11=%temp11%
set key12=%temp12%
set key13=%temp13%
set key14=%temp14%
set key15=%temp15%
set key16=%temp16%
set key17=%temp17%
set key18=%temp18%
set key19=%temp19%
set key20=%temp20%
set key21=%temp21%
set key22=%temp22%
set key23=%temp23%
set key24=%temp24%
set key25=%temp25%
FOR /L %%I in (1,1,25) do (
set tempX=!temp%%I!
IF "!tempX!"=="10" set key%%I=A
IF "!tempX!"=="11" set key%%I=B
IF "!tempX!"=="12" set key%%I=C
IF "!tempX!"=="13" set key%%I=D
IF "!tempX!"=="14" set key%%I=E
IF "!tempX!"=="15" set key%%I=F
IF "!tempX!"=="16" set key%%I=G
IF "!tempX!"=="17" set key%%I=H
IF "!tempX!"=="18" set key%%I=I
IF "!tempX!"=="19" set key%%I=J
IF "!tempX!"=="20" set key%%I=K
IF "!tempX!"=="21" set key%%I=L
IF "!tempX!"=="22" set key%%I=M
IF "!tempX!"=="23" set key%%I=N
IF "!tempX!"=="24" set key%%I=O
IF "!tempX!"=="25" set key%%I=P
IF "!tempX!"=="26" set key%%I=Q
IF "!tempX!"=="27" set key%%I=R
IF "!tempX!"=="28" set key%%I=S
IF "!tempX!"=="29" set key%%I=T
IF "!tempX!"=="30" set key%%I=U
IF "!tempX!"=="31" set key%%I=V
IF "!tempX!"=="32" set key%%I=W
IF "!tempX!"=="33" set key%%I=X
IF "!tempX!"=="34" set key%%I=Y
IF "!tempX!"=="35" set key%%I=Z
IF "!tempX!"=="-26" set key%%I=A
IF "!tempX!"=="-25" set key%%I=B
IF "!tempX!"=="-24" set key%%I=C
IF "!tempX!"=="-23" set key%%I=D
IF "!tempX!"=="-22" set key%%I=E
IF "!tempX!"=="-21" set key%%I=F
IF "!tempX!"=="-20" set key%%I=G
IF "!tempX!"=="-19" set key%%I=H
IF "!tempX!"=="-18" set key%%I=I
IF "!tempX!"=="-17" set key%%I=J
IF "!tempX!"=="-16" set key%%I=K
IF "!tempX!"=="-15" set key%%I=L
IF "!tempX!"=="-14" set key%%I=M
IF "!tempX!"=="-13" set key%%I=N
IF "!tempX!"=="-12" set key%%I=O
IF "!tempX!"=="-11" set key%%I=P
IF "!tempX!"=="-10" set key%%I=Q
IF "!tempX!"=="-9" set key%%I=R
IF "!tempX!"=="-8" set key%%I=S
IF "!tempX!"=="-7" set key%%I=T
IF "!tempX!"=="-6" set key%%I=U
IF "!tempX!"=="-5" set key%%I=V
IF "!tempX!"=="-4" set key%%I=W
IF "!tempX!"=="-3" set key%%I=X
IF "!tempX!"=="-2" set key%%I=Y
IF "!tempX!"=="-1" set key%%I=Z
)
set key=%key1%%key2%%key3%%key4%%key5%-%key6%%key7%%key8%%key9%%key10%-%key11%%key12%%key13%%key14%%key15%-%key16%%key17%%key18%%key19%%key20%-%key21%%key22%%key23%%key24%%key25%
echo.
echo 密钥:%key%
echo.
echo.
echo 按任意键返回菜单
pause >nul
goto menu

上面代码用记事本编辑保存为.bat,例如:加密器.bat安装器.bat

获取秘钥


END
自己发挥求dalao勿喷(逃)


>>原创文章,欢迎转载。转载请注明:转载自Mlldxe's Blog,谢谢!
>>原文链接地址:批处理密钥加密器
点赞

发表评论

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