Spooked would-be burglar caught on camera