I recently hacked into my router which runs BusyBox v1.9.1. I want to edit some files in my web GUI interface which will allow me to get hidden options in it. I'm trying to edit a .js file and replace it via FileZilla (I also hacked FTP through setting the default router directory as ../..
), and when I upload the file in the router, it says: 553 Error: Read-only file system. How could I fix that through SSH or FTP? (Telnet seems to be broken.)
Also, how can I set a default command to execute when I SSH into a server in PuTTY? In Linux it works for me when I do "ssh admin@192.168.1.1 /bin/sh", but when I try to do it on Windows through PuTTY it disconnects me directly after I log in.
EDIT: okay, here goes:
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
none on /dev type tmpfs (rw)
/proc on /proc type proc (rw)
none on /var type tmpfs (rw)
none on /tmp type tmpfs (rw)
none on /mnt type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/nandflash on /upgflash type ext3 (rw,data=ordered)
none on /html/help type tmpfs (rw)
/dev/sda1 on /mnt/usb1_1 type vfat (rw,fmask=0000,dmask=0000,codepage=cp936,iocharset=cp936,shortname=winnt)
note:the last one is my 4GB flash memory, i need it connected always to the router because it helps me see the router's filesystem by doing a small exploit by adding ../.. to the usb1_1 directory that's created in upgflash file in my router's filesystem.