So the seven militants duped the guards by marking their hands with a fake ink stamp similar to one used to identify visitors to the jail .