|
maanu 发表于 2017-4-2 18:04
yes , my PE works ok on its own , i want to use it with 0PE base , but it does not work with 0PE , ... - FBWF P20 L64 H128
- INIT IU,3000
- PATH %SystemDrive%\TEMP
- CALL $SHELL32.DLL,DllInstall,#1,U
- LOGS %CurDir%\PEMCD.LOG
- SHOW -1:-1
- TEAM ENVI W=%WinDir%|ENVI WS=%WinDir%\SYSTEM32|ENVI WSD=%WS%\Drivers|ENVI V0=HKLM\System\CurrentControlSet\Services
- ENVI V2=PECMD.EXE
- ENVI V3=SHELL32.DLL#
- //EXEC =!%WinDir%\SYSTEM32\RUN1.CMD
- PATH %USERPROFILE%\Local Settings\Temp //invalid
- EXEC =%systemroot%\\packuser.exe -o%SystemDrive% -y
- //EXEC =!%WinDir%\SYSTEM32\IMDISK.CMD
- EXEC =rundll32.exe setupapi.dll,InstallHinfSection DefaultInstall 132 .\imdisk.inf
- EXEC =!%WinDir%\SYSTEM32\7ZSET.CMD
- REGI %V0%\USBHUB\ImagePath=%WSD%\USBHUB.SYS
- REGI %V0%\USBCCGP\ImagePath=%WSD%\USBCCGP.SYS
- REGI %V0%\USBEHCI\ImagePath=%WSD%\USBEHCI.SYS
- REGI %V0%\USBOHCI\ImagePath=%WSD%\USBOHCI.SYS
- REGI %V0%\USBSTOR\ImagePath=%WSD%\USBSTOR.SYS
- REGI %V0%\USBUHCI\ImagePath=%WSD%\USBUHCI.SYS
- REGI %V0%\HIDUSB\ImagePath=%WSD%\HIDUSB.SYS
- REGI %V0%\MOUCLASS\ImagePath=%WSD%\MOUCLASS.SYS
- REGI %V0%\MOUHID\ImagePath=%WSD%\MOUHID.SYS
- REGI %V0%\KBDCLASS\ImagePath=%WSD%\KBDCLASS.SYS
- REGI %V0%\KBDHID\ImagePath=%WSD%\KBDHID.SYS
- REGI %V0%\CDROM\ImagePath=%WSD%\CDROM.SYS
- //TEAM PATH %SystemDrive%\TEMP|INIT IU,3690|EXEC @PECMD.EXE CALL $SHELL32.DLL,DllInstall,#1,U
- //FORX !\SRNP\NVPE.WIM,KK,1,TEAM FDIR PN=%KK%|ENVI PNTV=%PN%\WALL\|envi pn=
- //%V1%随机换幅壁纸 F10,%V2%,exec =@setwp.exe %PNTV%,%V3%98
- //FIND MEM>128,HOTK #121,%V2% exec =@setwp.exe %PNTV%
- //exec =@setwp.exe %PNTV%
- //WALL %CurDir%\img.jpg
- CALL $%WinDir%\SYSTEM32\oleacc.dll,DllInstall,
- CALL $%WinDir%\SYSTEM32\oleaccrc.dll,DllInstall,
- CALL $oleacc.dll,DllInstall,
- CALL $oleaccrc.dll,DllInstall,
- RAMD ImDisk,L5,FAT,Y:,MAANU
- REGI HKCR\lnkfile\IsShortcut
- HOTK #112,NOTEPAD.EXE %WS%\HELP.TXT
- HOTK Alt + T,PECMD.EXE TEMP @Delete
- HOTK Alt + P,X:\I386\SYSTEM32\ppAppsgenPE
- HOTK Alt + #0x53,PECMD.EXE SHUT S
- HOTK Alt + R,PECMD.EXE SHUT R
- HOTK Alt + E,PECMD.EXE LOAD %windir%\system32\SS.ini
- //LOAD %CurDir%\ext.ini
- PATH Y:\SRNTOOLS
- FORX !\SRNP\COMN\TOOLS.WIM,TWIM,1,MOUN TWIM,Y:\SRNTOOLS,%TEMP%,1
- WAIT 500
- IFEX Y:\SRNTOOLS\LINKS.INI,! FORX \SRNP\COMN\TOOLS.WIM,TWIM,1,MOUN TWIM,Y:\SRNTOOLS,%TEMP%,1
- IFEX Y:\SRNTOOLS\LINKS.INI, LOAD Y:\SRNTOOLS\LINKS.INI
- //REGI HKCR\Drive\shell\ImDiskUnmount\=Unmount IMDISK Virtual Disc
- //REGI HKCR\Drive\shell\ImDiskUnmount\command\=rundll32.exe imdisk.cpl,RunDLL_RemoveDevice %L
- //REGI HKLM\SOFTWARE\Classes\Ultraiso\shell\ImDiskMountFile\=Mount With IMDISK
- //REGI HKLM\SOFTWARE\Classes\Ultraiso\shell\ImDiskMountFile\command\=rundll32.exe imdisk.cpl,RunDLL_MountFile %L
- //REGI HKLM\SOFTWARE\Classes\Winimage\shell\ImDiskMountFile\=Mount With IMDISK
- //REGI HKLM\SOFTWARE\Classes\Winimage\shell\ImDiskMountFile\command\=rundll32.exe imdisk.cpl,RunDLL_MountFile %L
- //FIND MEM<250,CALL ASK
- //_SUB PAGEFILE_SET
- //BROW Tag,*D:\,Select the partition to create PAGEFILE on
- //FIND $%TAG%=,ENVI DRIVE=D:!FDRV DRIVE=%TAG%
- //text Creating PageFile%DRIVE%
- //PAGE %DRIVE%\SRNPE.sys 150 300
- //_END
- //_SUB ASK `Pagefile FOR SRNPE
- //forx \pagefile.sys,pagefile,0,file %pagefile% `Pagefile is necessery for low systems....
- //mess 穣our System has less then 300MB RAM\n \nFor creating pagefile press YES @Pagefile for PE #YN *10000 $N
- //FIND $%YESNO%=YES,CALL PAGEFILE_SET
- //_END
- //TEAM FIND Explorer.EXE,!SHEL %WinDir%\EXPLORER.EXE|WAIT 1669
- WALL %CurDir%\img.jpg
- SHEL %WinDir%\EXPLORER.EXE
- LINK %Desktop%\F1(HELP),%CurDir%\HELP.TXT
- //SHOW -1:-1
- //TEAM WAIT 900|KILL SMSS.EXE|KILL WINLOGON.EXE
- //SEND #121
- //EXEC =!%WinDir%\SYSTEM32\ppAppsGenPE.exe
- //EXEC =!%WinDir%\SYSTEM32\RUN2.CMD
- LOGS
复制代码
you can test pecmd.ini. |
|