jeudi 5 mai 2016

Elevate - Hiew External Module


Elevates current Hiew process
Requires Administrator (UAC)


INTRODUCTION


When you are normally examining files with Hiew, running Hiew under UAC (User Account Control) is enough, but if you need to modify objects in protected locations like %ProgramFiles%, you need to elevate Hiew process to grant admin permissions. "Elevate" module lets you to elevate current Hiew process to grant admin rights and to modify protected objects.


INSTALLATION


Place Elevate.hem in Hiew Hem folder (usually Hiew\Hem\Elevate).
To set Hem path, add option HemPath to hiew8.ini:
[HiewIni 5.03]
HemPath =   "C:\Hiew\Hem\"  ; Path to folder with Hiew External Modules

To add keyboard shortcut, add to hemkeys.ini in Hem folder:
[HemKeys 7.45]
e: Elevate

USAGE


Launch Hiew, press F11 (Hiew External Modules menu), select and run Elevate module. If you added shortcut as described above, you can just press F11, then 'e'.
If you previously opened file in Hiew, new elevated copy of Hiew will be launched with the same file, mode and offset.


REMARKS


Administrator rights are required to elevate Hiew process.
If your account doesn't have administrative rights, new Hiew instance will be launched, but without elevation.

After elevation you can open physical and logical drives as well:
    \\.\PhysicalDrive0
    \\.\C:
    
      If you executed Hiew without administrative rights ("Couldn't open file"), just press Esc, then open any other (accessible) file, then launch 'Elevate' from Hem menu (F11), then press F9 (Files), Alt+F3 (Devices) and \\.\PhysicalDrive0 will be listed and accessible then.


      HEM2HEM GATE SUPPORT


      Module supports Hem2HemGate, so you can call 'Elevate' module. Use HiewGate_GetHem2HemGate to find 'Elevate' module handle. Refer to Hem SDK documentation (HiewGate.c).

      Parameters:
      • FileName - File name of executable to run elevated. If NULL, then current Hiew instance is used
      • CmdLine - Command line parameters for executable. If NULL, then active file name is used as parameter

      ASM:
      HemElevateGate    Proto C    FileName:PSTR, CmdLine:PSTR
      
      C:
      BOOL __cdecl HemElevateGate (
          _In_  LPCTSTR FileName,
          _In_  LPCTSTR CmdLine
      );
      

      DISCLAIMER


      The software is provided to you "AS IS," and you acknowledge that it may contain errors. Author disclaims any warranty or liability obligations of any kind.


      CONTACTS


      Author email: Jupiter.RnD.Release@Gmail.com


      CREDITS


      Elevate.hem created by Jupiter


      © 2006-2016 by Jupiter


      DOWNLOAD


      Download Elevate binary distribution from official Hiew site:
      http://hiew.ru/hem.html

      Direct download:

      Archive contents:
      • Elevate.hem
      • Elevate.ini
      • Elevate_En.txt
      • File_iD.diz

       

      ANNOUNCE


      Release of Elevate was announced in Hiew author official blog (in Russian):
      https://eugenys.blogspot.ru/2016/05/elevate-hem.html

      Aucun commentaire:

      Enregistrer un commentaire