Closed.
#closed thenQuote:
Hi everyone ...
Well it may be a stupid question about using virtualprotect
First i wanted to know why we use this function ? i searched on google about and found some functions includes virtualprotect but ... the function will also work without virtualprotect
Global Const $PAGE_EXECUTE = 0x10
Global Const $PAGE_EXECUTE_READ = 0x20
Global Const $PAGE_EXECUTE_READWRITE = 0x40
Global Const $PAGE_EXECUTE_WRITECOPY = 0x80
Global Const $PAGE_NOACCESS = 0x1
Global Const $PAGE_READONLY = 0x2
Global Const $PAGE_READWRITE = 0x4
Global Const $PAGE_WRITECOPY = 0x8
Global Const $MEM_COMMIT = 0x1000
Global Const $MEM_RESERVE = 0x2000
Global Const $MEM_RESET = 0x80000
Global Const $MEM_DECOMMIT = 0x4000
Global Const $MEM_RELEASE = 0x8000
Also what's 0x10 / 0x40 etc ...
Global Const $PROCESS_ALL_ACCESS = 0x1F0FFF
Also here in opening the process why we uses 0x1F0FFF ?