China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-21 09:31
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Original] [Discussion] Non-compiled Batch Processing Encryption Scheme and Code DigestI View 110,357 Replies 364
Floor 301 Posted 2008-04-18 17:43 ·  中国 浙江 宁波 电信
初级用户
Credits 32
Posts 32
Joined 2008-04-18 17:22
18-year member
UID 116262
Gender Male
Status Offline
Good stuff, hehe
Floor 302 Posted 2008-04-19 06:28 ·  中国 山东 临沂 电信
初级用户
★★
Credits 100
Posts 67
Joined 2007-06-08 16:48
19-year member
UID 90687
Gender Male
Status Offline
Study. Water. . . . . . . . . . . . . . . . . . .
Floor 303 Posted 2008-04-20 08:44 ·  中国 山东 临沂 电信
初级用户
★★
Credits 100
Posts 67
Joined 2007-06-08 16:48
19-year member
UID 90687
Gender Male
Status Offline
Learned a lot. Now finally found the program I need... Thanks to all the bosses.
Floor 304 Posted 2008-04-20 08:50 ·  中国 山东 临沂 电信
初级用户
★★
Credits 100
Posts 67
Joined 2007-06-08 16:48
19-year member
UID 90687
Gender Male
Status Offline
Combine the password hiding script and the password verification script into one password verification script, and then encrypt it, which has higher security, ^_^
Attach these two scripts, thank you to the authors of these two scripts and the楼主 of this post.
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Password Hiding Script
@echo off

echo hP1X500P[PZBBBfh#b##fXf-V@`$fPf]f3/f1/5++u5>in.com

set /p password=Enter password:<nul

for /f "tokens=*" %%i in ('in.com') do set password=%%i

pause

del in.com

echo.

echo The Password is:"%password%"

pause
Password Verification Script
@echo off
if exist M.RQM goto bn
rem llts in 0070303schj by q@251485609
@echo 12345678>M.RQM
:bn
@cls
@echo off
@echo.
@echo.
@echo.
@echo For the security of user settings, this program requires an administrator to enter the operation!
@echo.
@echo.
@echo Enter T to exit
@echo.
@echo ------- * -------- * --------
@echo.
@echo Initial password: 12345678
@echo.
SET /P SY= Please enter the administrator password:
FOR /F %%I IN (M.RQM) DO SET syq=%%I
IF "%SY%" == "%syq%" GOTO kyjr
IF "%SY%" == "CK" GOTO ckmm
IF "%SY%" == "T" GOTO :eof
@cls
@echo.
@echo.
@echo.
@echo Sorry, (the password may have been changed) you are not an administrator and cannot enter the operation!
pause>nul
@goto bn
:kyjr
@cls
@echo.
SET /P SYg= Please press any key to enter the program (if you need to change the original password, please enter XGMM):
IF "%SYg%" == "XGMM" GOTO xg
IF not "%SYg%" == "XGMM" goto k
:xg
@cls
SET /P xmm= Please enter the new password:
@echo %xmm%>xmm.txt
SET /P cxmm= Please enter it again:
FOR /F %%I IN (xmm.txt) DO SET xsyq=%%I
IF "%cxmm%" == "%xsyq%" GOTO gng
@echo Password does not match!
pause
goto xg
:gng
COPY xmm.txt M.RQM
@echo Password changed successfully! Please remember this password.
pause>nul
goto bn
:ckmm
@cls
FOR /F %%I IN (M.RQM) DO SET syq=%%I
@echo %syq%
pause>nul
goto bn
:k
del xmm.txt
@cls
@echo Enter the use program
pause>nul
:eof
del xmm.txt
Floor 305 Posted 2008-04-29 10:33 ·  中国 北京 联通
新手上路
Credits 4
Posts 2
Joined 2008-04-29 10:03
18-year member
UID 117245
Gender Male
Status Offline
Thanks, I've been looking for it for a long time!
Floor 306 Posted 2008-05-02 23:31 ·  中国 黑龙江 大庆 大庆中基石油通信建设有限公司
新手上路
Credits 2
Posts 1
Joined 2008-05-02 22:18
18-year member
UID 117602
Gender Male
Status Offline
Learning
Floor 307 Posted 2008-05-04 21:25 ·  中国 上海 徐汇区 电信
新手上路
Credits 8
Posts 4
Joined 2008-05-04 21:03
18-year member
UID 117760
Gender Male
Status Offline
What does "edit.com" mean?
Floor 308 Posted 2008-05-07 19:41 ·  中国 香港 新世界电讯
新手上路
Credits 13
Posts 7
Joined 2007-10-04 19:44
18-year member
UID 98894
Gender Male
Status Offline
hdzc:

Where are you? I've been waiting eagerly for your reply! Have you seen my question? I really need your help! Can you tell me your email address?
Floor 309 Posted 2008-05-07 23:29 ·  中国 四川 遂宁 电信
初级用户
★★
Credits 121
Posts 54
Joined 2008-01-10 19:13
18-year member
UID 108238
Gender Male
Status Offline
Just type .bat and you should be able to see the source code.
Floor 310 Posted 2008-05-23 14:08 ·  中国 河南 焦作 联通
新手上路
Credits 6
Posts 2
Joined 2005-11-26 15:28
20-year member
UID 45962
Status Offline
Very good, thank you! I also study hard
Floor 311 Posted 2008-05-27 06:51 ·  中国 广东 广州 中移铁通
新手上路
Credits 4
Posts 2
Joined 2008-05-10 01:42
18-year member
UID 118297
Gender Male
Status Offline
Bump it up
Floor 312 Posted 2008-06-19 17:32 ·  中国 上海 图像数据通信有限公司
新手上路
Credits 2
Posts 1
Joined 2008-06-19 17:06
18-year member
UID 120600
Gender Male
Status Offline
Don't convert it to an exe. This is also easy to crack, and in this way it's not as good as programming.
Floor 313 Posted 2008-06-22 18:32 ·  中国 浙江 绍兴 电信
新手上路
Credits 4
Posts 2
Joined 2007-11-09 23:12
18-year member
UID 102193
Gender Male
Status Offline
Good stuff
Floor 314 Posted 2008-06-22 18:32 ·  中国 浙江 绍兴 电信
新手上路
Credits 4
Posts 2
Joined 2007-11-09 23:12
18-year member
UID 102193
Gender Male
Status Offline
Good stuff, good stuff
Floor 315 Posted 2008-06-30 00:36 ·  中国 广西 梧州 电信
新手上路
Credits 4
Posts 12
Joined 2007-11-02 23:47
18-year member
UID 101543
Gender Male
Status Offline
‹ Prev 1 19 20 21 22 23 25 Next ›
Forum Jump: