Desactivate ASLR and permanent DEP in template + refactor