中国DOS联盟论坛

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-11-10 13:03
47,815 topics / 349,930 posts / today 0 new / 48,291 members
DOS批处理 & 脚本技术(批处理室) » [Original] [Discussion] Non-compiled Batch Processing Encryption Scheme and Code
Printable Version  122,644 / 364
Floor46 electronixtar Posted 2006-07-23 18:59
铂金会员 Posts 2,672 Credits 7,493
Can we not use "ren *.jpg" ? Can we replace it with other extraordinary statements?
Floor47 fastslz Posted 2006-07-23 19:04
铂金会员 Posts 2,315 Credits 5,493 From 上海

I don't know if I should post it, it's a bit hacker-related


For people with malicious intentions, they can bundle Trojan codes!
Floor48 yuanyong630 Posted 2006-07-23 20:52
初级用户 Posts 13 Credits 49
Floor 28: The brother's question is very good. After my test, the following code can also complete the "encryption" work:

%%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a
Floor49 pengfei Posted 2006-07-23 21:30
银牌会员 Posts 485 Credits 1,218 From 湖南.娄底
What I mean by backdoor is an uninstall function that can also seed according to your configuration. It doesn't mean I have a backdoor.
Floor50 IceCrack Posted 2006-07-24 08:21
中级用户 Posts 168 Credits 332 From 天涯
Not interested in hacker techniques, and that's what I think. Why do we have to encrypt bat with bat? Anyway, the encrypted one is not readable. Why not convert it to exe?
Floor51 Kinglion Posted 2006-07-24 08:45
铂金会员 Posts 1,924 Credits 5,802 From 金獅電腦軟體工作室
Originally posted by IceCrack at 2006-7-24 08:21 AM:
Not interested in hacker techniques, and also I think. Why do we have to encrypt BAT with BAT? Anyway, the encrypted one is not readable. Why not convert it to EXE?


The best way to encrypt a BAT file is to compile the BAT file into a COM or EXE file. Other encryption methods are easy to crack.
Floor52 yuanyong630 Posted 2006-07-25 00:39
初级用户 Posts 13 Credits 49
After my test, the following code can also complete the "encryption" work

%%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a
Floor53 yuanyong630 Posted 2006-07-25 00:44
初级用户 Posts 13 Credits 49
Finally, I would like to thank Mr. Mu Lin Sen for popularizing my encryption method. Thank you very much for everyone's support!
Floor54 pengfei Posted 2006-07-25 10:02
银牌会员 Posts 485 Credits 1,218 From 湖南.娄底
Hehe~ Good things are meant to be shared with everyone, right?
I wonder if Brother yuanyong630 can explain the principle of this encryption.
I'm quite curious.
Floor55 namejm Posted 2006-07-25 13:22
荣誉版主 Posts 1,737 Credits 5,226 From 成都
Re pengfei:

The encryption principle of yuanyong630 was deeply analyzed by willsort in previous posts. Please see this post:

How to prevent others from viewing and modifying the content of .bat without converting it?
http://www.cn-dos.net/forum/viewthread.php?tid=21804&page=2&fpage=1
Floor56 pengfei Posted 2006-07-25 13:54
银牌会员 Posts 485 Credits 1,218 From 湖南.娄底
Hehe~ After reading the code modified by brother yuanyong630 for encryption, the defect of executing the FOR command after running the batch processing is corrected, and it runs faster.
Floor57 yuanyong630 Posted 2006-07-26 08:50
初级用户 Posts 13 Credits 49
Thank you very much for everyone's support. If you want to talk about the principle, please see
(This is a very good principle written by the moderator willsort)
http://www.cn-dos.net/forum/viewthread.php?tid=21804&fpage=1&highlight=&page=2

Finally, write a statement for everyone

@del %0

Add it to the end of the BAT file. Of course, if the last statement is "EXIT", add it in front of "EXIT"! See what happens!
Floor58 zh159 Posted 2006-07-26 10:08
金牌会员 Posts 1,467 Credits 3,687
Originally posted by yuanyong630 at 2006-7-26 08:50:
Thanks everyone for your support. For the principle, please see
(This is a very good principle written by moderator willsort)
http://www ... %0 should refer to the batch processing itself, but directly using %0 only has the file name, and you need to add the .bat (del %0.bat) extension later to be effective
Floor59 yuanyong630 Posted 2006-07-26 10:10
初级用户 Posts 13 Credits 49
@del %0
That is to delete the BAT file to achieve the effect of automatically deleting itself after running once, which is sometimes used
Floor60 xiongwei2624 Posted 2006-07-26 10:47
初级用户 Posts 44 Credits 96 From 深圳
Thanks, in the learning process!!!
Prev  1 2 3 4 5 6 7 … 25  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023