|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
|
2007-1-17 10:45 |
|
|
lxmxn
版主
       
积分 11386
发帖 4938
注册 2006-7-23
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
的确牛,不过测试,最后显示的密码与我实际输入的多出来一个空格,不知道何故。应该和那个in.com程序有关。
Indeed amazing, but during testing, the displayed password had an extra space compared to what I actually entered. I don't know why. It should be related to that in.com program.
|
|
2007-1-17 10:55 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
空格这种就是不伤大雅的事情了~~嘎嘎
Such small mistakes are not a big deal~~ Hehe
|

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>" |
|
2007-1-17 11:29 |
|
|
chainliq
高级用户
    学无尽止
积分 635
发帖 244
注册 2006-4-15 来自 广西贵港
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
呵呵,这个可能是得用啦在CMD下进入ftp 输入密码的方法应该是一样的吧~
Hehe, this might need to be used. The method of entering the password in ftp under CMD should be the same, right~
|

学无尽止 |
|
2007-1-17 11:30 |
|
|
zh159
金牌会员
     
积分 3687
发帖 1467
注册 2005-8-8
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
不是in.com的问题,而是“for /f "tokens=*" %%i in ('in.com') do set password=%%i ”一行后面多了一个空格^_^
It's not a problem with in.com, but there is an extra space after the line "for /f "tokens=*" %%i in ('in.com') do set password=%%i " ^_^
|
|
2007-1-17 11:32 |
|
|
lxmxn
版主
       
积分 11386
发帖 4938
注册 2006-7-23
状态 离线
|
|
2007-1-17 11:34 |
|
|
zh159
金牌会员
     
积分 3687
发帖 1467
注册 2005-8-8
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
每行后面不必要的话最好不加空格-_-|||
PS:不支持中文显示,不过后面可以加chcp 936>nul显示中文
Last edited by zh159 on 2007-1-16 at 10:43 PM ]
PS: Not support Chinese display, but you can add chcp 936>nul later to display Chinese
Last edited by zh159 on 2007-1-16 at 10:43 PM ]
|
|
2007-1-17 11:39 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
改了,呵呵
不支持中文显示
批处理中写汇编都是这样的,呵呵
Modified, heh heh
Does not support Chinese display
This is the case when writing assembly in batch processing, heh heh
|

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>" |
|
2007-1-17 11:43 |
|
|
pengfei
银牌会员
    
积分 1218
发帖 485
注册 2006-7-21 来自 湖南.娄底
状态 离线
|
  『第 9 楼』:
使用 LLM 解释/回答一下
hP1X500Pf3/f1/5++u5x
高, 实在是高, 不知这个com怎么可以仅凭这一行代码实现输入, 若非这一行简单的字符的二进制代码是从输入设备(键盘)接收输入至回车止的机器语言.
可惜这样的in.com是16位的程序, 不支持中文显示, 还好willsort版主(虽然willsort走了, 仍然是联盟的版主...)有一个让16位程序支持中文显示的原创帖子, 利用graftabl.exe.
@echo off
chcp 437>nul&graftabl 936>nul
echo hP1X500Pf3/f1/5++u5x>in.com
set /p password=请输入密码:<nul
for /f "tokens=*" %%i in ('in.com') do set password=%%i
del in.com
echo.
echo The Password is:"%password%"
pause
终于找到willsort的那个帖子了, 命令行中的中文.
http://www.cn-dos.net/forum/viewthread.php?tid=20682&fpage=1
Last edited by pengfei on 2007-1-17 at 01:17 PM ]
hP1X500Pf3/f1/5++u5x
High, really high. I don't know how this com can achieve input with just this line of code. If it weren't for the fact that the binary code of this simple character is machine language that receives input from the input device (keyboard) until the enter key is pressed.
Unfortunately, such an in.com is a 16-bit program and does not support Chinese display. Fortunately, the willsort moderator (although willsort has left, he is still a moderator of the alliance...) has an original post that enables 16-bit programs to support Chinese display, using graftabl.exe.
@echo off
chcp 437>nul&graftabl 936>nul
echo hP1X500Pf3/f1/5++u5x>in.com
set /p password=请输入密码:<nul
for /f "tokens=*" %%i in ('in.com') do set password=%%i
del in.com
echo.
echo The Password is:"%password%"
pause
Finally found willsort's that post, Chinese in the command line.
http://www.cn-dos.net/forum/viewthread.php?tid=20682&fpage=1
Last edited by pengfei on 2007-1-17 at 01:17 PM ]
此帖被 +18 点积分 点击查看详情 评分人:【 vkill 】 | 分数: +5 | 时间:2007-1-22 08:26 | 评分人:【 redtek 】 | 分数: +11 | 时间:2007-1-22 11:22 | 评分人:【 kennyfan 】 | 分数: +2 | 时间:2009-2-15 21:09 |
|
|

