add firmware spoofing

This commit is contained in:
gtxaspec 2024-09-14 15:33:30 -07:00
parent b2d6a38349
commit e16bc13a68
3 changed files with 21 additions and 4 deletions

View File

@ -18,6 +18,23 @@ case "$1" in
#echo -e "127.0.0.1 localhost \n127.0.0.1 wyze-upgrade-service.wyzecam.com" > /opt/wz_mini/tmp/.storage/hosts
#mount --bind /opt/wz_mini/tmp/.storage/hosts /etc/hosts
/opt/wz_mini/bin/busybox inotifyd /opt/wz_mini/usr/bin/watch_up.sh /tmp:n > /dev/null 2>&1 &
if [ -f /opt/wz_mini/tmp/.WYZE_CAKP2JFUS ]; then
# v3
printf "[VER]\nappver=4.36.13.0416\n" > /opt/wz_mini/tmp/patched_app.ver
elif [ -f /opt/wz_mini/tmp/.WYZEC1-JZ ]; then
# v2
printf "[VER]\nappver=4.9.9.3006\n" > /opt/wz_mini/tmp/patched_app.ver
elif [ -f /opt/wz_mini/tmp/.WYZECP1_JEF ]; then
# pan v1
printf "[VER]\nappver=4.10.9.3006\n" > /opt/wz_mini/tmp/patched_app.ver
elif [ -f /opt/wz_mini/tmp/.HL_PAN2 ]; then
# pan v2
printf "[VER]\nappver=4.49.13.0653\n" > /opt/wz_mini/tmp/patched_app.ver
fi
mount --bind /opt/wz_mini/tmp/patched_app.ver /system/bin/app.ver
echo "Firmware updates disabled"
else
echo "Firmwware updates enabled, monitor script running"

View File

@ -1 +1 @@
2024-05-27_20:50:25
2024-09-14_15:33:33

View File

@ -46,7 +46,7 @@ ba5c34d5baf18fab00e577ba9085fc8f SD_ROOT/wz_mini/www/index.html
099a09d231f1d9587d8b09b43a86f6f9 SD_ROOT/wz_mini/www/cam.js
71d73164727cdce88b976f5e4f2a66fc SD_ROOT/wz_mini/etc/ser2net.yaml
d7707e386ca9c56722d018858ff043b6 SD_ROOT/wz_mini/etc/network.d/S16rtmp
b0dbe6f42a6c5cf95c8556edfccfdf06 SD_ROOT/wz_mini/etc/network.d/S09dnsmasq
d6b5aeae1d0910ea4b3c8c7c7dd8b72d SD_ROOT/wz_mini/etc/network.d/S09dnsmasq
b77697b15e4d6e32e6e2c8c07cbceee2 SD_ROOT/wz_mini/etc/network.d/S04wireguard
720d337f4fd4cecdf63cfbdf5476cc14 SD_ROOT/wz_mini/etc/network.d/S12remoteaccessory
88cd61106fa526f82a812b02aea23ddc SD_ROOT/wz_mini/etc/network.d/S15v4l2rtspserver
@ -94,7 +94,7 @@ f8122ed380beba449756c9c7c830a3d7 SD_ROOT/wz_mini/etc/dufs.yaml
00184c9b4016f437adcae60bae5b62ae SD_ROOT/wz_mini/etc/rc.d/S18fps
80650d58c240c642295448a72a49ad45 SD_ROOT/wz_mini/etc/rc.d/K01network
3fbad7406c24837d61c118e973b62ccc SD_ROOT/wz_mini/etc/rc.d/S17motor
03ca145794cedfe4748692dd6341839e SD_ROOT/wz_mini/etc/rc.d/S10firmware
21c3ca8efa629c434b11debe205ba93a SD_ROOT/wz_mini/etc/rc.d/S10firmware
5e81ec81999790b247ef2af25cc34cb6 SD_ROOT/wz_mini/etc/rc.d/K03rcd
ebfa49291afc96c4dd306101b7dec31c SD_ROOT/wz_mini/etc/rc.d/K02webcam
94986342aa969d155238a3b1f4d88ecc SD_ROOT/wz_mini/etc/rc.d/S07bonding
@ -200,7 +200,7 @@ b339aee882a5d1c943ad08e4282ec3fd SD_ROOT/wz_mini/usr/bin/iCamera-dbg
b10bdd54c56d8d8de2a27336f17285fe SD_ROOT/wz_mini/usr/bin/patch_icamera.sh
dafffcc1bd1e721d508400686338ceb8 SD_ROOT/wz_mini/usr/bin/imp_helper.sh
580b1b6e91e72b4a4fef7b21d8954403 SD_ROOT/wz_mini/usr/bin/getSensorType
ef23b16b06d0603402875c8d0f487b9e SD_ROOT/wz_mini/usr/bin/app.ver
ec5333fa76afdc0dc5ee8041264240de SD_ROOT/wz_mini/usr/bin/app.ver
4c780f0455481d106d47d89f0ae04ed5 SD_ROOT/wz_mini/lib/uClibc.tar
9afeb088e4cbabbe0b04033b560204d0 SD_ROOT/wz_mini/lib/libimp.so
4100755cb6cc6e3b76da20c7e3690e16 SD_ROOT/wz_mini/lib/libalog.so