-
Notifications
You must be signed in to change notification settings - Fork 52
dropsuid
Ulrich Berntien edited this page May 8, 2019
·
2 revisions
dropsuid - drops a tiny SUID shell
dropsuid
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.
Only Linux architectures i386 and x86_64 are supported, because the dropsuid command writes an ELF i386 binary file.
Run the function. There are no command line arguments.
$ dropsuid > mysuid
$ chmod a+sx mysuid
$ mysuid