Reverse Engineering CCTV system