Sysadmin Linux Part 1 - Level 1

Finding the password

Level 1 require us to find the password of trinity.
The easiest way would be to grep for the word trinity from /

cd /
grep -ri trinity * | less

This isn’t the most clean way to do it but it’s a simple one.

The results will show

etc/rc.local:nohup /root/backup.sh -u trinity -p Flag-08grILsn3ekqhDK7cKBV6ka8B &
etc/group:trinity:x:1002:
etc/passwd:trinity:x:1002:1002:trinity,%,lsdf(940998+(n.~,3):/home/trinity:/bin/bash
home/trinity/.bash_logout:#trinity
lib/discover/usb-device.xml:  <device vendor=’05db’ model=’000a’ model_name=’SUNTAC Ir-Trinity’/>
Binary file lib/modules/3.2.0-4-amd64/kernel/drivers/gpu/drm/radeon/radeon.ko matches
Binary file proc/3241/task/3241/cmdline matches
Binary file proc/3241/cmdline matches

The first line has what we were looking for.

The flag is : Flag-08grILsn3ekqhDK7cKBV6ka8B