The professor reportedly used an endoscopic camera to capture the paper, selling it to students prior to the exam, leading to the paper's cancellation.