Jump to content

Recommended Posts

Posted (edited)

Aşağıdaki örnek scriptle xp boot dosyalarını editleyebiliyorum. Aynı koda system32 klasöründeki shell32.dll ve Windows klasöründeki explorer.exe dosyalarını da nasıl ekleriz?

@echo off

cd %~dp0

echo Lutfen Bekleyin...

set ao=-addoverwrite

set rh=ResHacker.exe

set pe=PEChecksum.exe

set sys32=%SystemRoot%\system32

Copy /y %sys32%\ntoskrnl.exe >nul

Copy /y %sys32%\ntkrnlmp.exe >nul

Copy /y %sys32%\ntkrnlpa.exe >nul

Copy /y %sys32%\ntkrpamp.exe >nul

for %%i in (nt*.exe) do (

cls

start /wait %rh% %ao% %%i,%%i,bootscr.res,,,

start /wait %pe% -c %%i >nul

echo ;; ReplacerScript >> %%i.script

echo %%i,%%i >> %%i.script

start /wait /min replacer.cmd %%i.script

echo Basariyla Yamalandi: %%i

)

exit

Edited by Ahmet Şahin
Posted (edited)

Aşağıdaki kodu, XP CD 'sine değilde çalışan xp ye yani dosyaları system32 klasöründen çağırarak nasıl yapabiliriz.

@echo off

title Dosyalar Kopyalaniyor

md Temp

copy dosyalar\*.* Temp\

copy i386\explorer.ex* Temp\

copy i386\logonui.ex* Temp\

copy i386\msgina.dl* Temp\

copy i386\shell32.dl* Temp\

copy i386\sysdm.cp* Temp\

copy i386\winntbbu.dl* Temp\

del /F /Q i386\winntbbu.dll

title Dosyalar Ayiklaniyor

cls

cd Temp

for %%A in (*.*_) DO (

expand -r %%A

)

cls

del /F /Q *.*_

for %%T in (*.dll) DO (

ResHacker.exe -addoverwrite %%T, %%T, %%T.res,,,

)

ResHacker.exe -addoverwrite explorer.exe, explorer.exe, explorer.exe.res,,,

ResHacker.exe -addoverwrite sysdm.cpl, sysdm.cpl, sysdm.cpl.res,,,

cd..

md Bitenler

copy /Y Temp\*.exe Bitenler\

copy /Y Temp\*.dll Bitenler\

copy /Y Temp\*.cpl Bitenler\

cd bitenler

for %%Z in (*.*) DO (

modifype.exe %%Z -c

)

del /F /Q modifype.exe

del /F /Q reshacker.exe

for %%X in (*.*) DO (

makecab /v3 %%X

)

cd..

copy /Y bitenler\*.*_ i386\

RD /S /Q Dosyalar

RD /S /Q Bitenler

RD /S /Q Temp

Edited by Ahmet Şahin

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...