/*

 * mboom

 *

 * A way to do anything as root

 

 * in order for this to work, after compilation do:

 * -- mv a.out mboom

 * -- (as root) chmod 4755 mboom (sets UID bit)

 * -- (as root) chown root mboom

 *

 */

 

#include <stdio.h>

 

main(argc, argv)

int argc;

char *argv[];

{

    setuid(0);

    system(argv[1]);

}

 

/* The End */