业精于勤而荒于嬉,形成于思而毁于随。 |
|
2007-1-17 13:13 |
|
|
kernelv
初级用户
 
积分 47
发帖 24
注册 2007-1-9
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
真的很想知道这位大牛是怎么得到“hP1X500Pf3/f1/5++u5x”这样的字符串,生成.com文件后还能执行,最近逛论坛好像也见到一个showwin.com,不知道是不是同一个作者,这是什么原理?哪位朋友出来给解解惑。
Last edited by kernelv on 2007-1-17 at 01:06 AM ]
Really want to know how this big shot got the string "hP1X500Pf3/f1/5++u5x", and after generating a .com file, it can still execute. Recently, when browsing the forum, I seem to have seen a showwin.com. I wonder if it's from the same author. What's the principle here? Which friend can come out and explain it?
Last edited by kernelv on 2007-1-17 at 01:06 AM ]
|
|
2007-1-17 14:00 |
|
|
zh159
金牌会员
     
积分 3687
发帖 1467
注册 2005-8-8
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
Originally posted by pengfei at 2007-1-17 00:13:
hP1X500Pf3/f1/5++u5x
高, 实在是高, 不知这个com怎么可以仅凭这一行代码实现输入, 若非这一行简单的字符的二进制代码是从输入设备(键 ...
爽!!!
Originally posted by pengfei at 2007-1-17 00:13:
hP1X500Pf3/f1/5++u5x
High, really high, I don't know how this com can achieve input with only this line of code. If the binary code of this simple character is not from the input device (key ...
Cool!!!
|
|
2007-1-17 15:10 |
|
|
redtek
金牌会员
     
积分 2902
发帖 1147
注册 2006-9-21
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
electronixtar兄将批处理应用又上提了一个高度~:)))
超级顶!!!
Brother electronixtar has taken batch processing applications to a new level~ :)))))
Super top!!!
|

Redtek,一个永远在网上流浪的人……
_.,-*~'`^`'~*-,.__.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._ |
|
2007-1-17 21:49 |
|
|
scriptor
银牌会员
    
积分 1187
发帖 555
注册 2006-12-21
状态 离线
|
『第 13 楼』:
使用 LLM 解释/回答一下
那个in.com文件是可以用记事本打开的
我早就看过了
但不知道是什么原理,它可以做到不显示
That in.com file can be opened with Notepad
I've already seen it long ago
But I don't know the principle, it can do not display
|
|
2007-1-17 23:03 |
|
|
scriptor
银牌会员
    
积分 1187
发帖 555
注册 2006-12-21
状态 离线
|
『第 14 楼』:
使用 LLM 解释/回答一下
而且in.com 换成in.exe一样可以的
And changing in.com to in.exe is also okay
|
|
2007-1-17 23:09 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
『第 15 楼』:
使用 LLM 解释/回答一下
不知道是不是同一个作者,这是什么原理?哪位朋友出来给解解惑。
当然是同一个作者,德国牛人 Herbert Kleebauer
I don't know if it's the same author. What's the principle here? Could any friend come out to explain it?
Of course it's the same author, the German expert Herbert Kleebauer
|

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>" |
|
2007-1-18 00:14 |
|