hardware hacking

For video stuff: [url]https://www.youtube.com/watch?v=FYPhEgbiWrk[/url]

command:[url]http://pastebin.com/k4mwgS6T[/url]


[quote]
#http://alexkaskasoli.com/wansview.pdf <-- notes
#wansview IPCAM telnet firmware 51.3.0.152
#user: root
#password: 123456

#get full version of busybox
#download to desktop mipsel version
wget "http://www.busybox.net/downloads/binaries/latest/busybox-mipsel" -O busybox

#now on the camera itself connect to your desktop and get the file
#note that there is very limited space on this device,
#but you can put the binary of busybox in "/tmp"
#it's running in RAM, so will be lost on reboot of camera :(
cd /tmp
/system/system/bin/ftp <desktop ip>

#once you download the file, make sure it's executable and then run it
chmod 777 busybox
./busybox

#now you can use DD and NetCat in busybox to image partitions
#mtdblock6 device is the main fs # use mount to figure this out
#on camera
./busybox nc -l -p 60000 < /dev/mtdblock6

#on desktop
nc <camera IP> 60000 > system.img

#note that Netcat does not disconnect when done
#watch file and when it stops growing it's done
#in this case it's 3MB

#this image is a jffs2 file, which I can't seem to mount or extract directly
#but, you can create a partition and mount it from there
sudo modprobe mtdram total_size=32768 erase_size=256
sudo modprobe mtdblock
#modprobe mtdchar
sudo mknod /dev/mtdblock2 b 31 0
sudo dd if=system.img of=/dev/mtdblock2
mkdir mnt
sudo mount -t jffs2 /dev/mtdblock2 mnt/


#ssh server
cd /tmp
/tmp/busybox wget "http://landley.net/aboriginal/downloads/binaries/extras/dropbearmulti-mipsel" -O dropbearmulti
chmod +x dropbearmulti
ln -s dropbearmulti dropbearkey
ln -s dropbearmulti dbclient
ln -s dropbearmulti dropbear
mkdir /etc/dropbear
cd /etc/dropbear
/tmp/dropbearkey -t rsa -f dropbear_rsa_host_key
/tmp/dropbearkey -t dss -f dropbear_dss_host_key
/tmp/dropbear start
#/tmp/dropbear dropbear -i
#have fun
[/quote]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值