Hi, when connecting via FTP towards the default conpot configuration, commands and response are randomly returned.
To Reproduce
conpot default template
ftp 2121
ls multiple times
Expected behavior
ftp> ls
150 Here comes the directory listing.
-rwxrwxrwx 1 nobody ftp 49 Aug 01 2018 ftp_data.txt
Received:
ftp> ls
226 Transfer complete.
200 PORT Command Successful. Consider using PASV.
ftp> ls
150 Here comes the directory listing.
ftp> ls
226 Directory send OK.
200 PORT Command Successful. Consider using PASV.
ftp> ls
150 Here comes the directory listing.
ftp> ls
226 Directory send OK.
226 Transfer complete.
ftp> ls
150 Here comes the directory listing.
ftp> ls
226 Directory send OK.
501 Invalid PORT format.
ftp> ls
200 PORT Command Successful. Consider using PASV.
150 Here comes the directory listing.
-rwxrwxrwx 1 nobody ftp 49 Aug 01 2018 ftp_data.txt
226 Directory send OK.
ftp> ls
226 Transfer complete.
200 PORT Command Successful. Consider using PASV.
ftp> ls
150 Here comes the directory listing.
ftp> ls
226 Directory send OK.
501 Invalid PORT format.
Desktop (please complete the following information):
Hi, when connecting via FTP towards the default conpot configuration, commands and response are randomly returned.
To Reproduce
ls
multiple timesExpected behavior
Received:
Desktop (please complete the following information):