![]() |
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-09-28 00:05 |
47,813 topics / 349,918 posts / today 0 new / 48,277 members |
| DOS批处理 & 脚本技术(批处理室) » 【Share】rar "compile" bat file to exe file |
| Printable Version 4,392 / 26 |
| Floor16 plp626 | Posted 2008-04-29 22:55 |
| 银牌会员 Posts 1,020 Credits 2,278 | |
Originally posted by ZJHJ at 2008-4-29 09:24 PM: RAR package and view? Since you have encrypted it, how can you view it without a password? Most of the so-called software that compiles into exe now has to release the source code first and then run it. I have seen ones made with assembly, which do not support Chinese, and the code will also make mistakes if there are special characters. I feel that there can't be a real so-called "compile" bat to exe software. After all, bat is interpreted and executed... Now I will upload another one made with assembly that compiles the bat file into an executable com file. You can change the com suffix to exe. Download: On the first floor |
|
| Floor17 jonsonqf | Posted 2008-04-30 01:08 |
| 初级用户 Posts 29 Credits 65 | |
|
"After encryption, the first time can only be brute-force cracking. No one can find the source code in the temporary path."
Can this be explained? I encrypted it, but after running, I can still find the source code in the temp directory. "No one can find the source code in the temporary path"??? What does this refer to? Hehe, I just found out this trick. If the LZ didn't say it, I think I still wouldn't know. Thanks for sharing. Also, how to use the tool uploaded by the LZ? I downloaded it, but can't convert it. [ Last edited by jonsonqf on 2008-4-30 at 01:11 AM ] |
|
| Floor18 evezero | Posted 2008-05-01 07:22 |
| 新手上路 Posts 3 Credits 8 | |
Originally posted by jonsonqf at 2008-4-30 01:08 AM: Regardless of whether the RAR self-extractor is encrypted or not, after running, it will generate the decompressed file in the temp directory and execute it. This is its working mechanism. The owner's meaning is that before decompression, without knowing the password, it is impossible to obtain the source code. Only by obtaining the password can one have the right to view the source code, etc. |
|
| Floor19 jonsonqf | Posted 2008-05-01 11:33 |
| 初级用户 Posts 29 Credits 65 | |
Originally posted by evezero it prompts that it's a wrong account or the password is incorrect, it will prompt that it can't log in. The system said that it's a wrong account or the password is incorrect, it will prompt that it can't log in. Wait for your reply! By the way, I don't know if you have used the "bat2exec, which compiles bat into a com executable file" that I downloaded and executed but couldn't convert it. |
|
| Floor20 learner0 | Posted 2008-05-01 11:41 |
| 初级用户 Posts 49 Credits 108 | |
|
Bump it, this encryption method is somewhat okay to a certain extent
|
|
| Floor21 ZJHJ | Posted 2008-05-01 21:37 |
| 高级用户 Posts 374 Credits 609 | |
|
I mean, you've already used RAR to generate an EXE for others to run. There's no issue with passwords. If you then package the EXE into a RAR again, see if it's the source code? It's just that the extraction path is up to you. It doesn't really play much of an encryption role, it's similar to writing to a Notepad with Unicode encoding.
|
|
| Floor22 ooaf | Posted 2008-05-03 11:16 |
| 中级用户 Posts 162 Credits 313 | |
|
-
WinRAR self-extracting command, give an example! - |
|
| Floor23 plp626 | Posted 2008-05-04 19:39 |
| 银牌会员 Posts 1,020 Credits 2,278 | |
Originally posted by ZJHJ at 2008-5-1 09:37 PM: In my opinion, except for the real method of compiling a BAT into an EXE file (for example: the method of compiling a BAT into a COM executable file like the one on the first floor, but this small tool is not universal), other methods don't have absolute encryption. The purpose of me posting this thread is to tell those newbies who are still using quickbfc to convert BATs. Since it's not really compiling into an EXE, the ready-made RAR is much more convenient than quickbfc. Doesn't the self-extracting one also support commands? |
|
| Floor24 cad55 | Posted 2008-05-04 21:40 |
| 高级用户 Posts 329 Credits 620 | |
Originally posted by plp626 at 2008-5-4 07:39 PM: The building owner is right........ It is a method. And it is an absolute method..... |
|
| Floor25 jonsonqf | Posted 2008-05-05 23:13 |
| 初级用户 Posts 29 Credits 65 | |
|
Actually, the encryption of bat is really quite fragile...
|
|
| Floor26 sanctitude | Posted 2008-05-06 01:18 |
| 新手上路 Posts 6 Credits 12 | |
|
The original intention of .bat was simply to improve the efficiency of transaction processing. Why do you have to encrypt with .bat? Do you have to use a broadsword and spear to fight against Japanese invaders carrying missiles?
|
|
| Floor27 cenbaolin | Posted 2008-05-21 15:23 |
| 新手上路 Posts 2 Credits 4 | |
|
Hehe, I didn't know before````Now I know!
|
|
| Prev 1 2 |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |