hacktricks/network-services-pentesting/pentesting-rlogin.md
carlospolop f0e09e3f54 social
2023-03-06 00:16:20 +01:00

3.6 KiB

513 - Pentesting Rlogin

HackTricks in 🐦 Twitter 🐦 - 🎙️ Twitch Wed - 18.30(UTC) 🎙️ - 🎥 Youtube 🎥

Basic Information

This service was mostly used in the old days for remote administration but now because of security issues this service has been replaced by the slogin and the ssh.

Default port: 513

PORT    STATE SERVICE
513/tcp open  login

Login

apt-get install rsh-client

This command will try to login to the remote host by using the login name root (for this service you don't need to know any password):

rlogin <IP> -l <username>

Brute force

Find files

find / -name .rhosts
HackTricks in 🐦 Twitter 🐦 - 🎙️ Twitch Wed - 18.30(UTC) 🎙️ - 🎥 Youtube 🎥