Exetools

Exetools (https://forum.exetools.com/index.php)
-   General Discussion (https://forum.exetools.com/forumdisplay.php?f=2)
-   -   Read BIOS from ring3 exe (https://forum.exetools.com/showthread.php?t=2258)

amigo 06-14-2003 01:17

Read BIOS from ring3 exe
 
Hi,

How can I read BIOS memory from win32 exe file?
(without using VXD)
The code: mov EAX, [ESI] lead to page fault, of course :(

bart 07-02-2003 08:25

for win9x user GetCurrentProcess() and ReadProcessMemory()

Code:

        BIOS_START        equ 0F0000h
        BIOS_LENGTH        equ 010000h

        call        GetCurrentProcess

        push        0
        push        esp                        ; &lpNumberOfBytesRead
        push        BIOS_LENGTH
        push        offset lpBuffer                ; &buffer
        push        BIOS_START                ; bios start
        push        eax                        ; hCurrentProcess
        call        ReadProcessMemory
        pop        edx                        ; pop lpNumberOfBytesRead

(thnx to teston for this snippet)



All times are GMT +8. The time now is 13:30.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX