Friendzone - HackTheBox

For privesc to root,

I found one py file which stands out during enumeration with bad permissions, but no clue on how to use it.

Can someone help with how to use it?

Edit: Rooted.