|
xiaojun
银牌会员
    
积分 2202
发帖 499
注册 2003-6-12
状态 离线
|
『楼 主』:
请教:Bat2exec(bat2com)转换的Bat文件内容
使用 LLM 解释/回答一下
怎样看到或转回被Bat2exec(bat2com)转换的源文件呢?
How to view or revert the source file converted by Bat2exec(bat2com)?
|

一年四季,枫叶红了又红;人生四季,失去的,还能再来吗?—— ! |
|
2004-3-19 00:00 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
最好的方法是转换时保存源文件,以备后需。
至于用16进制编辑器查看等方法则显然麻烦且效率低多了。
The best way is to save the source file during conversion for future needs. As for methods like viewing with a hex editor, it's obviously much more cumbersome and less efficient.
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2004-3-19 00:00 |
|
|
xiaojun
银牌会员
    
积分 2202
发帖 499
注册 2003-6-12
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
是下的1张启动盘上Autoexec调用了1个exe,是被bat2exec转换的bat,我想看源文件学习学习. 用Ultraedit看,大部份还是乱码,Pklite压过,没加密.不知什么方法能看清它的代码,谢谢.....!
It's an exe called by Autoexec on a boot disk I downloaded. It's a bat converted by bat2exec. I want to see the source file to learn. Using Ultraedit to look at it, most of it is still garbled. It's compressed with Pklite, not encrypted. I don't know what method can be used to see its code clearly. Thanks.....!
|

一年四季,枫叶红了又红;人生四季,失去的,还能再来吗?—— ! |
|
2004-3-19 00:00 |
|
|
Kinglion
铂金会员
       痴迷DOS者
积分 5798
发帖 1924
注册 2003-6-20 来自 金獅電腦軟體工作室
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
将可执行文件脱壳后,你使用十六进制编辑软件能看到都使用了什么命令,部分程序能看到全部的文件,有的程序不能看到。关于你说的这个问题,我再试试。
After unpacking the executable file, you can use a hexadecimal editing software to see what commands are used. For some programs, you can see all the files, but for some programs, you can't. Regarding the problem you mentioned, I'll try again.
|

熟能生巧,巧能生精,一艺不精,终生无成,精亦求精,始有所成,臻于完美,永无止境!
金狮電腦軟體工作室愿竭诚为您服务!
QQ群:8393170(定期清理不发言者)
个人网站:http://www.520269.cn
电子邮件:doujiehui@vip.qq.com
微信公众号: doujiehui
|
|
2004-3-20 00:00 |
|
|
Kinglion
铂金会员
       痴迷DOS者
积分 5798
发帖 1924
注册 2003-6-20 来自 金獅電腦軟體工作室
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
楼主可以将那个文件上传,让我试着研究一下,可以吗?
Can the landlord upload that file so that I can try to study it?
|

熟能生巧,巧能生精,一艺不精,终生无成,精亦求精,始有所成,臻于完美,永无止境!
金狮電腦軟體工作室愿竭诚为您服务!
QQ群:8393170(定期清理不发言者)
个人网站:http://www.520269.cn
电子邮件:doujiehui@vip.qq.com
微信公众号: doujiehui
|
|
2004-3-20 00:00 |
|
|
xiaojun
银牌会员
    
积分 2202
发帖 499
注册 2003-6-12
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
我来论坛就传成功1次,俺太笨了;找不到了,不过又去Goog下回来了;看邮箱kinglionsoft@idvweb.com,刚想起来,它Pklite1.15压过,我unpklite没解开。
I only succeeded in uploading once when I came to the forum; I'm too stupid; I couldn't find it, but went to Google and got it back again; look at the email kinglionsoft@idvweb.com, just remembered, it was compressed by Pklite1.15, and I couldn't unzip it with unpklite.
|

一年四季,枫叶红了又红;人生四季,失去的,还能再来吗?—— ! |
|
2004-3-21 00:00 |
|
|
Kinglion
铂金会员
       痴迷DOS者
积分 5798
发帖 1924
注册 2003-6-20 来自 金獅電腦軟體工作室
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
To 楼主:
邮件已经收到,我会抽时间进行研究。请静候佳音!对了,为了能确保我能接收到邮件,请同时往我公布的两个邮箱发信。谢谢合作!
To the LZ:
The email has been received, and I will take time to study it. Please wait for good news! By the way, to ensure that I can receive the email, please also send the email to the two email addresses I公布. Thank you for your cooperation!
(注:原句中“公布”未翻译,因为不确定具体语境中“公布”对应的英文准确表达,若有更多上下文可能能更准确翻译,但按要求先保留原样并翻译其他部分)
|

