General Guide Needed

Hi all

So my question is that once you have a lowpriv shell and you are trying to privesc and trying to edit x file and you get message like TERM environment is not set. I have tried few ways but end up crashing my shell. Is there any alternate solution in order to use vi or nano? The remote system does not have python so u cannot spwn tty shell.

Thanks

@AcEb0mb3R said:
Hi all

So my question is that once you have a lowpriv shell and you are trying to privesc and trying to edit x file and you get message like TERM environment is not set. I have tried few ways but end up crashing my shell. Is there any alternate solution in order to use vi or nano? The remote system does not have python so u cannot spwn tty shell.

Thanks

There’s always another to do something in this business…that’s sort of the beauty of it, isn’t it?
Can you not edit the file locally and then upload? Or just echo statements into the file?