Files
gef/docs/commands/aslr.md
T
crazy hugsy 5e23739362 [Docs] Added linting for markdown files (#977)
* adding a note about required common bins (issue #973)

* added markdownlint policy

* applied markdownlint

* customized mdlint config
2023-08-01 20:14:57 -07:00

541 B

Command aslr

Easily check, enable or disable ASLR on the debugged binary.

Check the status:

gef➤  aslr
ASLR is currently disabled

Activate ASLR:

gef➤  aslr on
[+] Enabling ASLR
gef➤  aslr
ASLR is currently enabled

De-activate ASLR:

gef➤  aslr off
[+] Disabling ASLR

Note: This command cannot affect a process that has already been loaded, to which GDB attached to later. The only way to disable this randomization is by setting the kernel setting /proc/sys/kernel/randomize_va_space to 0..