|
netchxing
初级用户
 
积分 58
发帖 31
注册 2007-1-6 来自 重庆
状态 离线
|
|
2007-2-2 04:12 |
|
|
fbwolf
初级用户
 
积分 56
发帖 22
注册 2006-12-13
状态 离线
|
『第 32 楼』:
使用 LLM 解释/回答一下
强,太强了,利用IN.COM记录回车以前输入的键,然后设置为要显示的密码!不得不佩服啊
Wow, that's amazing! Using IN.COM to record the keys entered before the carriage return and then set them as the password to be displayed! I really have to admire it!
|
|
2007-2-4 01:13 |
|
|
kennyfan
中级用户
  
积分 259
发帖 112
注册 2006-9-18
状态 离线
|
|
2007-4-18 09:50 |
|
|
tongwandou
初级用户
 
积分 112
发帖 50
注册 2007-4-15
状态 离线
|
『第 34 楼』:
使用 LLM 解释/回答一下
还看不懂,但谢谢楼主!
Still don't understand, but thank you, the landlord!
|
|
2007-4-18 11:35 |
|
|
pestally
初级用户
 
积分 29
发帖 12
注册 2007-3-16
状态 离线
|
『第 35 楼』:
使用 LLM 解释/回答一下
哎..虽然知道了..但是我也看不懂..呵呵..
Hey..Although I know it.. but I still can't understand it.. heh heh..
|
|
2007-4-18 11:45 |
|
|
sd287054
初级用户
 
积分 111
发帖 44
注册 2007-3-12
状态 离线
|
『第 36 楼』:
使用 LLM 解释/回答一下
PPdos
@echo off
title 出现表示 输入超时请按回车继续:
:begin
PING 127.0 -t|set /p pwd=请输入密码:&cls>con
set /p pwd=
cls&echo 密码为:%pwd%
if "%pwd%"=="" cls&goto begin
pause>nul
这样就可以把延时调到无限了~~!
你实验以下可行吗?
PPdos
@echo off
title A timeout occurs, please press Enter to continue:
:begin
PING 127.0 -t|set /p pwd=Please enter the password:&cls>con
set /p pwd=
cls&echo Password is:%pwd%
if "%pwd%"=="" cls&goto begin
pause>nul
This can adjust the delay to infinite~~!
Can you experiment to see if it works?
|
|
2007-4-18 14:45 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
『第 37 楼』:
使用 LLM 解释/回答一下
Originally posted by sd287054 at 2007-4-18 14:45:
PPdos
@echo off
title 出现表示 输入超时请按回车继续:
:begin
PING 127.0 -t|set /p pwd=请输入密码:&cls>con
set /p pwd=
cls&echo 密码为:%pwd%
if "%pwd%&q ...
不能运行。
Originally posted by sd287054 at 2007-4-18 14:45:
PPdos
@echo off
title 出现表示 输入超时请按回车继续:
:begin
PING 127.0 -t|set /p pwd=请输入密码:&cls>con
set /p pwd=
cls&echo 密码为:%pwd%
if "%pwd%&q ...
Can't run.
|

Windows 一键还原
http://www.yjhy.com |
|
2007-4-18 21:24 |
|
|
zh159
金牌会员
     
积分 3687
发帖 1467
注册 2005-8-8
状态 离线
|
『第 38 楼』:
使用 LLM 解释/回答一下
Originally posted by PPdos at 2007-1-21 09:24:
@echo off
title 出现表示 输入超时请按回车继续:
:begin
PING 127.0|set /p pwd=请输入密码:&cls>con
set /p pwd=
cls&echo 密码为:%pwd%
if "%pwd%"=="" cls&goto begin
pause>nul
经研究以上代码能通过不产生临时文件实现密码的隐藏输入
但是却会在超过延迟时间后暴露未回车的密码 希望高手加以完善!
这是利用cmd对键盘操作的缓存(有长度限制)作用,在延时结束之前输入密码和回车,延时结束,直接由“set /p pwd=”接受之前输入的键盘操作,并不是真正的密码隐藏输入
如果延时结束前没有回车,就会显示缓存的键盘操作;如果延时结束前回车,延时结束“set /p pwd=”就会将所有的键盘操作一起执行,极难看得到密码的显示(理论上也会显示,但速度太快了)
Originally posted by PPdos at 2007-1-21 09:24:
@echo off
title 出现表示 输入超时请按回车继续:
:begin
PING 127.0|set /p pwd=请输入密码:&cls>con
set /p pwd=
cls&echo 密码为:%pwd%
if "%pwd%"=="" cls&goto begin
pause>nul
After research, the above code can realize hidden input of the password without generating temporary files
But it will expose the unentered password after the delay time exceeds. I hope experts can improve it!
This is using the cache (with length limit) effect of the keyboard operation of cmd. Before the delay ends, input the password and press Enter. When the delay ends, it is directly accepted by "set /p pwd=", which is not a real hidden input of the password
If there is no Enter before the delay ends, the cached keyboard operation will be displayed; if there is Enter before the delay ends, "set /p pwd=" after the delay ends will execute all keyboard operations together, which is extremely difficult to see the display of the password (theoretically it will also be displayed, but the speed is too fast)
|
|
2007-4-18 22:04 |
|
|
htysm
高级用户
   
积分 866
发帖 415
注册 2005-12-4
状态 离线
|
|
2007-4-19 00:56 |
|
|
tyh
初级用户
 
积分 80
发帖 43
注册 2007-4-21
状态 离线
|
『第 40 楼』:
使用 LLM 解释/回答一下
呵呵.我也来拜一个.
Hehe, I also come to pay respects.
|
|
2007-4-22 04:27 |
|
|
sd287054
初级用户
 
积分 111
发帖 44
注册 2007-3-12
状态 离线
|
『第 41 楼』:
使用 LLM 解释/回答一下
PPdos
@echo off
title 出现表示 输入超时请按回车继续:
:begin
PING -n 10 127.0 |set /p pwd=请输入密码:&cls>con
set /p pwd=
cls&echo 密码为:%pwd%
if "%pwd%"=="" cls&goto begin
pause>nul
加错参数了,
这样就可以延时10秒了
PPdos
@echo off
title 出现表示 输入超时请按回车继续:
:begin
PING -n 10 127.0 |set /p pwd=请输入密码:&cls>con
set /p pwd=
cls&echo 密码为:%pwd%
if "%pwd%"=="" cls&goto begin
pause>nul
Incorrect parameters added,
This way you can delay for 10 seconds
|
|
2007-4-22 13:14 |
|
|
liwu111
新手上路
 唐白虎
积分 11
发帖 5
注册 2007-6-20 来自 廣東深圳
状态 离线
|
|
2007-6-20 15:13 |
|
|
flamey
初级用户
 
积分 152
发帖 74
注册 2005-12-1
状态 离线
|
|
2007-6-20 17:25 |
|
|
wuzhaojun
新手上路

积分 3
发帖 1
注册 2007-5-13
状态 离线
|
『第 44 楼』:
使用 LLM 解释/回答一下
这正是我要的
实在牛X
This is exactly what I want. Really awesome
此帖被 +1 点积分 点击查看详情 评分人:【 】 | 分数: +1 | 时间:2007-6-20 18:53 |
|
|
|
2007-6-20 18:48 |
|
|
luowanli1984
初级用户
  高級總監
积分 65
发帖 27
注册 2007-6-20 来自 china
状态 离线
|
|
2007-6-20 19:49 |
|