...un ramdisk bzip2!?
questo firmware è stranissimo ...
per la costruzione dell'accrocchio ho seguito in parte le istruzioni di questo
http://mark.serialmonkey.com/wiki/index.php/Minitar_Modding
che in ultima pagina dice:
If you let the device boot as normal you will be prompted at a login screen seen below. With the earlier firmwares (<2.39) the password was discovered by Mitch from the Perth Wireless Group and is super/
[email protected]. It appears that as of 2.39 they have changed the password and altered the login screen such that we can't enter in any password at all. The way around this though is to set the alias via the web interface to a special string which breaks out of the init script and kills the login binary. This string is below
'`killall setup`' - (include all the quotes. The middle pair are accents (the tilde key)
Once logged in it is basically a BusyBox console minus a few of the normal commands. Normal commands like ls. Todo a directory listing you have to use 'echo *'. As I find interesting things todo at the console level I will most likely put together a seperate page but for now just play and have fun knowing that anything you change can be changed back with a reboot as the filesystem is loaded into RAM during runtime.
sono riuscito ad entrare in console con killall setup
sono riuscito a scaricare il file binario "setup" mettendolo all'interno della directory del web server
gianluca@linux-notebook:~> file setup
setup: ELF 32-bit MSB MIPS-I executable, MIPS, version 1 (SYSV), statically linked, stripped
guardando dentro mi pare che le password ci siano
hexdump -C setup
000048e0 73 75 70 65 72 00 00 00 50 6c 65 61 73 65 20 65 |super...Please e|
000048f0 6e 74 65 72 20 79 6f 75 72 20 4e 61 6d 65 20 61 |nter your Name a|
00004900 6e 64 20 50 61 73 73 77 6f 72 64 00 42 59 45 20 |nd Password.BYE |
00004910 42 59 45 00 00 00 00 00 00 00 00 00 00 00 00 00 |BYE.............|
00004920 1b 5b 25 64 3b 25 64 48 00 00 00 00 25 73 00 00 |.[%d;%dH....%s..|
00004930 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------|
*
00004a70 20 7c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |..............|
00004a80 1b 5b 37 6d 00 00 00 00 25 73 00 00 1b 5b 30 6d |.[7m....%s...[0m|
00004a90 00 00 00 00 3a 00 00 00 20 00 00 00 67 6f 00 00 |....:... ...go..|
00004aa0 73 75 70 65 72 00 00 00 6c 69 6e 75 78 00 00 00 |super...linux...|
00004ab0 73 75 70 65 72 00 00 00 00 00 00 00 00 00 00 00 |super...........|
00004ac0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 |................|
00004ad0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00004ae0 10 10 10 08 0a 0a 0a 00 2b 00 2d 00 20 00 30 78 |........+.-. .0x|
vorrei provare utente super con pwd BYE BYE o super con pwd linux
ma quando vado per scrivere il nome utente mi scrive il primo carattere e il secondo sopra il primo etc etc!
deve essere una questione di emulazione terminale, ma non ho ancora trovato i parametri corretti