I have a Zmodo DVR that runs some kind of Linux-based OS and which (I think) has an ARM processor. I can place files in its filesystem using its updater tool, replacing anything with the same name, but I cannot read or execute any commands or access the DVR in any other way.
So where could I place some files that would make the machine run a shell script or something when it boots up?
Update: I know the path of its HTTP web root, but it apparently doesn't support PHP. I also see an executable file in an update for it that I'm guessing it runs at bootup. I would replace it with a shell script that runs some commands then runs the original executable, but I'm afraid to do that because if the shell script fails and prevents it from booting, my DVR is bricked forever.
P.S. This is not for malicious purposes. I'm trying to make this thing network-accessible.
etc
are in there. Unfortunately, that's all I know. I can try multiple things at once that might work, but I don't want to overwrite anything because one wrong move will brick the DVR for good.