查看: 7885|回覆: 1
收起左側

[分享] ZIN-5005HD 說明書上沒寫的東西..

[複製連結]

發表於 2010-4-12 12:43:07 | 顯示全部樓層 |閱讀模式

馬上註冊,結交更多好友,享用更多功能,讓你輕鬆玩轉社區。

您需要 登錄 才可以下載或查看,沒有賬號?註冊

x
因為更新ZIN-5005HD韌體後出了點"意外"可能是因為個人關係所以並沒有讓我很滿意
故..努力了幾個小時,打開了 韌體更新檔 查了一下相關的內容 意外的發現了幾個小秘密 [或許是公開的秘密吧!!]
[ 1 ] 執行 telnet / ssh / ftp 應該是可行的!!
[root@fedora etc]# more inetd.conf
#ftp    stream  tcp     nowait  root    /usr/sbin/ftpd  ftpd -u 100
telnet  stream  tcp     nowait  root    /usr/sbin/telnetd  telnetd
#auth   stream  tcp     nowait  nobody  /usr/sbin/nullidentd nullidentd
www     stream  tcp     nowait  www-data        /usr/sbin/httpd httpd -h /var/www
...
[root@fedora etc]# ls -al ../usr/sbin/ftpd
ls: cannot access ../usr/sbin/ftpd: No such file or directory  [印象中 busybox 好像有支援 ftpd]
[root@fedora etc]# ls -al ../usr/sbin/telnetd
lrwxrwxrwx. 1 root root 17 Apr 12 18:56 ../usr/sbin/telnetd -> ../../bin/busybox
[root@fedora etc]# ls ../bin/busybox../bin/busybox
[root@fedora etc]# ls -al ../bin/busybox
-rwxr-xr-x. 1 root root 993544 Apr 12 18:56 ../bin/busybox
[2] http://5005HD ip/webtorrent.cgi ??
[root@fedora www]# pwd
/root/test/install_img/package2/yaffs2_1/tmp_orig/www
[root@fedora www]# ls -al
total 20
drwxr-xr-x. 4 root root 4096 Apr 12 18:56 .
drwxr-xr-x. 9 root root 4096 Apr 12 18:56 ..
drwxr-xr-x. 2 root root 4096 Apr 12 18:56 adm <- 又一個被閹掉的地方!!
drwxr-xr-x. 2 root root 4096 Apr 12 18:56 cgi-bin
-rwxr-xr-x. 1 root root  339 Apr 12 18:56 index.html
[root@fedora www]# ls -al adm/
total 8
drwxr-xr-x. 2 root root 4096 Apr 12 18:56 .
drwxr-xr-x. 4 root root 4096 Apr 12 18:56 ..
[root@fedora www]# ls -al cgi-bin/
total 76
drwxr-xr-x. 2 root root  4096 Apr 12 18:56 .
drwxr-xr-x. 4 root root  4096 Apr 12 18:56 ..
-rwxr-xr-x. 1 root root   336 Apr 12 18:56 sum.cgi [就是用瀏覽器直接看ZIN-5005HD port 80 時出現的小程式]
-rwxr-xr-x. 1 root root 63724 Apr 12 18:56 webtorrent.cgi
緊接著查了 httpd.conf 的內容
[root@fedora etc]# more httpd.conf
#Allow address from 172.20.*.*
#A:172.20.#Deny from other IP connections
#D:*#No need account to access cgi/cgi-bin::
#You need root account to access "adm" pages. See here: http://www.uclibc.org/lists/busybox/2004-November/013053.html
#If you need to store password here, enable "CONFIG_FEATURE_HTTPD_AUTH_MD5"
#/adm:root:
#The second account to access "adm" pages
#/adm:nobody:
以上..個人小小的發現!希望 ZIN-5005HD 會出現像 友站 ZP-600t 補完計劃 將效能榨乾乾..

[ 本帖最後由 ackw 於 2010-4-15 23:11 編輯 ]

 樓主| 發表於 2010-4-12 12:56:16 | 顯示全部樓層

解開 韌體更新檔 網路資料

1. http://minimodding.com/CustomFirmware
   - MiniModding
2. http://oplayware.some.randomhash.net/hacked
   - OPlayWare
3. http://ycpapa-tw.blogspot.com/2008/11/yaffs2.html
   - YCPAPA's Penguin Ranch
4. http://esslab.tw/wiki/index.php/%E5%88%86%E9%A1%9E:Linux-MTD_SOP
   - Linux MTD SOP - 讓 Linux Kernel 支援 yaffs/yaffs2 檔案格式
5. http://code.google.com/p/unyaffs/downloads/list - Google Code
   - 可以找到 linux環境 用 gcc 編譯的 unyaffs 執行檔

[ 本帖最後由 ackw 於 2010-4-15 23:14 編輯 ]
回覆 支持 反對

使用道具 舉報

您需要登錄後才可以回文 登入 | 註冊

本版積分規則

熱門推薦

欣欣秀泰ScreenX廳龍捲風暴初體驗
欣欣秀泰ScreenX廳龍捲風
ScreenX是將主銀幕延伸成為3面270度全景畫面,大幅擴大視野,讓
家庭劇院首部「純數位」環繞解碼器:Storm Audio ISP Evo帶來更多可能性 與Devialet聯手打造新型態AoIP家庭劇院
家庭劇院首部「純數位」環
家庭劇院首部「純數位」環繞解碼器:Storm Audio ISP Evo帶來更
新視聽夏季器材推薦 - 史上最精確、聲道數最多、最暴力的環繞擴大機 :StormAudio ISR Fusion 20
新視聽夏季器材推薦 - 史
新視聽夏季器材推薦 - 史上最精確、聲道數最多、最暴力的環繞擴
丹爸影音實驗室之中置揚聲器「遊記」
丹爸影音實驗室之中置揚聲
丹爸影音實驗室之中置揚聲器「遊記」 前言 幾乎所有玩劇院的
臺南市郊StormAudio風暴/Ken Kreisel 8.4.4多聲道音效實驗場!
臺南市郊StormAudio風暴/K
臺南市郊StormAudio風暴/Ken Kreisel 8.4.4多聲道音效實驗場!

聯絡我們| 問題反映| 小黑屋| 手機版| Archiver|  本網站特別聘請 蔡家豪律師 為本站法律顧問

快速回覆 返回頂部 返回列表