On Feb 2, 2020 3:24 PM, Arthur Wayside <arthur.ways...@protonmail.com> wrote: > > Hello. > > Say I run a websapp inside a chroot and someone manages to hack it and gain > shell access. Can I then somehow hide my server's IP from the likes of > ifconfig? > > Thanks! > > Artur. > > Sent with [ProtonMail](https://protonmail.com) Secure Email.
Seems like they would already know this. However, you could: # chmod go-x /sbin/ifconfig Assuming they don't have root that should do it. Edgar