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-08-17 11:25
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » Help!!!!!How to set a password to enter DOS? View 2,954 Replies 12
Original Poster Posted 2005-08-16 13:48 ·  中国 甘肃 庆阳 电信
新手上路
Credits 3
Posts 1
Joined 2005-08-16 13:46
21-year member
UID 41701
Status Offline
How to set a password to enter DOS?
Floor 2 Posted 2005-08-16 16:33 ·  中国 重庆 电信
高级用户
★★
Credits 772
Posts 273
Joined 2004-10-23 00:00
21-year member
UID 32861
Gender Male
Status Offline
Just add a judgment in AUTOEXEC.BAT, but you need to provide an input device, such as WABT or something like that
http://www.msfans.net/bbs/
Floor 3 Posted 2005-08-16 20:38 ·  中国 广西 梧州 电信
初级用户
Credits 46
Posts 15
Joined 2005-08-13 12:11
21-year member
UID 41615
Status Offline
Can you explain it in detail?
Floor 4 Posted 2005-08-16 21:17 ·  IANA 局域网IP(Private-Use)
钻石会员
★★★★★
Credits 10,056
Posts 3,041
Joined 2002-11-11 00:00
23-year member
UID 223
Gender Male
Status Offline
You need to disable Ctrl+C first, heh.
简单就是美
Floor 5 Posted 2005-08-17 13:27 ·  中国 重庆 沙坪坝区 电信
高级用户
★★
Credits 772
Posts 273
Joined 2004-10-23 00:00
21-year member
UID 32861
Gender Male
Status Offline
call w.bat box (+white on +blue) @autoexec.bat:mima
boff>nul
if errorlevel 100 goto next
if errorlevel 4 off.com
if errorlevel 3 restart.com
if errorlevel 2 goto find
:mima
※※※※※※※密码管理程序※※※※※※※[x]
※**************************************※
※* 请输入管理员密码:[$w,8 ] *※
※* ---------------------------------- *※
※* [确定(&O)] [重启(&R)] [关机(&S)] *※
※**************************************※
※※※※※※※※※※※※※※※※※※※※※
::
....


This is a password program I wrote myself. You can put boff earlier for more security
http://www.msfans.net/bbs/
Floor 6 Posted 2005-08-17 14:22 ·  中国 河北 石家庄 联通
铂金会员
★★★★
网络独行侠
Credits 6,962
Posts 2,753
Joined 2003-04-16 00:00
23-year member
UID 1565
Gender Male
From 河北保定
Status Offline
Pure DOS doesn't have encryption functions. It's possible to make a DOS shell by yourself.
偶只喜欢回答那些标题和描述都很清晰的帖子!
如想解决问题,请认真学习“这个帖子”和“这个帖子”并努力遵守,如果可能,请告诉更多的人!
Floor 7 Posted 2005-08-17 19:45 ·  IANA 局域网IP(Private-Use)
钻石会员
★★★★★
Credits 10,056
Posts 3,041
Joined 2002-11-11 00:00
23-year member
UID 223
Gender Male
Status Offline
F4......F5...... can all make the DOS start cleanly.
简单就是美
Floor 8 Posted 2005-09-19 14:45 ·  中国 广西 梧州 电信
初级用户
Credits 46
Posts 15
Joined 2005-08-13 12:11
21-year member
UID 41615
Status Offline
Originally posted by chenhui530 at 2005-8-17 13:27:
call w.bat box (+white on +blue) @autoexec.bat:mima
boff>nul
if errorlevel 100 goto next
if errorlevel 4 off.com
if errorlevel 3 restart.com
if errorlevel 2 goto find
:mima
※※※※†...


Can you explain it in detail? Also, what is the content of w.bat? Can you make it public?
Floor 9 Posted 2005-09-20 15:36 ·  中国 江苏 苏州 常熟市 电信
初级用户
Credits 26
Posts 8
Joined 2005-09-16 17:11
20-year member
UID 42565
Gender Male
Status Offline
Floor 10 Posted 2005-09-20 15:39 ·  中国 江苏 苏州 常熟市 电信
初级用户
Credits 26
Posts 8
Joined 2005-09-16 17:11
20-year member
UID 42565
Gender Male
Status Offline
E:\>autoexec1

E:\>call w.bat box (+white on +blue) @autoexec.bat:mima

E:\>boff1>nul
'boff' is not an internal or external command, nor is it a runnable program
or batch file.

E:\>if errorlevel 100 goto next
The system cannot find the specified batch label - next

E:\>
Floor 11 Posted 2007-03-28 11:13 ·  中国 黑龙江 哈尔滨道理区 电信
新手上路
Credits 2
Posts 1
Joined 2006-09-05 02:59
19-year member
UID 61867
Status Offline
Floor 12 Posted 2007-03-28 17:53 ·  中国 广东 广州 番禺区 电信
初级用户
★★
Credits 107
Posts 52
Joined 2007-03-10 04:55
19-year member
UID 81272
Gender Male
Status Offline
Agreed
Floor 13 Posted 2007-03-28 22:00 ·  中国 辽宁 朝阳 联通
铂金会员
★★★★
痴迷DOS者
Credits 5,798
Posts 1,924
Joined 2003-06-20 00:00
23-year member
UID 5583
Gender Male
From 金獅電腦軟體工作室
Status Offline
First, in order to achieve real security, it is necessary to modify IO.SYS first to block the function of pressing the F8 key during boot to enter the boot selection menu. Second, load a program to block the keyboard according to the instructions in CONFIG.SYS. When a password needs to be entered, first allow keyboard input, and then immediately start the password verification program. When writing this program, code to prevent CTRL+C should be added.
熟能生巧,巧能生精,一艺不精,终生无成,精亦求精,始有所成,臻于完美,永无止境!
金狮電腦軟體工作室愿竭诚为您服务!
QQ群:8393170(定期清理不发言者)
个人网站:http://www.520269.cn
电子邮件:doujiehui@vip.qq.com
微信公众号: doujiehui
Forum Jump: