dropsuid - zMarch/Orc GitHub Wiki
dropsuid
Name
dropsuid - drops a tiny SUID shell
Synopsis
dropsuid
Description
dropsuid basically drops a tiny SUID shell written in ASM wherever. You'll need to chmod a+sx it.
dropsuid writes the binary program code to stdout.
Restrictions
Only Linux architectures i386 and x86_64 are supported, because the dropsuid command writes an ELF i386 binary file.
Example
Run the function. There are no command line arguments.
$ dropsuid > mysuid
$ chmod a+sx mysuid
$ mysuid