On one device I've checked, /bin/bash and /bin/sh both link to /bin/psh. Try /bin/ash, that's the one I've had luck with, though I've never been able to get bootargs to persist.
@kk_2, I tried to unpack it with the latest of leecher's unpacker that I have, but unfortunately I get the below error:
Unless @leecher has made some updates and would be willing to share it, doesn't look like this will work for you.
I ended up rebuilding the digicap.dav anyway with this modified initrun.sh:
if [ -f /mnt/mmc01/busyboxG1-2 ] ; then
cp /mnt/mmc01/busyboxG1-2 /bin/busybox2
fi
if [ -f /bin/busybox2 ] ; then
for a in `/bin/busybox2 --list`; do
if [ -f /bin/$a ] ; then
/bin/busybox2 rm...
:facepalm: didn't even think of the SD card. I should hang around here more often. With the executable binaries on that, I'm not sure I even need to bother rebuilding. Thanks.
Thanks @rearanger and @montecrypto for the mImage! Got some new G1 cube cams (DS-2CD2455FWD-IW) and got root/ash in under a day. The updated mImage worked on my uboot version 3.1.6-540659. Can someone point me in the right direction for rebuilding the firmware with the newer busybox posted...
I'm looking to secure a property which doesn't have internet, and I'd like to place cameras around a perimeter which will not have power cabling or much sunlight. I could possibly mount a battery, but solar will not charge in many of these areas so I anticipate changing batteries every few...
Awesome! Thanks very much leecher! Found your tool, got a 32bit libssl/libcrypto build env, and modified initrun.sh to replace psh with sh. I have a working busybox /bin/sh shell. :-)
# help
Built-in commands:
------------------
. : [ [[ alias bg break cd chdir command continue echo...
Firstly, I want to say thanks to @montecrypto and @alastairstevenson for supporting this tool. I've used it to modify the firmware and give myself root non-psh shells on 3 rebadged bullet cams in the past (5.3-5.4ish fw) and wouldn't have stuck with hikvision cams if not for this. I've...