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-07-02 23:17
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » Can you know the source code from an .exe file View 1,895 Replies 12
Original Poster Posted 2008-11-19 16:58 ·  中国 黑龙江 哈尔滨 电信
初级用户
Credits 32
Posts 13
Joined 2008-11-17 20:29
17-year member
UID 131283
Gender Male
Status Offline
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
Floor 2 Posted 2008-11-19 17:18 ·  美国 惠普HP
版主
★★★★★
Credits 9,023
Posts 5,017
Joined 2007-05-31 19:39
19-year member
UID 89899
Gender Male
Status Offline
If your exe is converted from a bat, it's okay.
Floor 3 Posted 2008-11-19 23:03 ·  中国 黑龙江 哈尔滨 电信
初级用户
Credits 32
Posts 13
Joined 2008-11-17 20:29
17-year member
UID 131283
Gender Male
Status Offline
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)?
Floor 4 Posted 2008-11-19 23:18 ·  中国 黑龙江 哈尔滨 电信
初级用户
Credits 32
Posts 13
Joined 2008-11-17 20:29
17-year member
UID 131283
Gender Male
Status Offline
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)?
Floor 5 Posted 2008-11-20 00:27 ·  中国 北京 联通
银牌会员
★★★★
[b]看你妹啊[/b]
Credits 1,488
Posts 1,357
Joined 2006-05-20 12:00
20-year member
UID 55770
Status Offline
Disassembly seems possible

有问题请发论坛或者自行搜索,再短消息问我的统统是SB
Floor 6 Posted 2008-11-20 10:26 ·  中国 重庆 电信
版主
★★★★★
Credits 9,023
Posts 5,017
Joined 2007-05-31 19:39
19-year member
UID 89899
Gender Male
Status Offline
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...
Floor 7 Posted 2008-11-20 10:31 ·  中国 上海 电信
高级用户
★★★
Credits 916
Posts 377
Joined 2004-03-08 00:00
22-year member
UID 19523
Gender Male
Status Offline
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.
Floor 8 Posted 2008-11-20 11:08 ·  中国 江苏 苏州 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
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!!!
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 9 Posted 2008-11-21 14:39 ·  中国 黑龙江 哈尔滨 电信
初级用户
Credits 32
Posts 13
Joined 2008-11-17 20:29
17-year member
UID 131283
Gender Male
Status Offline
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.
Floor 10 Posted 2008-11-21 17:34 ·  中国 重庆 电信
版主
★★★★★
Credits 9,023
Posts 5,017
Joined 2007-05-31 19:39
19-year member
UID 89899
Gender Male
Status Offline
There are many experts in reverse engineering on the Kanxue Forum. The help that CN-DOS can provide you is probably not much.
Floor 11 Posted 2008-11-21 19:03 ·  中国 上海 东方有线
初级用户
★★
Credits 35
Posts 62
Joined 2008-10-12 21:46
17-year member
UID 128197
Gender Male
Status Offline
Floor 12 Posted 2008-11-21 22:49 ·  中国 黑龙江 哈尔滨 电信
初级用户
Credits 32
Posts 13
Joined 2008-11-17 20:29
17-year member
UID 131283
Gender Male
Status Offline
Thanks to the moderator's answer,
Floor 13 Posted 2008-11-22 23:16 ·  中国 江西 南昌 电信
初级用户
Credits 61
Posts 22
Joined 2008-10-19 17:15
17-year member
UID 128768
Gender Male
Status Offline
.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.
Forum Jump: