How do I use busybox and ftpd to get access to my embedded system
Solution 1:
Did you try this command:
tcpsvd -vE 0.0.0.0 21 ftpd /
/ # busybox ftpd -w /
BusyBox v1.20.0 (2012-04-22 12:29:58 CEST) multi-call binary.
Usage: ftpd [-wvS] [-t N] [-T N] [DIR]
Anonymous FTP server
ftpd
should be used as an inetd service.
ftpd's line for inetd.conf
:
21 stream tcp nowait root ftpd ftpd /files/to/serve
It also can be ran from tcpsvd
:
tcpsvd -vE 0.0.0.0 21 ftpd /files/to/serve
-w Allow upload
-v Log errors to stderr. -vv: verbose log
-S Log errors to syslog. -SS: verbose log
-t,-T Idle and absolute timeouts
DIR Change root to this directory
/ # tcpsvd -vE 0.0.0.0 21 ftpd /
tcpsvd: listening on 0.0.0.0:21, starting
Tested at https://www.busybox.net/live_bbox/live_bbox.html