Following the quelling of Lajos Kossuth's 1848 revolution against Habsburg rule in Hungary, prison camps were set up for people suspected of being Kossuth's supporters. Around 20 years later, some members of highwayman Sándor Rózsa's guerrilla band, believed to be some of Kossuth's last supporters, are known to be interned among the prisoners in a camp. The prison staff try to identify the rebels and find out if Sándor is among them using various means of mental and physical torture and trickery. When one of the guerrillas, János Gajdar, is identified as a murderer by an old woman, he starts aiding his captors by acting as an informant. Gajdar is told that if he can show his captors a man who has killed more people than himself, he will be spared. Fearing for his life, he turns in several people his captors have been looking for by name but unable to identify among the prisoners.