# File Transfer Protocol ![[Fawn Write-up#^07z9x8]] Commonly used ports: 20 for data transfer and 21 for control. ![[Fawn Write-up#^ypqf2f]] Commonly the username `anonymous` is reserved for anonymous or guest access. ![[Fawn Write-up#^pzu1qi]] ## Python FTP Server Python has a simple FTP server called `pyftpdlib`. ![[File Transfers - Windows File Transfer Methods#^2t8nng]] Specify `--write` to allow writes. ## Linux CLI To open a connection call `ftp` with the IP address. ```sh ftp <IP Address> ``` You can call `help` afterwards to get a list of supported commands. FTP servers follow Windows-like syntax for navigating directories. `dir`, `cd` and `get` are supported. ## Hack The Box Machines - [[Fawn Write-up|Fawn]] - [[Crocodile Write-up|Crocodile]] - [[Funnel Write-up|Funnel]]