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 10:46
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Original] [Discussion] Non-compiled Batch Processing Encryption Scheme and Code DigestI View 110,366 Replies 364
Floor 271 Posted 2008-01-04 10:26 ·  中国 广东 深圳 电信
新手上路
Credits 2
Posts 1
Joined 2008-01-04 09:50
18-year member
UID 107616
Gender Male
Status Offline
Not bad, let's learn
Floor 272 Posted 2008-01-04 13:34 ·  中国 广东 广州 天河区 电信
新手上路
Credits 2
Posts 1
Joined 2008-01-04 12:55
18-year member
UID 107638
Gender Male
Status Offline
Learning
Floor 273 Posted 2008-01-09 14:50 ·  中国 香港 新世界电讯
新手上路
Credits 13
Posts 7
Joined 2007-10-04 19:44
18-year member
UID 98894
Gender Male
Status Offline
Top it! Don't sink! If it could not generate temporary files in the temporary folder when executing after converting bat to exe, or specify the location to release temporary files, can these be done?
Floor 274 Posted 2008-01-20 14:07 ·  中国 山东 青岛 联通
初级用户
★★
Credits 146
Posts 86
Joined 2007-10-01 11:27
18-year member
UID 98691
Gender Male
Status Offline
flyfox1047
Post #275 copy %0 xxx
attrib +s +h %0
Finally %0>%0 or
del /q /s %0
Floor 275 Posted 2008-01-21 18:58 ·  中国 广东 东莞 电信
初级用户
Credits 61
Posts 30
Joined 2008-01-16 05:45
18-year member
UID 108734
Gender Male
Status Offline
Hehe, you can use TYPE under DOS to see the code, just analyzed it casually, and now I can write it myself.
Floor 276 Posted 2008-01-21 18:59 ·  中国 广东 东莞 电信
初级用户
Credits 61
Posts 30
Joined 2008-01-16 05:45
18-year member
UID 108734
Gender Male
Status Offline
Hehe, under DOS you can use TYPE to see the code, I analyzed it casually, and now I can write it myself.
Floor 277 Posted 2008-01-28 19:24 ·  中国 山东 青岛 联通
初级用户
★★
Credits 146
Posts 86
Joined 2007-10-01 11:27
18-year member
UID 98691
Gender Male
Status Offline
Decryption tool.bat code
echo.>"%~dpn1.txt"
type %1 >>"%~dpn1.txt"
Drag and drop the encrypted bat onto the decryption tool.bat icon to decrypt
Floor 278 Posted 2008-01-28 20:54 ·  中国 香港 新世界电讯
新手上路
Credits 13
Posts 7
Joined 2007-10-04 19:44
18-year member
UID 98894
Gender Male
Status Offline
Originally posted by hdzc at 2008-1-20 02:07 PM:
flyfox1047
『Post 275』 copy %0 xxx
attrib +s +h %0
Finally %0>%0 or
del /q /s %0



What you said, I know. When ordinary people want to view the source code, they will open the temp folder and then run this converted exe. As soon as it runs, it will be generated! After generation, adding system attributes, or opening the "View system files" option in the folder, you can see it. I mean executing this EXE file, not releasing it to the temp folder, but releasing it to a folder that others don't know about
Floor 279 Posted 2008-01-28 21:49 ·  中国 浙江 温州 电信
初级用户
★★
Credits 158
Posts 89
Joined 2007-04-25 08:06
19-year member
UID 86402
Gender Male
Status Offline
Learning
Floor 280 Posted 2008-01-31 16:46 ·  中国 浙江 宁波 鄞州区 电信
新手上路
Credits 4
Posts 2
Joined 2008-01-31 16:20
18-year member
UID 109906
Gender Male
Status Offline
fixed-----------------
Floor 281 Posted 2008-02-03 13:53 ·  中国 山东 青岛 联通
初级用户
★★
Credits 146
Posts 86
Joined 2007-10-01 11:27
18-year member
UID 98691
Gender Male
Status Offline
280F
md xxx
copy %0 xxx
xxx is to release to a folder that no one knows, such as imitating the recycle bin or the recycle bin
Finally rd /s /q xxx
Executing EXE will not release to the temp folder but to xxx
QFC bat2exe can
Using exescript3.0 bat2exe is simpler
In this way, Filemon can't detect it
Floor 282 Posted 2008-02-15 04:09 ·  中国 广东 阳江 电信
初级用户
Credits 39
Posts 20
Joined 2007-05-14 02:07
19-year member
UID 88451
Gender Male
Status Offline
Four methods are all displayed under edit.com~~~
Floor 283 Posted 2008-02-17 11:28 ·  中国 台湾 中华电信
新手上路
Credits 4
Posts 2
Joined 2008-02-16 09:52
18-year member
UID 110762
Gender Male
Status Offline
Thank you, big boss, for sharing. Thank you, big boss, ya.....:)
Floor 284 Posted 2008-02-20 11:48 ·  中国 山东 青岛 阿里云
版主
★★★
操作系统爱好者
Credits 1,113
Posts 392
Joined 2002-11-11 00:00
23-year member
UID 228
Gender Male
Status Offline
Welcome to use the BAT simple encryption tool Bat2unic under the CMD mode

Usage:
Delete the test file 1.bat, replace it with the batch file you want to encrypt (it must also be named 1.bat),
and make sure that Bat2unic.bat, 1.bat, unicode, and readme.txt are in the same folder.
Run Bat2unic.bat, and the encrypted batch file 2.bat will be generated immediately

Produced by Ge Mingyang of DOS Home
http://doshome.com

Download address: http://upload.cn-dos.net/img/035.rar

Principle and advantages:
1. The principle is the same as EncryBat.rar (add UNICODE code to the BAT file header),
2. Advantages are:
(1) No need to operate in CMD or Run, after extracting all files, just double-click Bat2unic.bat;
(2) No garbage information such as author information is generated, and the encrypted BAT is only a few characters more than the original BAT.

[ Last edited by gmy on 2008-2-20 at 12:01 PM ]
DOS之家 http://doshome.com 站长 葛明阳
Floor 285 Posted 2008-02-20 14:57 ·  中国 辽宁 鞍山 联通
新手上路
Credits 6
Posts 3
Joined 2008-02-20 14:23
18-year member
UID 111056
Gender Male
Status Offline
DOS has fallen, but it will never die
‹ Prev 1 17 18 19 20 21 25 Next ›
Forum Jump: