Enable telnet

From NAS-2000.org

Jump to: navigation, search

This is a very old hack and will only work if you have a 1.1 firmware :) but anyway its great to see how samba can help if you want to execute uncommon stuff.

  • save config
  • extract config.tar.gz
  • to etc/samba/smb.conf from config.tar.gz add:
[all]
use receivefile=yes
create mask=0775
path=/
directory mask=0775
writeable=yes
available=1
use sendfile=yes
root preexec = "cat /etc/inetd.conf.old >/etc/inetd.conf; killall inetd; /usr/sbin/inetd
  • restore from modified config.tar.gz
  • reboot
  • connect to samba-share all
  • and now you can telnet your box. (user: root no password!)
Personal tools