hacktricks/pentesting/pentesting-rlogin.md

2.9 KiB

Support HackTricks and get benefits!

Do you work in a cybersecurity company? Do you want to see your company advertised in HackTricks? or do you want to have access the latest version of the PEASS or download HackTricks in PDF? Check the SUBSCRIPTION PLANS!

Discover The PEASS Family, our collection of exclusive NFTs

Get the official PEASS & HackTricks swag

Join the 💬 Discord group or the telegram group or follow me on Twitter 🐦@carlospolopm.

Share your hacking tricks submitting PRs to the hacktricks github repo.

513 - Pentesting Rlogin

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
Support HackTricks and get benefits!

Do you work in a cybersecurity company? Do you want to see your company advertised in HackTricks? or do you want to have access the latest version of the PEASS or download HackTricks in PDF? Check the SUBSCRIPTION PLANS!

Discover The PEASS Family, our collection of exclusive NFTs

Get the official PEASS & HackTricks swag

Join the 💬 Discord group or the telegram group or follow me on Twitter 🐦@carlospolopm.

Share your hacking tricks submitting PRs to the hacktricks github repo.