Player

I think i need some help with root, or at lest a hint.
I found the script b***.p, after reading the source i think in a possible p ob**** i***n abusing __wp method and running it des*****ng an specially crafted object.
I think it is a viable way of getting root, but still need to write our payload in a file (m
e.**g).

And here’s the problem, i don’t know if we can overwrite it doing something or i just wasted some hours and i’m looking in the wrong place?

The file is owned by t*****n, so my first thought was to try to get this user in a shell, to be able to edit the file… I tried some things, with no luck at all, i tried running .writefile within the script we used in previous stages to “bypass” jail, i can’t make it working as all other things i tried…

Can someone help me with that?
Thanks in advance