# 21 - FTP

**File Transfer Protocol (FTP)** is a standard protocol for file transferring across a computer network bgetween a server and client. &#x20;

## Enumeration

### Anonymous login

**anonymous : anonymous**

```bash
ftp <IP>
>anonymous
>anonymous
>ls -a # List all files (even hidden) (yes, they could be hidden)
>binary #Set transmission to binary instead of ascii
>ascii #Set transmission to ascii instead of binary
>bye #exit
```

### Brute Force

List of default credentials:

{% embed url="<https://github.com/danielmiessler/SecLists/blob/master/Passwords/Default-Credentials/ftp-betterdefaultpasslist.txt>" %}

### Nmap Script Enum
