Ubuntu Pastebin

Paste from ogra at Mon, 10 Oct 2016 15:02:20 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
the transcend wifiSD cards all run the following script in 
the embedded linux setup they ship on if power is applied to the card:

if [ -f /mnt/sd/autorun.sh ]; then
    echo "running autorun.sh"
    sleep 1
    chmod 777 /mnt/sd/autorun.sh
    /mnt/sd/autorun.sh
fi

so to gain access to the cards linux install we just need to format it with vfat, 
put http://busybox.net/downloads/binaries/latest/busybox-armv5l into /
and add the following autorun.sh script next to it:

cp /mnt/sd/busybox-armv5l /sbin/busybox
chmod a+x /sbin/busybox
/sbin/busybox telnetd -l /bin/bash &

apply power to the card, attach you laptop to the WifiSD WLAN and run

telnet 192.168.11.254
Download as text