Post Exploitation

After gaining access, we were able to run LinEnum.sh on the system. Analyzing we were able to check results.

Privilege Elevation

After running LinEnum.sh, I was able to find an interesting cronjob.

Based on the documentation, we can create schedules in the /laravel/app/conosle/Kernel class.

You can schedule Shell commands with the exec method

You can modify frequency using certain schedule functions.

Transfering files with nc

On the target machine

On the Kali machine

Modifying Kernel.php

code to be executed as root

Last updated

Was this helpful?