中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-19 15:23
47,814 topics / 349,908 posts / today 0 new / 48,259 members
DOS疑难解答 & 问题讨论 (解答室) » Can you know the source code from an .exe file
Printable Version  1,977 / 12
Floor1 adu060701 Posted 2008-11-19 16:58
初级用户 Posts 13 Credits 32
As the title says
Now there is an.exe executable file. May I ask if the source code can be obtained through the executable file
Floor2 HAT Posted 2008-11-19 17:18
版主 Posts 5,017 Credits 9,023
If your exe is converted from a bat, it's okay.
Floor3 adu060701 Posted 2008-11-19 23:03
初级用户 Posts 13 Credits 32
asm-> obj -> com / exe
What is the nature of a bat file?
To be more direct, can you obtain the corresponding source code from an EXE file by reading someone else's EXE file (when it is not encrypted)?
Floor4 adu060701 Posted 2008-11-19 23:18
初级用户 Posts 13 Credits 32
asm-> obj -> com / exe
What is the nature of a bat file?
More directly, can we obtain the corresponding source code from a read exe file (when it is not encrypted)?
Floor5 yishanju Posted 2008-11-20 00:27
银牌会员 Posts 1,357 Credits 1,488
Disassembly seems possible
Floor6 HAT Posted 2008-11-20 10:26
版主 Posts 5,017 Credits 9,023
This seems to have little to do with DOS? It is suggested to go to the Kanxue forum to consult professionals.
The original poster came to the China DOS Union and didn't even know what a bat file is. Surprising...
Floor7 dato Posted 2008-11-20 10:31
高级用户 Posts 377 Credits 916
Some bat to exe packagings are somewhat similar to the self-extracting releases of WinRAR. You can disable the NTFS permission that prohibits the current user from accessing cmd.exe to prevent the bat from executing, and then go to the pre - released directory to search. VBS seems to be wscript.exe. I once tried to package cmd together with the corresponding bat to avoid this problem, but later I found that the cmd of 2003 can't run on XP, so I didn't try whether the result is okay. This kind of problem really needs attention on public computers. Many people even use hacked cmd to replace the system, and sometimes modifying the path variable will lead to dll loading errors when running taskkill.
Floor8 本是 Posted 2008-11-20 11:08
银牌会员 Posts 790 Credits 2,227
Disassembly can show basic assembly statements, but cannot show advanced assembly language technologies such as macro assembly, repeated assembly, conditional assembly, data structures, data records, etc. We need to rely on them to build complex assembly programs. Otherwise, using DEBUG to build programs of hundreds of KB or even several megabytes or gigabytes, which require arrays and records, the human brain cannot remember such complex structures and such a huge amount of data!!!
Floor9 adu060701 Posted 2008-11-21 14:39
初级用户 Posts 13 Credits 32
Just received a task. I don't have much assembly language foundation. The purpose is to get the source code through the exe file. If the assembly program is too large, the readability of the disassembled program is not strong either.
Floor10 HAT Posted 2008-11-21 17:34
版主 Posts 5,017 Credits 9,023
There are many experts in reverse engineering on the Kanxue Forum. The help that CN-DOS can provide you is probably not much.
Floor11 wwmmc Posted 2008-11-21 19:03
初级用户 Posts 62 Credits 35
Floor12 adu060701 Posted 2008-11-21 22:49
初级用户 Posts 13 Credits 32
Thanks to the moderator's answer,
Floor13 youkaib Posted 2008-11-22 23:16
初级用户 Posts 22 Credits 61
.bat is a type of executable command in Windows. If it's.exe, it's a file generated by calling from user-defined functions and function libraries, and it requires an interpreter.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023