Bah, non. Ta technique ne devrait pas marcher. As-tu au moins vérifié que ta point de montage /tmp était monté avec l’option « noexec » ?
Dans le doute j’ai quand-même vérifié sur ma machine, en m’assurant que /tmp est en « noexec » :
$ cp /bin/echo /tmp/echo
$ chmod -x /tmp/echo
$ /lib64/ld-linux-x86-64.so.2 /tmp/echo -e "bla\tbla"
/tmp/echo: error while loading shared libraries: /tmp/echo: failed to map segment from shared object: Operation not permitted
[^] # Re: Le probléme d'origine
Posté par jyes . En réponse à la dépêche Envoi de spam à partir d'un serveur, comment réagir ?. Évalué à 2.
Bah, non. Ta technique ne devrait pas marcher. As-tu au moins vérifié que ta point de montage /tmp était monté avec l’option « noexec » ?
Dans le doute j’ai quand-même vérifié sur ma machine, en m’assurant que /tmp est en « noexec » :
$ cp /bin/echo /tmp/echo
$ chmod -x /tmp/echo
$ /lib64/ld-linux-x86-64.so.2 /tmp/echo -e "bla\tbla"
/tmp/echo: error while loading shared libraries: /tmp/echo: failed to map segment from shared object: Operation not permitted