Bash considered harmful
Description
A self-claimed shell guru tried to list some good bash habits, but blatantly failed. He wrote this script as a privileged user and made mistakes. Find the bug(s) and get the flags :
- Challenge "Bash considered harmful" flag in /root/flag
- CTF-ATD flag in /passwd
Credentials : sysadmin / sysadmin
Compromission time
2 hours
Operating system
linux
start this virtual environnement