Friendzone - HackTheBox

I found a way to upload a script via smb but i don’t know how to execute it. Can someone give me a little clue?