The machine was an easy Linux based box.
I found two different ways to get the root.
The second method was very direct and easy.
Let's get started
First, we need to find the IP address of the machine
From the output, we can understand that 10.0.2.21 is the target