Skip to content

ShonenNoSeishin/Disable_PE_ASLR_AND_DEP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Buy Me A Coffee

Disable_PE_ASLR_AND_DEP

Python script to disable ASLR and/or DEP on PE file

How to use it

# -a is to disable ASLR
# -d is to disable DEP
python disable_ASLR_DEP.py -f <path_to_exe> -a -d -o <path_to_outfile>

You can also get help with -h but it is in French.

python disable_ASLR_DEP.py -h
usage: disable_ASLR_DEP.py [-h] -f FILE -o OUTFILE [-a] [-d]

Désactiver l'ASLR et/ou le DEP dans un fichier PE.

options:
  -h, --help            show this help message and exit
  -f FILE, --file FILE  Chemin vers le fichier PE
  -o OUTFILE, --outfile OUTFILE
                        Chemin vers le fichier de sortie (fichier créé)
  -a, --disable_aslr    Désactiver l'ASLR
  -d, --disable_dep     Désactiver le DEP

Credits

A huge thanks to MastMind, this script is inspired of a part of his PE-Infector project.

Enjoy ^^

About

Python script to disable ASLR and/or DEP on PE file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages