WPICTF - crond
14 Apr 2019
description: Why not roll your own version of cron?
category: Linux - 300
According to the description, the server is running its own version of cron.
I started listing the running process:
This is the content of the /usr/bin/fakecron
file:
The script is will compare the current system time (and put it in /etc/faketimerc
) to the content of /etc/deadline
There is just one thing to note !!
The hour
and second
values are swapped.
Now let’s write to /etc/deadline
:
The flag is WPI{L1nUxH@ck3r01a4}