FTP
NLST
PORT
# Server-side
REPLY NLST 550 Have a taste on this!
# Client-side
ftp
FTP NLST dir list with weird reply code, using PORT
ftp://%HOSTIP:%FTPPORT/ -P - -l
# Verify data after the test has been "shot"
QUIT
19
# Strip all valid kinds of PORT and EPRT that curl can send
^PORT \d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3}
^EPRT \|1\|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\|\d{1,5}\|
USER anonymous
PASS ftp@example.com
PWD
PORT 127,0,0,1,243,212
TYPE A
NLST
QUIT