FTP
What is FTP?
FTP
is the abbreviation for File Transport Protocol
and is a standard network protocol used to transfer files.
Description
FTP service
will simulate a FTP server
.
Syntax
[service.<nickname_of_ftp>]
type="ftp"
Arguments in configuration file
There are 4
arguments in FTP
service:
argument | default setting | explanation |
---|---|---|
banner |
- | Welcome banner that shows after connecting to the server. |
passive-port-range |
- | Configure specific range of inbound passive ports. |
name |
- | Servername |
fs_base |
- | Filesystem root directory |
Example
[service.ftp]
type="ftp"
[[port]]
port="tcp/21"
services=["ftp"]
How to test: webbrowser
ftp://[IP_ADDRESS]
The result
How to test: commandline
> ftp [IP_ADDRESS]
Because of security issues MacOSX no longer supports ftp
from the commandline.
The result
How to test: Filezilla
- Host: [IP_ADDRESS]
- Username: anonymous
- Password: anonymous
- Port: 21
The result
Click quickconnect
and you will receive a notice if you should trust the provided certificate. After trusting the certificate you will see the ftp
directory.
FTP Service on Raspberry Pi HoneyTrap
In order to make the FTP-service
available with the Raspberry Pi
you need to do a few more steps on the Pi
.
On the Pi:
$ mkdir /usr/bin/ftp
$ sudo chown -R honeytrap /usr/bin/ftp
Availability
Linux | MacOS | |
---|---|---|
ftp | yes | limited |