项目作者: aenniw

项目描述 :
IP-Camera device dumps
高级语言: JavaScript
项目地址: git://github.com/aenniw/ELRO-CIP-39032KL.git
创建时间: 2018-03-03T22:24:23Z
项目社区:https://github.com/aenniw/ELRO-CIP-39032KL

开源协议:

下载


ELRO-CIP-39032KL IP-Camera device dumps

Defualt telnet login [root:123456] http login [admin:]

Vendor manuals, software

Cross-compiling

  1. ./configure.sh && . ./configure.sh
  2. echo '#include <stdio.h>
  3. int main (void)
  4. {
  5. printf ("Hello, world!\n");
  6. return 0;
  7. }' > helloworld.c
  8. gcc-rt288x --static helloworld.c -o helloworld
  9. ## get binary to device via tftp

Device info

/proc/mtd

  1. dev: size erasesize name
  2. mtd0: 00020000 00010000 "Bootloader"
  3. mtd1: 00010000 00010000 "Config"
  4. mtd2: 00010000 00010000 "Factory"
  5. mtd3: 00130000 00010000 "Kernel"
  6. mtd4: 00190000 00010000 "RootFS"
  7. mtd5: 00500000 00010000 "user"

cat /proc/cpuinfo

  1. system type : Ralink SoC
  2. processor : 0
  3. cpu model : MIPS 24K V4.12
  4. BogoMIPS : 239.61
  5. wait instruction : yes
  6. microsecond timers : yes
  7. tlb_entries : 32
  8. extra interrupt vector : yes
  9. hardware watchpoint : yes
  10. ASEs implemented : mips16 dsp
  11. VCED exceptions : not available
  12. VCEI exceptions : not available

/proc/meminfo

  1. MemTotal: 28972 kB
  2. MemFree: 4072 kB
  3. Buffers: 1600 kB
  4. Cached: 3848 kB
  5. SwapCached: 0 kB
  6. Active: 7260 kB
  7. Inactive: 1988 kB
  8. SwapTotal: 0 kB
  9. SwapFree: 0 kB
  10. Dirty: 0 kB
  11. Writeback: 0 kB
  12. AnonPages: 3828 kB
  13. Mapped: 8732 kB
  14. Slab: 4880 kB
  15. SReclaimable: 600 kB
  16. SUnreclaim: 4280 kB
  17. PageTables: 156 kB
  18. NFS_Unstable: 0 kB
  19. Bounce: 0 kB
  20. CommitLimit: 14484 kB
  21. Committed_AS: 9608 kB
  22. VmallocTotal: 1048404 kB
  23. VmallocUsed: 9716 kB
  24. VmallocChunk: 1037452 kB

/proc/version

  1. Linux version 2.6.21 (root@test) (gcc version 3.4.2) #136 Mon May 20 11:39:34 CST 2013

uBoot

  1. U-Boot version string, "U-Boot 1.1.3 (Nov 18 2012 - 20:35:15)"

Mount jffs2 partition

  1. mkdir mtdblock
  2. modprobe mtdram total_size=24576 erase_size=128
  3. modprobe mtdblock
  4. dd if=./mtblock-dumps/mtdblock5.img of=/dev/mtdblock0
  5. mount -t jffs2 /dev/mtdblock0 mtdblock

Dump scripts

  1. #!/bin/sh
  2. # Usage script.sh /
  3. for f in $1*; do
  4. if [ "${f}" == "/dev" ] || [ "${f}" == "/tmp" ] || [ "${f}" == "/sys" ] || [ "${f}" == "/proc" ]; then
  5. continue
  6. fi
  7. test -d "${f}" && $0 "${f}/"
  8. test -f "${f}" && tftp -l ${f} -p ${TFTP_SERVER}
  9. done

Endpoint without auth

  1. curl http://${CAMERA_IP}/get_realip.cgi
  2. curl http://${CAMERA_IP}/get_status.cgi
  3. curl http://${CAMERA_IP}/get_tutk_account.cgi

TODO

Start dropbear instance like so FritzBox