Say I have gained RCE on a server which has a firewall blocking all egress traffic:

Linux cmweb6 4.15.0-1040-azure #44-Ubuntu SMP Thu Feb 21 14:24:01 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

But I am unable to write to any directory on the server:

-rw-r--r-- 1 root root 3778 Mar 16  2017 somefile
drwxr-xr-x  2 root root      4096 Mar 19  2017 tmp

is there a method I can use to upload a shell to test more privelege escalation techniques?

  • If you can receive the text output you're showing then you have some form of egress. And based on the file permissions you have read access. – wireghoul Mar 3 '20 at 17:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.