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 06:13
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Original] [Discussion] Non-compiled Batch Processing Encryption Scheme and Code DigestI View 110,324 Replies 364
Floor 136 Posted 2007-02-26 22:56 ·  中国 广东 深圳 电信
高级用户
★★★
Credits 793
Posts 312
Joined 2004-09-02 00:00
21-year member
UID 31104
Gender Male
Status Offline
Give it a boost so more people can see it.
Floor 137 Posted 2007-02-26 23:42 ·  中国 福建 福州 长乐区 电信
初级用户
Credits 53
Posts 23
Joined 2007-02-02 23:27
19-year member
UID 78449
Gender Male
Status Offline
This encryption method is good. Learned it.
Floor 138 Posted 2007-02-28 04:41 ·  中国 河南 洛阳 电信
新手上路
Credits 2
Posts 1
Joined 2007-01-05 01:09
19-year member
UID 75462
Gender Male
Status Offline
I'm really depressed. Just now, after testing a small command, after encrypting copy, it became "'锘縞opy' is not an internal or external command, nor is it a runnable program or batch file." It means the encryption was successful but the batch file is broken.
Floor 139 Posted 2007-03-02 12:17 ·  中国 四川 泸州 联通
高级用户
★★★
Credits 609
Posts 374
Joined 2006-08-02 22:38
19-year member
UID 59720
Status Offline
In fact, the method of encrypting with copy a.txt+b.txt c.txt is the universal one. Just save a.txt in Unicode encoding. It doesn't matter whether there are symbols or text or not.
Floor 140 Posted 2007-03-05 22:40 ·  中国 黑龙江 鸡西 联通
新手上路
Credits 2
Posts 1
Joined 2007-03-05 22:09
19-year member
UID 80849
Gender Male
Status Offline
Bump
Floor 141 Posted 2007-03-08 23:08 ·  中国 湖北 武汉 武昌区 电信
初级用户
Credits 20
Posts 9
Joined 2007-03-08 22:23
19-year member
UID 81104
Gender Male
Status Offline
The cow B on the seventh floor. But every time it shows that the execution of that code is not very good.
Floor 142 Posted 2007-03-11 01:16 ·  中国 广东 深圳 罗湖区 电信
新手上路
Credits 2
Posts 1
Joined 2007-01-17 00:22
19-year member
UID 76730
Gender Male
Status Offline
Thank you everyone for sharing
Floor 143 Posted 2007-03-11 01:32 ·  中国 广东 电信
初级用户
Credits 118
Posts 47
Joined 2007-03-10 16:00
19-year member
UID 81323
Gender Male
Status Offline
Rising Antivirus actually reports that the files generated by ExeScript and QuickBFC are viruses~ Only Rising would do such a thing among MS-related software.
Floor 144 Posted 2007-03-12 03:48 ·  中国 广东 广州 海珠区 电信
初级用户
★★
Credits 170
Posts 72
Joined 2007-03-11 22:16
19-year member
UID 81435
Gender Male
Status Offline
There is this problem. Some antivirus software misreports the converted exe file... It's puzzling.
Floor 145 Posted 2007-03-15 01:49 ·  中国 广东 东莞 电信
初级用户
Credits 50
Posts 21
Joined 2007-03-13 08:06
19-year member
UID 81579
Gender Male
Status Offline
I have never succeeded even once.
Used all the above methods and tools.
Floor 146 Posted 2007-03-15 07:16 ·  中国 湖北 荆门 电信
新手上路
Credits 18
Posts 8
Joined 2007-01-29 07:13
19-year member
UID 78015
Gender Male
Status Offline
Floor 147 Posted 2007-03-15 08:00 ·  中国 陕西 西安 电信
初级用户
Credits 120
Posts 45
Joined 2007-03-13 05:57
19-year member
UID 81568
Gender Male
Status Offline
Learning
Floor 148 Posted 2007-03-16 12:50 ·  中国 福建 漳州 电信
新手上路
Credits 4
Posts 2
Joined 2006-10-21 10:45
19-year member
UID 67513
Status Offline
echo pig!!
pause>nul
exit
It became
@set uvmhh=echo
@set lfmmp=copy
%uvmhh% off
%uvmhh% pig!!
pause>nul
exit
%uvmhh% set ff=createobject("scripting.filesystemobject")>>poly.vbs
%uvmhh% set rr=ff.opentextfile(%0,1)>>poly.vbs
%uvmhh% aa = rr.readall>>poly.vbs
%uvmhh% rr.close>>poly.vbs
%uvmhh% Randomize>>poly.vbs
%uvmhh% poly = int(rnd * 3)>>poly.vbs
%uvmhh% if poly = 0 or poly = 2 then>>poly.vbs
%uvmhh% s = chr(int(22 * rnd) + 97)>>poly.vbs
%uvmhh% rand1 = Replace(aa,"uvmhh","uvmhh" ^& s ^& poly)>>poly.vbs
%uvmhh% rand2 = Replace(rand1,"lfmmp","lfmmp" ^& s ^& s ^& poly)>>poly.vbs
%uvmhh% else>>poly.vbs
%uvmhh% polynum = int(rnd * 7)>>poly.vbs
%uvmhh% for i = 1 to polynum>>poly.vbs
%uvmhh% polychar = chr(int(22 * rnd) + 97)>>poly.vbs
%uvmhh% polyall = polyall + polychar>>poly.vbs
%uvmhh% next>>poly.vbs
%uvmhh% s = chr(int(22 * rnd) + 97)>>poly.vbs
%uvmhh% rand1 = Replace(aa,"uvmhh",polyall )>>poly.vbs
%uvmhh% rand2 = Replace(rand1,"lfmmp", s ^& polyall)>>poly.vbs
%uvmhh% end if>>poly.vbs
%uvmhh% set bb=ff.opentextfile(%0,2)>>poly.vbs
%uvmhh% bb.write rand2>>poly.vbs
@cscript poly.vbs
@del poly.vbs
@exit
Actually the useful part is
@set uvmhh=echo
@set lfmmp=copy
%uvmhh% off
%uvmhh% pig!!
pause>nul
exit
It separated
Floor 149 Posted 2007-03-16 12:50 ·  中国 福建 漳州 电信
新手上路
Credits 4
Posts 2
Joined 2006-10-21 10:45
19-year member
UID 67513
Status Offline
echo pig!!
pause>nul
exit
It became
@set uvmhh=echo
@set lfmmp=copy
%uvmhh% off
%uvmhh% pig!!
pause>nul
exit
%uvmhh% set ff=createobject("scripting.filesystemobject")>>poly.vbs
%uvmhh% set rr=ff.opentextfile(%0,1)>>poly.vbs
%uvmhh% aa = rr.readall>>poly.vbs
%uvmhh% rr.close>>poly.vbs
%uvmhh% Randomize>>poly.vbs
%uvmhh% poly = int(rnd * 3)>>poly.vbs
%uvmhh% if poly = 0 or poly = 2 then>>poly.vbs
%uvmhh% s = chr(int(22 * rnd) + 97)>>poly.vbs
%uvmhh% rand1 = Replace(aa,"uvmhh","uvmhh" ^& s ^& poly)>>poly.vbs
%uvmhh% rand2 = Replace(rand1,"lfmmp","lfmmp" ^& s ^& s ^& poly)>>poly.vbs
%uvmhh% else>>poly.vbs
%uvmhh% polynum = int(rnd * 7)>>poly.vbs
%uvmhh% for i = 1 to polynum>>poly.vbs
%uvmhh% polychar = chr(int(22 * rnd) + 97)>>poly.vbs
%uvmhh% polyall = polyall + polychar>>poly.vbs
%uvmhh% next>>poly.vbs
%uvmhh% s = chr(int(22 * rnd) + 97)>>poly.vbs
%uvmhh% rand1 = Replace(aa,"uvmhh",polyall )>>poly.vbs
%uvmhh% rand2 = Replace(rand1,"lfmmp", s ^& polyall)>>poly.vbs
%uvmhh% end if>>poly.vbs
%uvmhh% set bb=ff.opentextfile(%0,2)>>poly.vbs
%uvmhh% bb.write rand2>>poly.vbs
@cscript poly.vbs
@del poly.vbs
@exit
Actually the useful part is
@set uvmhh=echo
@set lfmmp=copy
%uvmhh% off
%uvmhh% pig!!
pause>nul
exit
It separated
Floor 150 Posted 2007-03-17 00:05 ·  中国 山东 淄博 联通
中级用户
★★
Credits 272
Posts 99
Joined 2006-06-02 09:12
20-year member
UID 56414
Status Offline
I also came to discuss the method of a large piece of %%a
Later, I saw someone change jpg to mmm
But there is still a big loop in it
Then simply remove for and just write %%a
This will first come out with an error message when running
I found such a format
Can avoid this problem


:%%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a %%a
@echo off
echo It's ok
pause


There is a space in front of the colon at the first line, why can't I post it?

[ Last edited by my3439955 on 2007-3-17 at 12:07 AM ]
‹ Prev 1 8 9 10 11 12 25 Next ›
Forum Jump: