34 lines
625 B
Markdown
34 lines
625 B
Markdown
|
# 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
|
||
|
|
||
|
```text
|
||
|
PORT STATE SERVICE
|
||
|
513/tcp open login
|
||
|
```
|
||
|
|
||
|
## **Login**
|
||
|
|
||
|
```text
|
||
|
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](../brute-force.md#rlogin)
|
||
|
|
||
|
## Find files
|
||
|
|
||
|
```text
|
||
|
find / -name .rhosts
|
||
|
```
|
||
|
|