You must upload the current firmware and make it work. )
All you need - you'll find inside the firmware, hiktools05R1 still can disassemble them.
It will help to create custom firmware based on last version, that will gain access to shell.
Then you change the NVR, so that they way he became...