查看: 7820|回覆: 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 編輯 ]
回覆 支持 反對

使用道具 舉報

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

本版積分規則

熱門推薦

風暴StormAudio 家庭劇院巡禮 : 來自新加坡頂層公寓的聲音饗宴
風暴StormAudio 家庭劇院
風暴StormAudio 家庭劇院巡禮 : 來自新加坡頂層公寓的聲音饗宴
何止錦上添花!?Zidoo Neo Alpha的最佳Wingman - HD Fury Vrroom V3
何止錦上添花!?Zidoo Ne
何止錦上添花!?Zidoo Neo Alpha的最佳Wingman - HD Fury 8K VR
風暴StormAudio/Goldmund家庭劇院巡禮 "KazCorporation:為音樂愛好者實現家庭劇院夢想"
風暴StormAudio/Goldmund
風暴StormAudio/Goldmund家庭劇院巡禮"KazCorporation:為音樂愛
風暴StormAudio 4.6r0韌體釋出囉!
風暴StormAudio 4.6r0韌體
風暴StormAudio 4.6r0韌體釋出囉! 新功能和增強功能 系統控
劇毒!DIVA EX-7/EX-mini賢昆仲相汝以沫Hi-End音響網路交換器體驗心得分享
劇毒!DIVA EX-7/EX-mini
劇毒!DIVA EX-7/EX-mini賢昆仲相汝以沫Hi-End音響網路交換器體

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

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