8080

Viewing source code for a haiku: We have an /api/ directory.

Now in http://192.168.190.125:8080/api/user/

We can login as dademola:

running linpeas we notice cronjobs running as root:

To find the folder: We found it. These are git backend files which are hard to work with. So cloning it:

There is a placeholder for now: We can try to modify and push:

We aren't allowed to do this.

Now trying as git user

In /home:

Now we can try logging in as git user:

Its a git-shell. Using https://stackoverflow.com/questions/4565700/how-to-specify-the-private-ssh-key-to-use-when-executing-shell-command-on-git

Now we can modify the files:

Now running a listener:

We have root access.

Last updated

Was this helpful?