@raccoon ancient AF. Just throw dirtycow at it. Heres a page of someone doing that. Dont use a reverse shell though. Just a simple local shell. Make a binary, push it up, run it.
https://security.stackexchange.com/questions/145325/exploiting-dirty-cow-using-metasploit