Hey CODYQX4 I know your autorearm is ready to work with switch I just want to learn with the use of the console so I can see the code Lets determine at what day retail gets nags and do task to run before that. I mean does it really matter how regular OR4 task runs if it's silent and user doesn't notice. That besides conversion suggestions to volume is my best idea. Maybe the retail nags isn't so hard to to eliminate? What did you think of my ideas so far? Regarding when task and OR4.bat are created and placed we export restore then possibly OR4.bat runs imports then rearms so we don't use all rearms and only one is ever necessary to backup hence percentage of user success might be better See ya Bro p.s. After you and I discussing Smorgans "Home Brew" he released it at the other site the same day but it's only for windows not Office 2010...lol I guess we got to him finally ...lol
So I just need help with this part of the console at the moment Code: :InstallOR4 CLS color B mode con: cols=63 lines=20 title OR4 1.0 echo. ----------------------------------------------- echo. echo. Installing OR4!!!!! echo. ----------------------------------------------- echo. echo. Please Wait... echo. echo. color B mode con: cols=63 lines=20 title OR4 1.0 mkdir "%SystemDrive%Office Backup" XCOPY /Y /S /I "%ALLUSERSPROFILE%\Microsoft\OfficeSoftwareProtectionPlatform" "%SystemDrive%Office Backup" REG EXPORT HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office "%SystemDrive%Office Backup" REG EXPORT HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform "%SystemDrive%Office Backup" REG EXPORT HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office "%ScriptPath%Activation Backup" REG EXPORT HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\OfficeSoftwareProtectionPlatform "%ScriptPath%Activation Backup" > nul 2>&1 net start osppsvc SET file=%SystemDrive%\OR4.bat IF EXIST %file% attrib -h %file% echo @echo off >>%file% echo cls >>%file% echo net stop osppsvc >>%file% echo XCOPY /Y /S /I "%ScriptPath%Activation Backup/Activation Files" "%ALLUSERSPROFILE%/Microsoft\OfficeSoftwareProtectionPlatform" >>%file% echo REG IMPORT "%ScriptPath%Activation Backup\Registry\Office1.reg" >>%file% echo REG IMPORT "%ScriptPath%Activation Backup\Registry\Office2.reg" > nul 2>&1 >>%file% echo REG IMPORT "%ScriptPath%Activation Backup\Registry\OfficeSoftwareProtectionPlatform1.reg" >>%file% echo REG IMPORT "%ScriptPath%Activation Backup\Registry\OfficeSoftwareProtectionPlatform2.reg" > nul 2>&1 >>%file% echo net start osppsvc >>%file% echo pause >>%file% echo cls >>%file% echo "C:\Program Files\Common Files\microsoft shared\OfficeSoftwareProtectionPlatform\OSPPREARM.EXE" >>%file% schtasks /create /tn "Rearm2" /tr %file% /sc daily /mo 30 /RL HIGHEST /f start C:\OR4.bat pause echo. echo. Press any key to return to the main menu. pause > nul GOTO MAINMENU ) With the uninstall we'll have to delete the backup directory along side with the OR4.bat and "Rearm2" task With the status I guess no change is necessary since it will read task and do "/dstatus"
So how close is this...lol Code: @echo off @color 9A mode con: cols=64 lines=21 title OR4 1.0 :MAINMENU CLS echo. echo. oOOOOOo OOOOOO OO OOO oO oOOOOOo echo. OO OO OO OOo OO OOO OOO OO OO echo. OO OO OO OOo OO OOO OOOO OO OO echo. OO OO OO OOo OO OO OO OO OO echo. OO OO OO OOo OO OO OO OO OO echo. OO OO OOOOOOOo OOOOOOOO OO OO OO echo. OO OO OO oo OO OO OO OO echo. OO OO OO Oo OO OO OO OO echo. OO OO OO OO OO OO OO OO OO echo. ... oOOOOOo OO Oo OO OOOO OO oOOOOOo ... echo. echo. by timesurfer... echo. echo. An alternative Office 2010 Rearm Concept Solution. echo. echo. A. Install OR4 echo. B. Uninstall OR4 echo. C. OR4 Status echo. :CHOOSEACTION set /p userinp= ^ Make your selection: set userinp=%userinp:~0,1% if /i "%userinp%"=="A" goto InstallOR4 if /i "%userinp%"=="B" goto UninstallOR4 if /i "%userinp%"=="C" goto OR4Status echo. echo. Try Again Dude... echo. GOTO CHOOSEACTION :InstallOR4 CLS @color 9A mode con: cols=64 lines=21 title OR4 1.0 echo. ----------------------------------------------- echo. echo. Installing OR4!!!!! echo. ----------------------------------------------- echo. echo. Please Wait... echo. echo. @color 9A mode con: cols=64 lines=21 title OR4 1.0 mkdir "%SystemDrive%Office Backup" net stop osppsvc XCOPY /Y /S /I "%ALLUSERSPROFILE%\Microsoft\OfficeSoftwareProtectionPlatform" "%SystemDrive%Office Backup" REG EXPORT HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office "%SystemDrive%Office Backup" REG EXPORT HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform "%SystemDrive%Office Backup" REG EXPORT HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office "%SystemDrive%Office Backup" REG EXPORT HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\OfficeSoftwareProtectionPlatform "%SystemDrive%Office Backup" > nul 2>&1 net start osppsvc SET file=%SystemDrive%\OR4.bat IF EXIST %file% attrib -h %file% echo @echo off >>%file% echo cls >>%file% echo net stop osppsvc >>%file% echo XCOPY /Y /S /I "%SystemDrive%Office Backup" "%ALLUSERSPROFILE%/Microsoft\OfficeSoftwareProtectionPlatform" >>%file% echo REG IMPORT "%SystemDrive%Office Backup" \HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office" >>%file% echo REG IMPORT "%SystemDrive%Office Backup"\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform" > nul 2>&1 >>%file% echo REG IMPORT "%SystemDrive%Office Backup"\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office" >>%file% echo REG IMPORT "%SystemDrive%Office Backup"\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\OfficeSoftwareProtectionPlatform" > nul 2>&1 >>%file% echo net start osppsvc >>%file% echo pause >>%file% echo cls >>%file% echo "C:\Program Files\Common Files\microsoft shared\OfficeSoftwareProtectionPlatform\OSPPREARM.EXE" >>%file% schtasks /create /tn "Rearm2" /tr %file% /sc daily /mo 30 /RL HIGHEST /f start C:\OR4.bat pause echo. echo. Press any key to return to the main menu. pause > nul GOTO MAINMENU ) :UninstallOR4 CLS @color 9A mode con: cols=64 lines=21 title OR4 1.0 echo. ----------------------------------------------- echo. echo. Uninstalling OR4!!!!! echo. ----------------------------------------------- echo. echo. Please Wait... echo. echo. SET file=%SystemDrive%\OR4.bat IF EXIST %file% attrib -h %file% del %file% del c:\OR4 schtasks /delete /tn "Rearm2" /f echo. Press any key to return to the main menu. pause > nul GOTO MAINMENU ) :OR4Status @color 9A mode con: cols=64 lines=21 title OR4 1.0 cscript "%PROGRAMFILES%\Microsoft Office\OFFICE14\OSPP.VBS" /dstatus schtasks /query | FINDSTR /I "Rearm2" IF ERRORLEVEL 1 echo Rearm2 Task is not yet Installed echo. Press any key to return to the main menu. pause > nul GOTO MAINMENU ) But in more stripped down fashion if possible but I'm uncertain what to include and what not to include and how to deal with x64 if necessary. I'd like to simply use the back up's you do but in code here in console Anyone know how to change background color for console?
C:\>color /? Sets the default console foreground and background colors. COLOR [attr] attr Specifies color attribute of console output Color attributes are specified by TWO hex digits -- the first corresponds to the background; the second the foreground. Each digit can be any of the following values: 0 = Black 8 = Gray 1 = Blue 9 = Light Blue 2 = Green A = Light Green 3 = Aqua B = Light Aqua 4 = Red C = Light Red 5 = Purple D = Light Purple 6 = Yellow E = Light Yellow 7 = White F = Bright White If no argument is given, this command restores the color to what it was when CMD.EXE started. This value either comes from the current console window, the /T command line switch or from the DefaultColor registry value. The COLOR command sets ERRORLEVEL to 1 if an attempt is made to execute the COLOR command with a foreground and background color that are the same. Example: "COLOR fc" produces light red on bright white C:\>
So my script is putting the backup folder where OR4 is...lol I want it to go in the c:\ with the OR4.bat file Any help with my script above? Thank you Edit: I hear you cody but if anyone want's to help me I'd like to work on it for the console Then can you show me where to put your code with autorearm with it in my console? And does your autorearm setup use out all five rearms or just one restore then rearm then repeat?
Actually do you know what the things that you are talking about ...... if you think you can patch 2 different file with the same sequence then you are in a epic wrong way of learning how to crack an app ......... actually the sequence that you have seen in one dll can have the different usage for another dll ...... for example if you patch mov $0,%eax; for a dll ...... doesn't mean that it cannot be presented in another dll and have a different usage ...... you better learn more about instruction set and disassembler before you said so ...... btw I am not surprised by the thing you mentioned about Adobe ...... their app is like having the most fail security on the world ...... there is @ least a 0day exploit every month for their apps.
Consider using GetNativeSystemInfo and IsWOW64Process to test whether the app is working under x64 OS or not ...... Example code in C / C++ (you may need to load the library if you develop the program in C#) : Code: SYSTEM_INFO *new_info = (SYSTEM_INFO *)HeapAlloc(ProcessHeap,0x8,sizeof(SYSTEM_INFO)); // in C way ..... you can use new instead for C++ GetNativeSystemInfo(new_info); if (new_info->wProcessorArchitecture) { if (new_info->wProcessorArchitecture == 0x6) fputs("You are running IA64 based Windows.",stderr); else if (new_info->wProcessorArchitecture == 0x9) fputs("You are running x64 based Windows.",stderr); else fputs("You are running an unknown architecture based Windows.",stderr); } else fputs("You are running x86 based Windows.",stderr); HeapFree(ProcessHeap,0,new_info);
hmmm I think that is because the codes used in the specific function (the one that you patched) has never changed and hence the compiler / assembler will not give out any different result as the source code of that function has not been changed Anyway I have investigated more MAK keys now and found out that there is *no* common bit existing in the calculated base24 value :x (that means no way to briefly check a key before passing it for validation :x)