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-06-21 07:49
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Original] [Discussion] Non-compiled Batch Processing Encryption Scheme and Code DigestI View 110,344 Replies 364
Floor 121 Posted 2006-12-22 14:39 ·  中国 广西 玉林 博白县 电信
金牌会员
★★★★
Credits 3,687
Posts 1,467
Joined 2005-08-08 12:00
20-year member
UID 44210
Status Offline
ExeScript and QuickBFC are based on the same principle, and QuickBFC is still hidden. It can modify icons and add information.
Floor 122 Posted 2007-01-07 03:11 ·  中国 重庆 沙坪坝区 联通
初级用户
Credits 102
Posts 35
Joined 2006-03-16 11:56
20-year member
UID 52168
Status Offline
Originally posted by lxq73061 at 2006-11-25 04:07:
My simplest method (even beginners can do it)
Use WinRAR to make a self-extracting package of the batch file. Set the extraction method to "temporary folder" (you can also specify a hidden path), set the quiet mode to "completely hidden", and set the overwrite method to "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 in the "run after extraction" option.
For example, for the batch file test.bat, after compression, it will generate an executable file test.exe. Now it can be used. But when you right-click on the file, you can still see that it's a WinRAR compressed file. I then change its suffix to.com or.bat or.cmd, etc. Then if you open it with Notepad, it's all garbled. They will think it's encrypted using the method above.


Up
Floor 123 Posted 2007-01-11 02:31 ·  中国 江苏 无锡 宜兴市 电信
初级用户
Credits 38
Posts 15
Joined 2006-10-19 23:07
19-year member
UID 67027
Status Offline
Originally posted by chenall at 2006-11-22 03:09:
I upload the batch script for encryption and decryption that I use myself, you 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 ...

Tested that this file cannot be encrypted
@ECHO OFF
shutdown.exe -r -t 0

Please advise.
Floor 124 Posted 2007-01-11 02:31 ·  中国 江苏 无锡 宜兴市 电信
初级用户
Credits 38
Posts 15
Joined 2006-10-19 23:07
19-year member
UID 67027
Status Offline
Originally posted by chenall at 2006-11-22 03:09:
I upload the batch script for encryption and decryption that I use myself, you 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 ...

Tested and unable to encrypt this file
@ECHO OFF
shutdown.exe -r -t 0

Please advise.
Floor 125 Posted 2007-01-15 13:25 ·  中国 广东 阳江 电信
新手上路
Credits 8
Posts 4
Joined 2007-01-15 12:34
19-year member
UID 76585
Gender Male
Status Offline
Good, collected.
Floor 126 Posted 2007-01-17 13:51 ·  中国 广东 深圳 福田区 电信
初级用户
Credits 22
Posts 9
Joined 2007-01-16 16:01
19-year member
UID 76706
Gender Male
Status Offline
Learning
Floor 127 Posted 2007-01-17 20:43 ·  美国 弗吉尼亚州 华盛顿县 Microsoft
高级用户
★★
Credits 783
Posts 268
Joined 2006-12-26 17:18
19-year member
UID 74627
Gender Male
Status Offline
Some people are wise enough to change the .bat suffix to the opening form of text such as .doc for viewing. Has it been tested and passed on Chinese Windows? Has it been tested and passed on machines with other languages? What about Vista?
菩提本无树,明镜亦非台,本来无一物,何处惹尘埃.
Floor 128 Posted 2007-01-19 23:33 ·  中国 浙江 丽水 莲都区 电信
新手上路
Credits 3
Posts 2
Joined 2007-01-19 22:19
19-year member
UID 77046
Gender Male
Status Offline
Learning
Floor 129 Posted 2007-01-20 11:43 ·  中国 重庆 江北区 电信
新手上路
Credits 16
Posts 8
Joined 2007-01-20 11:09
19-year member
UID 77138
Gender Male
Status Offline
Good
Floor 130 Posted 2007-01-20 11:58 ·  中国 重庆 沙坪坝区 联通
初级用户
Credits 102
Posts 35
Joined 2006-03-16 11:56
20-year member
UID 52168
Status Offline
Originally posted by PPdos at 2007-1-17 20:43:
Some people are indeed wise, changing the .bat suffix to text opening forms like .doc for viewing

Has it been tested on Chinese Windows? Has it been tested on machines with other languages? What about Vista?


It's just a trick, but it's better than nothing. There is still an effect when used in combination

Can be opened directly with Notepad. Just specify ANSI
Floor 131 Posted 2007-02-03 16:04 ·  中国 辽宁 沈阳 电信
初级用户
Credits 29
Posts 15
Joined 2007-02-03 15:28
19-year member
UID 78537
Gender Male
Status Offline
Hehe, that's really good. I learned some things. But unfortunately, the EncryBat.rar can't be downloaded.
Floor 132 Posted 2007-02-06 12:37 ·  中国 广东 深圳 宝安区 电信
初级用户
Credits 68
Posts 29
Joined 2006-09-09 06:19
19-year member
UID 62210
Gender Male
Status Offline
Great expert. Admirable.
Floor 133 Posted 2007-02-16 10:44 ·  中国 湖北 宜昌 电信
初级用户
Credits 58
Posts 27
Joined 2006-12-07 09:13
19-year member
UID 72817
Gender Male
Status Offline
After searching for two nights, I finally found it. God helps those who help themselves!
Floor 134 Posted 2007-02-16 10:55 ·  中国 辽宁 本溪 联通
银牌会员
★★★
Credits 1,212
Posts 464
Joined 2006-12-13 21:11
19-year member
UID 73417
Gender Male
Status Offline
Good
Floor 135 Posted 2007-02-17 01:04 ·  中国 浙江 台州 温岭市 电信
高级用户
★★
DOS学徒
Credits 526
Posts 252
Joined 2007-02-12 05:35
19-year member
UID 79286
Gender Male
Status Offline
Bump it up
‹ Prev 1 7 8 9 10 11 25 Next ›
Forum Jump: