|
chenall
银牌会员
    
积分 1276
发帖 469
注册 2002-12-23 来自 福建泉州
状态 离线
|
『第 106 楼』:
使用 LLM 解释/回答一下
我将我自己使用的加密解密批处理传上来,大家可以试试。
简单的介面。
利用DEBUG。
加密.cmd 只是在处理的文件前面加上几个控制字符,无添加任何其它信息。
解密.cmd 将上面加密码的那几个控制字符修改一下,完成解密操作
只需运行,然后将需要操作的文件拖放到运行的窗口中即可。
那位朋友有兴趣可以完善一下。
I will upload the encryption and decryption batch scripts I use. Everyone can give it a try.
Simple interface.
Using DEBUG.
Encrypt.cmd just adds a few control characters in front of the processed file, without adding any other information.
Decrypt.cmd modifies those few control characters that were added for encryption above to complete the decryption operation.
Just run it, then drag the file that needs to be operated onto the running window.
Anyone who is interested can improve it.
附件
1: 批处理加密.rar (2006-11-22 03:09, 417 bytes, 下载附件所需积分 1 点
,下载次数: 285)
|

QQ:366840202
http://chenall.net |
|
2006-11-22 03:09 |
|
|
afeichai
初级用户
 
积分 171
发帖 78
注册 2006-11-22
状态 离线
|
『第 107 楼』:
使用 LLM 解释/回答一下
偶是在无忧知道这里的,菜鸟一个,学习下
I came here from Wuyou Zhidao. I'm a beginner, just learning.
|
|
2006-11-22 12:29 |
|
|
hxuan999
中级用户
   DOS之日
积分 337
发帖 161
注册 2006-11-4
状态 离线
|
『第 108 楼』:
使用 LLM 解释/回答一下
只能学习学习了.
Just have to study and learn.
|

for /f %%h in (`echo hxuan`) do for /f %%x in (`echo hxuan`) do if %%h==%%x nul |
|
2006-11-23 04:48 |
|
|
redtek
金牌会员
     
积分 2902
发帖 1147
注册 2006-9-21
状态 离线
|
『第 109 楼』:
使用 LLM 解释/回答一下
欣赏~~
和hxuan999兄一起学习这么精彩的内容~:)
Appreciate it~~
Learning such wonderful content with brother hxuan999~ : )
|

Redtek,一个永远在网上流浪的人……
_.,-*~'`^`'~*-,.__.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._ |
|
2006-11-25 03:12 |
|
|
tao0610
高级用户
    朦胧的世界
积分 579
发帖 218
注册 2006-10-24
状态 离线
|
『第 110 楼』:
使用 LLM 解释/回答一下
一起欣赏灌水精神!
Enjoy the spirit of water pouring together!
|

认识自己,降伏自己,改变自己,才能改变别人! |
|
2006-11-25 03:34 |
|
|
lxq73061
初级用户
 
积分 38
发帖 17
注册 2006-10-12
状态 离线
|
『第 111 楼』:
我的最简单的办法(菜鸟也会)
使用 LLM 解释/回答一下
我的最简单的办法(菜鸟也会)
把批处理文件用winrar做成一个自解压的包,解压方式为“临时文件夹”(也可以指定为一个隐蔽的路径),安静模式为“全部隐藏”,覆盖方式为“覆盖所有文件”
还可以加一个密码,不过运行的时候就需要输入正确的密码才能运行的了。再在解压后运行中输入这个批处理文件名就可以了。
比如test.bat这个批处理文件,压缩之后会生成一个test.exe的可执行文件了,现在已经能用了。不过在文件上按鼠标右键还可以看到是winrar的压缩文件,我再把它的后缀名改为.com或.bat或.cmd都行,这样用记事本打开一看全是乱码,他们都以为是用你们上面的方法加密的吧。
Last edited by lxq73061 on 2006-11-25 at 04:09 AM ]
My simplest method (even beginners can do it)
Use winrar to make a self-extracting package of the batch file. The extraction method is "temporary folder" (can also be specified as a hidden path). The silent mode is "completely hidden". The overwrite mode is "overwrite all files".
You can also add a password, but you need to enter the correct password to run it when it's executed. Then enter the name of this batch file after extraction.
For example, the batch file test.bat. After compression, a test.exe executable file will be generated. Now it can be used. But you can still see it's a winrar compressed file when you right-click on the file. I can also change its suffix to.com or.bat or.cmd, etc. Then open it with notepad and it's all garbled. They all think it's encrypted by the method above.
Last edited by lxq73061 on 2006-11-25 at 04:09 AM ]
|
|
2006-11-25 04:07 |
|
|
echo
初级用户
 
积分 148
发帖 69
注册 2006-11-23
状态 离线
|
『第 112 楼』:
使用 LLM 解释/回答一下
Originally posted by lxq73061 at 2006-11-24 03:07 PM:
我的最简单的办法(菜鸟也会)
把批处理文件用winrar做成一个自解压的包,解压方式为“临时文件夹”(也可以指定为一个隐蔽的路径),安静模式 ...
顶你一下,顶你个肺!
Originally posted by lxq73061 at 2006-11-24 03:07 PM:
My simplest method (even beginners can do it)
Make the batch file into a self-extracting archive with WinRAR, set the extraction method to "temporary folder" (or can specify a hidden path), silent mode ...
Give you a thumbs up, give you a lung!
|
|
2006-11-29 03:09 |
|
|
echo
初级用户
 