熟能生巧,巧能生精,一艺不精,终生无成,精亦求精,始有所成,臻于完美,永无止境!
金狮電腦軟體工作室愿竭诚为您服务!
QQ群:8393170(定期清理不发言者)
个人网站:http://www.520269.cn
电子邮件:doujiehui@vip.qq.com
微信公众号: doujiehui
|
|
2004-3-21 00:00 |
|
|
xiaojun
银牌会员
    
积分 2202
发帖 499
注册 2003-6-12
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
ok,可惜到23日一时半会儿都来不了论坛了。也不知23日前能否看到您的解答,多谢。。。!
OK, but unfortunately I can't come to the forum in a short time until the 23rd. I don't know if I can see your answer before the 23rd. Thanks...!
|

一年四季,枫叶红了又红;人生四季,失去的,还能再来吗?—— ! |
|
2004-3-21 00:00 |
|
|
alan345
初级用户
 
积分 126
发帖 5
注册 2004-3-3
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
我也想知道被bat2exec转换后的com,它的源文件bat来学习学习.有没有软件反转处理一下.把com还原成bat.
I also want to know the source file bat of the com converted by bat2exec to learn. Is there any software for reverse processing to restore com to bat?
|
|
2004-3-22 00:00 |
|
|
Kinglion
铂金会员
       痴迷DOS者
