Grandpa and Blue without Metasploit

So I’m studying for OSCP and going through retired machines. Is there any way to root Grandpa or Blue without using Metasploit?

Spoiler Removed

Thanks!!!