积分 148
发帖 69
注册 2006-11-23
状态 离线
|
『第 113 楼』:
使用 LLM 解释/回答一下
Originally posted by lxq73061 at 2006-11-24 03:07 PM:
我的最简单的办法(菜鸟也会)
把批处理文件用winrar做成一个自解压的包,解压方式为“临时文件夹”(也可以指定为一个隐蔽的路径),安静模式 ...
再顶你一下,真是爱死你了!!!
来,亲一个!:lol:
再顶你一下,真是爱死你了!!!
来,亲一个!:lol:
|
|
2006-11-29 03:14 |
|
|
eech
高级用户
   
积分 906
发帖 346
注册 2006-7-10
状态 离线
|
『第 114 楼』:
使用 LLM 解释/回答一下
下了楼主一个好东东.对付菜鸟足够了,嘿嘿
Got a great thing from the LZ. It's enough for beginners, heh heh
|
|
2006-12-1 02:00 |
|
|
HUNRYBECKY
银牌会员
    
积分 1179
发帖 442
注册 2006-9-9
状态 离线
|
『第 115 楼』:
使用 LLM 解释/回答一下
楼上的所有加密方式使用编辑器或其他工具都可以看到源代码。至于BAT批处理加密,我个人认为多层加密:
1.先用“BAT加密工具”的方法加密BAT,让其变为乱码。
2.再使用BAT TO EXE或 COM工具进行转换
3.然后再使用加壳工具给转换后的EXE 或COM加一层可以防止反编译的壳,北京老王的客最强,建设使用。
4.最后再使用楼上的方法使用WINRAR给处理下。
做了这么工作,我看谁还能反编译出BAT文件的源代码。我就是这样加密的。目前我主要是为ACCESS程序开发者提供环境支持,编写出ACCESS绿色版。我不会写其他程序,只会写一些简单的批处理程序,其中批处理加密就采用了几种方法的集合。
All the encryption methods mentioned above can have their source code viewed using an editor or other tools. As for BAT batch processing encryption, personally, I think of multi - layer encryption:
1. First, use the method of "BAT encryption tool" to encrypt the BAT, turning it into garbled code.
2. Then use the BAT TO EXE or COM tool for conversion.
3. Then use a packing tool to add a layer of shell to the converted EXE or COM to prevent decompilation. The strongest one is from Lao Wang in Beijing, and it is recommended to use it.
4. Finally, use the method mentioned above to handle it with WINRAR.
After doing so many works, I think no one can decompile the source code of the BAT file. I encrypt it like this. Currently, I mainly provide environment support for ACCESS program developers to compile ACCESS green versions. I can't write other programs, only some simple batch processing programs, and the batch processing encryption adopts a collection of several methods.
|
|
2006-12-3 04:31 |
|
|
lxq73061
初级用户
 
积分 38
发帖 17
注册 2006-10-12
状态 离线
|
『第 116 楼』:
使用 LLM 解释/回答一下
最后,批处理有一个缺点.它运行的时候会把脚本中的所有内容读到内存.
嘿嘿...
Finally, batch processing has a shortcoming. When it runs, it reads all the content in the script into memory. Hehe...
|
|
2006-12-3 12:48 |
|
|
HUNRYBECKY
银牌会员
    
积分 1179
发帖 442
注册 2006-9-9
状态 离线
|
『第 117 楼』:
使用 LLM 解释/回答一下
QuickBFC.EXE加密的确没有什么意义,只是给BAT加了一层客而已,运行时自动解压缩到临时目录就有点先可执行的WINRAR压缩包一样。给大家推荐ExeScript 软件,可以实现真正的BAT 转EXE文件。
QuickBFC.EXE encryption really doesn't make much sense. It just adds a layer to the BAT. When running, it automatically decompresses to the temporary directory, which is a bit like a self-executable WINRAR compressed package. I recommend the ExeScript software, which can realize the real BAT to EXE file conversion.
|
|
2006-12-4 21:50 |
|
|
knight1006
初级用户
 
积分 29
发帖 16
注册 2005-11-15
状态 离线
|
『第 118 楼』:
使用 LLM 解释/回答一下
上面几位兄弟给出的加密方法,我试了试,强度不高,用WINRAR都能看到原代码
The encryption methods provided by the brothers above, I tried them, and the strength is not high, and the original code can be seen with WINRAR
|
|
2006-12-5 03:52 |
|
|
scriptor
银牌会员
    
积分 1187
发帖 555
注册 2006-12-21
状态 离线
|
『第 119 楼』:
Wonderful
使用 LLM 解释/回答一下
[size=4][color=Purple]这个提供了一个解决让我困扰很久的技术问题的方案,
帮忙支持以下。。[/color][/size]
[[i] Last edited by scriptor on 2006-12-22 at 01:19 AM [/i]]
This provides a solution to a technical problem that has troubled me for a long time,
Please give support below.
Last edited by scriptor on 2006-12-22 at 01:19 AM ]
|
|
2006-12-22 14:18 |
|
|
tao0610
高级用户
    朦胧的世界
积分 579
发帖 218
注册 2006-10-24
状态 离线
|
『第 120 楼』:
使用 LLM 解释/回答一下
Originally posted by HUNRYBECKY at 2006-12-4 08:50 AM:
QuickBFC.EXE加密的确没有什么意义,只是给BAT加了一层客而已,运行时自动解压缩到临时目录就有点先可执行的WINRAR压缩包一样。给大家推荐ExeScript 软� ...
ms那个ExeScript也是加层壳.
Originally posted by HUNRYBECKY at 2006-12-4 08:50 AM:
The encryption of QuickBFC.EXE is indeed not meaningful. It just adds a layer of disguise to the BAT. When running, it automatically decompresses to the temporary directory, which is a bit like a self-executable WINRAR compressed package. I recommend the ExeScript software to everyone...
The ms ExeScript is also adding a layer of shell.
|

认识自己,降伏自己,改变自己,才能改变别人! |
|
2006-12-22 14:33 |
|