积分 5798
发帖 1924
注册 2003-6-20 来自 金獅電腦軟體工作室
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
反编译了楼主发给我的COM文件,请楼主在实际的运行环境下检测是否有功能上的改变,源程序如下:
@echo off
go top
Cracked: Kinglion
:TOP
CLS
TW
:开始
CLS
echo ================================================================================
echo ghost 计算机备份系统功能选择菜单
echo.
echo 1 备份: 把c分区系统数据备份到d盘backup文件夹中,文件名为c-backup.gho
echo 2 恢复: 用d盘backup文件夹中的c-backup.gho恢复c分区的系统数据(系统出问题时使用)
echo 3 说明: 使用说明和注意事项
echo 4 简介: 世界语的简单介绍
echo 5 退出: 退出本选择菜单
echo.
echo 中国世界语网站绿网(http://VerdaReto.com)
echo ================================================================================
CHOICE /c:12345 请输入数字(1、2、3、4、5)进行选择
IF ERRORLEVEL 5 GOTO 退出
IF ERRORLEVEL 4 GOTO 简介
IF ERRORLEVEL 3 GOTO 说明
IF ERRORLEVEL 2 GOTO 恢复
IF ERRORLEVEL 1 GOTO 备份
:备份
if not exist d:\backup MD d:\backup
CLS
echo.
echo 现在开始备份C盘的数据,请耐心等待。
echo 备份工作完成后,取出软驱中的磁盘,重新启动计算机......
GHOST.exe D -clone,mode=pdump,src=1:1,dst=d:\backup\c-backup.gho -z9 -sure -fx
PAUSE
GOTO END
:恢复
IF EXIST d:\backup\c-backup.gho GHOST.exe B -clone,mode=pload,src=d:\backup\c-
backup.gho:1,dst=1:1 -sure -fx
IF NOT EXIST d:\backup\c-backup.gho ECHO 你还没有备份过c盘,或备份后你改变了文件的位置.
PAUSE
GOTO END
:说明
CLS
ECHO 说 明
ECHO.
ECHO 1. 在安装完基本系统和必要的硬件驱动程序后,就用本系统对 C 分区进行备份。
ECHO 2. 在备份 C 分区前,最好先整理一下磁盘,并确保 D 盘的剩余空间大于 C 盘
ECHO 数据所占用的空间。
ECHO 3. 用本磁盘启动你的计算机,在纯 Dos 状态下进行备份,不要 Windows 系统中
ECHO 的 Dos窗口下进行备份。也可以把本磁盘的文件全部复制 D 盘的某个目录下,
ECHO 然后关闭系统,重新启动计算机并切换到 MS-DOS 方式,在 Dos 状态下执行
ECHO 目录中的 vr 命令。
ECHO
PAUSE 按任意键返回选择菜单
GOTO 开始
:简介
CLS
ECHO 世 界 语 简 介 Kio Estas Esperanto
ECHO 世界语(Esperanto)是波兰的柴门霍夫博士于1887年公布的一种国际辅助语方案。
ECHO 随着社会的发展, 各国政治、经济、文化及科学技术交流合作日益增多,这就迫
ECHO 切需要一种国际共同语, 以解决世界民族语言的繁杂性所造成的交流障碍。但现在任
ECHO 何一种民族语言都无法担此重任。 这是因为一方面,选用任何一种民族语言都会对其
ECHO 它民族造成感情上的伤害与事实上的不平等;另一方面,任何一种民族语都是在长期复
ECHO 杂的历史条件下形成的,不可避免的包含很多不规则,不合理的成分,给其它民族的学
ECHO 习者带来极大困难。 所以,这种国际共同语必须是中立,不属于任何民族,并且简单
ECHO 易学,而且富有表现力的。 而世界语正是这样一种语言。
ECHO 世界语书写形式采用拉丁字母,同一个字母在任何单词中的发音都是相同的。只要
ECHO 学会了28个字母, 掌握了拼音规则,即可读出和写出任何单词。 世界语的词汇源于自
ECHO 然语言 (主要是印欧语系所属语言)中的国际化成分。 它还通过附加前缀,后缀及词
ECHO 根间的组合来构成新词。 这不但增强了它的构词能力,而且大大减少了基本词汇量,
ECHO 减轻了人们记忆单词的负担。世界语的语法规则是在印欧语系的基础上制定的,简单明
ECHO 了而又不失严谨。 其基本文规只有16条。由于世界语的上述特点,使得它比任何一种
ECHO 外语都容易学习。 在世界语的单词中,每一个字母的音值始终不变,句子中也没有连
ECHO 读现象, 因而口语及听力很容易掌握。熟悉了语法规则, 掌握2000个左右的词根及词
ECHO 缀,即可自由地通信,交谈,毫无困难地进行交流。
ECHO 对世界语感兴趣者,可与中华全国世界语协会联系:
ECHO 100037 北京 百万庄路24号 中华全国世界语协会 电话<img src="images/smilies/face-sad.png" align="absmiddle" border="0">010)68326682
ECHO 或在网上访问中国世界语网站绿网: http://VerdaReto.com
ECHO.
PAUSE 按任意键返回选择菜单
ECHO.
:退出
:END
ECHO.
ECHO 取出软驱中的磁盘,重新启动计算机。
ECHO.
ECHO 如果想重新进入刚才的选择菜单,先输入 vr ,然后按回车键。
ECHO.
Decompiled the COM file the LZ sent. Please test under the actual running environment to see if there are any functional changes. The source program is as follows:
@echo off
go top
Cracked: Kinglion
:TOP
CLS
TW
:Start
CLS
echo ================================================================================
echo ghost Computer Backup System Function Selection Menu
echo.
echo 1 Backup: Backup the system data of partition c to the backup folder of drive d, with the file name c-backup.gho
echo 2 Restore: Restore the system data of partition c using c-backup.gho in the backup folder of drive d (used when the system has problems)
echo 3 Instructions: Instructions and precautions
echo 4 Introduction: Simple introduction to Esperanto
echo 5 Exit: Exit this selection menu
echo.
echo China Esperanto Website Green Network (http://VerdaReto.com)
echo ================================================================================
CHOICE /c:12345 Please enter the number (1, 2, 3, 4, 5) to select
IF ERRORLEVEL 5 GOTO Exit
IF ERRORLEVEL 4 GOTO Introduction
IF ERRORLEVEL 3 GOTO Instructions
IF ERRORLEVEL 2 GOTO Restore
IF ERRORLEVEL 1 GOTO Backup
:Backup
if not exist d:\backup MD d:\backup
CLS
echo.
echo Now starting to back up the data of drive C, please be patient.
echo After the backup work is completed, take out the disk in the floppy drive and restart the computer...
GHOST.exe D -clone,mode=pdump,src=1:1,dst=d:\backup\c-backup.gho -z9 -sure -fx
PAUSE
GOTO END
:Restore
IF EXIST d:\backup\c-backup.gho GHOST.exe B -clone,mode=pload,src=d:\backup\c-
backup.gho:1,dst=1:1 -sure -fx
IF NOT EXIST d:\backup\c-backup.gho ECHO You haven't backed up drive C yet, or you have changed the file location after backup.
PAUSE
GOTO END
:Instructions
CLS
ECHO Instructions
ECHO.
ECHO 1. After installing the basic system and necessary hardware drivers, back up partition C with this system.
ECHO 2. Before backing up partition C, it is best to defragment the disk first and ensure that the remaining space of drive D is larger than the space occupied by the data of drive C.
ECHO 3. Boot your computer with this disk, perform the backup in pure Dos state, and do not perform the backup in the Dos window in Windows system. You can also copy all the files of this disk to a certain directory of drive D, then shut down the system, restart the computer and switch to MS-DOS mode, and execute the vr command in the directory in Dos state.
ECHO
PAUSE Press any key to return to the selection menu
GOTO Start
:Introduction
CLS
ECHO Esperanto Introduction Kio Estas Esperanto
ECHO Esperanto is an international auxiliary language scheme announced by Dr. L. L. Zamenhof of Poland in 1887.
ECHO With the development of society, the exchange and cooperation of politics, economy, culture and science and technology among countries are increasing day by day, which urgently needs an international common language to solve the communication obstacles caused by the complexity of the world national languages. But any existing national language cannot take on this task at present. This is because on the one hand, any national language selected will cause emotional harm and de facto inequality to other nationalities; on the other hand, any national language is formed under long-term complex historical conditions, and inevitably contains many irregular and unreasonable components, bringing great difficulties to learners of other nationalities. Therefore, this international common language must be neutral, not belonging to any nationality, and simple and easy to learn, and rich in expressiveness. And Esperanto is such a language.
ECHO The writing form of Esperanto adopts the Latin alphabet, and the pronunciation of the same letter in any word is the same. As long as you learn 28 letters and master the spelling rules, you can read and write any word. The vocabulary of Esperanto comes from the internationalized components in natural languages (mainly the languages belonging to the Indo-European language family). It also constitutes new words by adding prefixes, suffixes and combinations between roots. This not only enhances its word-forming ability, but also greatly reduces the basic vocabulary amount and lightens people's burden of remembering words. The grammar rules of Esperanto are formulated on the basis of the Indo-European language family, simple and clear and still rigorous. Its basic grammar rules only have 16 items. Due to the above characteristics of Esperanto, it is easier to learn than any foreign language. In the words of Esperanto, the phonetic value of each letter is always unchanged, and there is no liaison phenomenon in the sentence, thus the spoken language and listening are easy to master. Familiar with the grammar rules, master about 2000 roots and suffixes, you can communicate and talk freely, and carry on the communication without difficulty.
ECHO Those interested in Esperanto can contact the All-China Esperanto Association:
ECHO 100037 Beijing, No. 24, Baiwanzhuang Road, All-China Esperanto Association Telephone: (010) 68326682
ECHO Or visit the China Esperanto Website Green Network on the Internet: http://VerdaReto.com
ECHO.
PAUSE Press any key to return to the selection menu
ECHO.
:Exit
:END
ECHO.
ECHO Take out the disk in the floppy drive and restart the computer.
ECHO.
ECHO If you want to re-enter the just selection menu, first enter vr, then press the Enter key.
ECHO.
|

熟能生巧,巧能生精,一艺不精,终生无成,精亦求精,始有所成,臻于完美,永无止境!
金狮電腦軟體工作室愿竭诚为您服务!
QQ群:8393170(定期清理不发言者)
个人网站:http://www.520269.cn
电子邮件:doujiehui@vip.qq.com
微信公众号: doujiehui
|
|
2004-3-22 00:00 |
|
|
Kinglion
铂金会员
       痴迷DOS者
积分 5798
发帖 1924
注册 2003-6-20 来自 金獅電腦軟體工作室
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
请楼主检测一下,我没有实际运行此程序。
Please ask the owner to check. I haven't actually run this program.
|

熟能生巧,巧能生精,一艺不精,终生无成,精亦求精,始有所成,臻于完美,永无止境!
金狮電腦軟體工作室愿竭诚为您服务!
QQ群:8393170(定期清理不发言者)
个人网站:http://www.520269.cn
电子邮件:doujiehui@vip.qq.com
微信公众号: doujiehui
|
|
2004-3-22 00:00 |
|
|
xiaojun
银牌会员
    
积分 2202
发帖 499
注册 2003-6-12
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
金狮大哥,您能讲讲方法 吗!!! 用到的软件, 授俺与渔吧.这个文件在出来dos菜单时,我大致知道就是这样写的,Bat就是那个com文件,只是我没有正确的方法来还原成您以上的文件,谢谢您的关心,我不需运行它,我只想今后再遇到此类com,exe; 运行后实现的某些功能在不理解的时候(复杂点的批处理),也能对付对付看看源文学习 , 呵呵, 离开进入倒计时, 俺都急了,呵呵. 不好意思,再次感谢...!!!!!!!!!!!!!!!!!!!!!!
Brother Jin Shi, can you talk about the method!!! The software used, teach me to fish. When this file comes out of the DOS menu, I roughly know it's written like this. Bat is that com file, but I don't have the correct method to restore it to the file you have above. Thank you for your concern. I don't need to run it. I just want to be able to deal with it and look at the original text for learning when I encounter some functions implemented by such com, exe; after running (complex batch processing) and don't understand, heh heh. The countdown to leaving is on, I'm in a hurry, heh heh. I'm sorry, thank you again...!!!!!!!!!!!!!!!!!!!!!!
|

一年四季,枫叶红了又红;人生四季,失去的,还能再来吗?—— ! |
|
2004-3-23 00:00 |
|
|
Kinglion
铂金会员
       痴迷DOS者
积分 5798
发帖 1924
注册 2003-6-20 来自 金獅電腦軟體工作室
状态 离线
|
『第 13 楼』:
使用 LLM 解释/回答一下
其实我也没有什么程序来自动复原以上的批处理程序,只不过我以前研究过将BAT文件编译成COM文件的方法,另外我有BAT2EXEC程序的源代码,能复原出源代码主要是我根据BAT2EXEC程序的编译原理进行的逆运行罢了,而且这些都是手工进行的,至于具体的方法也会因为程序的不同而不同。你可以研究一下BAT2EXEC程序的源代码,我想会对你有帮助的。改天我会把源代码上传。
In fact, I don't have any program to automatically restore the above batch processing program. It's just that I studied the method of compiling BAT files into COM files before. Besides, I have the source code of the BAT2EXEC program. The reason why I can restore the source code is that I reversed the operation according to the compilation principle of the BAT2EXEC program. Moreover, these are all done manually, and the specific methods will be different due to different programs. You can study the source code of the BAT2EXEC program, and I think it will be helpful to you. I will upload the source code some other day.
|

熟能生巧,巧能生精,一艺不精,终生无成,精亦求精,始有所成,臻于完美,永无止境!
金狮電腦軟體工作室愿竭诚为您服务!
QQ群:8393170(定期清理不发言者)
个人网站:http://www.520269.cn
电子邮件:doujiehui@vip.qq.com
微信公众号: doujiehui
|
|
2004-3-23 00:00 |
|
|
Kinglion
铂金会员
       痴迷DOS者
积分 5798
发帖 1924
注册 2003-6-20 来自 金獅電腦軟體工作室
状态 离线
|
『第 14 楼』:
使用 LLM 解释/回答一下
对了,如果以后楼主有什么好的批处理程序,别忘了发给我一份噢!呵呵!
By the way, if the thread starter has any good batch processing programs in the future, don't forget to send me one! Hehe!
|

熟能生巧,巧能生精,一艺不精,终生无成,精亦求精,始有所成,臻于完美,永无止境!
金狮電腦軟體工作室愿竭诚为您服务!
QQ群:8393170(定期清理不发言者)
个人网站:http://www.520269.cn
电子邮件:doujiehui@vip.qq.com
微信公众号: doujiehui
|
|
2004-3-23 00:00 |
|
|
xiaojun
银牌会员
    
积分 2202
发帖 499
注册 2003-6-12
状态 离线
|
『第 15 楼』:
使用 LLM 解释/回答一下
一定的.谢谢您的Hlp. 再见...! ^_^
Certain. Thank you for your help. Goodbye...! ^_^
|

一年四季,枫叶红了又红;人生四季,失去的,还能再来吗?—— ! |
|
2004-3-23 00:00 |
|