当前位置: 技术问答>linux和unix
请教:如何判断一个DNS服务器使用了chroot呢?
来源: 互联网 发布时间:2015-07-21
本文导语: rt | 你想攻击它? 我只知道chroot后 本地可以知道 stat / File: `/' Size: 4096 Blocks: 8 IO Block: 4096 Directory Device: 811h/2065d Inode: 2 ...
rt
|
你想攻击它?
我只知道chroot后 本地可以知道
stat /
File: `/'
Size: 4096 Blocks: 8 IO Block: 4096 Directory
Device: 811h/2065d Inode: 2 Links: 21
^^^^^^^^^^^^^^^^^^^
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2004-09-01 22:31:48.000000000 +0800
Modify: 2004-04-12 13:55:31.000000000 +0800
Change: 2004-04-12 13:55:31.000000000 +0800
# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 8570444 6338528 1796560 78% /
^^^^^^^^^
none 8570444 6338528 1796560 78% /proc
none 8570444 6338528 1796560 78% /dev/pts
none 8570444 6338528 1796560 78% /dev/shm
我只知道chroot后 本地可以知道
stat /
File: `/'
Size: 4096 Blocks: 8 IO Block: 4096 Directory
Device: 811h/2065d Inode: 2 Links: 21
^^^^^^^^^^^^^^^^^^^
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2004-09-01 22:31:48.000000000 +0800
Modify: 2004-04-12 13:55:31.000000000 +0800
Change: 2004-04-12 13:55:31.000000000 +0800
# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 8570444 6338528 1796560 78% /
^^^^^^^^^
none 8570444 6338528 1796560 78% /proc
none 8570444 6338528 1796560 78% /dev/pts
none 8570444 6338528 1796560 78% /dev/shm