Executing Command(s): find / -name telnetd | xargs ls -l
-----
lrwxrwxrwx 1 root root 17 Sep 3 14:46 /usr/sbin/telnetd -> ../../bin/busybox
-----
done
/usr/sbin/strace /usr/sbin/telnetd -p 2323 -l /bin/sh
strace -p 299 -o /var/telnetstrace
accept(3, 0, NULL) = 4
brk(0x4b4000) = 0x4b4000
open("/dev/ptmx", O_RDWR) = -1 ENXIO (No such device or address)
rt_sigaction(SIGPIPE, {SIG_DFL}, {0x10000000, [], SA_NOCLDSTOP}, 16) = 0
socket(PF_FILE, SOCK_DGRAM, 0) = 5
connect(5, {sa_family=AF_FILE, path="/dev/log"}, 10) = -1 ECONNREFUSED (Connection refused)
close(5) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 5
connect(5, {sa_family=AF_FILE, path="/dev/log"}, 10) = -1 ECONNREFUSED (Connection refused)
close(5) = 0
time([1188837782]) = 1188837782
write(-1, "<11>Sep 3 18:43:02 telnetd: all"..., 50) = -1 EBADF (Bad file descriptor)
rt_sigaction(SIGPIPE, {0x10000000, [], SA_NOCLDSTOP}, NULL, 16) = 0
close(4) = 0
_newselect(4, [3], [], NULL, NULL
/ $ ls -l /dev/ptm*
crw-rw-rw- 1 root root 5, 2 Sep 3 18:55 /dev/ptmx
brk(0x4ad000) = 0x4ad000
open("/dev/ptmx", O_RDWR|O_LARGEFILE) = 5
ioctl(5, TIOCSPTLCK, [0]) = 0
ioctl(5, TIOCGPTN, [1]) = 0
fcntl64(5, F_GETFL) = 0x2002 (flags O_RDWR|O_LARGEFILE)
Hört sich so an als wäre es im Kernel nicht aktiviert, oder?ENXIO: The file is a device special file and no corresponding device exists.
/var/mod/root $ cat /proc/kallsyms |grep ptmx
940c10cc t ptmx_open
$ cat /proc/kallsyms |grep ptmx -c
0