SMB/CIFS, or (if nothing else is available)
FTP. Please don't get me wrong, I am curious and all that stuff, but I do not need to have shell access. Though it would be cool.
Some googling later, I found a very elegant way of invoking a telnet server on that embedded system in the mikrocontroller.net forums (link on the bottom). Three minutes later, I telnetted into my SD card (a somewhat interesting feeling to have a shell on something small enough to swallow it). And some tests later, there was my FTP server.
The way was so easy, I just had to write this article. Here is the howto: Take the SD. Put it into a SD card reader and mount the file system. Then, create a file named
autorun.shin the root directory of the card and drop the following lines into it:
telnetd -l /bin/sh & tcpsvd -E 0.0.0.0 21 ftpd -w /mnt/sd/ &The file is processed on startup and there should be a telnet and a ftp server running.
Caution: There is no login procedure to both, meaning the WPA key of the card (when in AP mode) is the only thing preventing other people from accessing both the system using telnet and the files using ftp.
- http://www.mikrocontroller.net/topic/303547, this is where I stumbled across the
- http://haxit.blogspot.de/2013/08/hacking-transcend-wifi-sd-cards.html#!/2013/08/hacking-transcend-wifi-sd-cards.html, pobably the first one to publish about the hackability of the WiFi SD card.