backdoor allow you to execute any command as root in linux machine with authorize group.
env GOOS=linux GOARCH=amd64 go build -o backdoor main.go
chmod 4710 backdoor
chown root:group backdoor
Setup is now completed. Verify by executing below command with user belong to group set above.
backdoor whoami
User should return root.
Backdoor can be use to execute any commands as a root
backdoor ls -ltr
backdoor vi test.txt
backdoor sudo su - user1