An open API service indexing awesome lists of open source software.

https://github.com/jelchison/launch-bash-without-aslr

Shell script to launch a Bash instance, from which all child processes will have ASLR disabled
https://github.com/jelchison/launch-bash-without-aslr

aslr bash bash-hacks bash-script ctf exploit-development exploit-exercises exploitation shell

Last synced: 9 months ago
JSON representation

Shell script to launch a Bash instance, from which all child processes will have ASLR disabled

Awesome Lists containing this project

README

          

# launch-bash-without-aslr
Shell script to launch a Bash instance, from which all child processes will have ASLR disabled.

This script is useful for testing CTF problems in an environment without ASLR. Can also be useful for exploit development.

Runs on Linux.

## Example Usage

```
user@computer:~$ ./launch-bash-without-aslr.sh
==== ASLR disabled for this session ====
no-aslr $ echo "Look ma, no ASLR!"
Look ma, no ASLR!
no-aslr $ exit
exit
==== ASLR re-enabled ====
user@computer:~$
```
## References

* https://en.wikipedia.org/wiki/Address_space_layout_randomization
* https://linux-audit.com/linux-aslr-and-kernelrandomize_va_space-setting/
* https://stackoverflow.com/questions/11238457/disable-and-re-enable-address-space-layout-randomization-only-for-myself
* https://askubuntu.com/questions/318315/how-can-i-temporarily-disable-aslr-address-space-layout-randomization