A hi-tech terrorist who stored information about his Islamic State activities on James Bond style cufflinks is facing jail.
Samata Ullah, 34, from Cardiff, used secure messaging websites to offer his computer expertise to the Cyber Caliphate Army - a group renowned for carrying out hacking attacks on behalf of Isil.
They were loaded with the sophisticated Linux operating system and contained a large amount of incriminating evidence.
Ullah was also found with books about guided missiles and numerous copies of Isil's propaganda magazine, Dabiq.
He pleaded guilty to being a member of Isil and also uploading instructional videos advising terrorists how to remain anonymous online by utilising the dark web.
Ullah also admitted publishing an encrypted blog, but a charge that he had directed terrorism by hacking military information on behalf of Isil was allowed to remain on file.
Despite being diagnosed with autism, he faces a lengthy jail term when he is sentenced on a date to be fixed.
Ullah was caught when Kenyan Police arrested a suspected terrorist and discovered that the two had been in regular contact.
Prosecutors described how Ullah had contacted the Cyber Caliphate Army, offering to "provide his skills and knowledge to the Caliphate".
During his first court appearance, David Cawthorne, prosecuting, said: "Mr Ullah's primary criminality is over the Internet and in his communications with others globally including those connected with Daesh or IS.
He was either solely or primarily responsible for a blog site called Ansar al Khilafah Wordpress. It was really solely an IS or Daesh site."
Police gathered more than 6.1 terabytes of data from Ullah's Samsung computer and other devices.
Ullah uploaded "step by step guides" on cyber security but covered his face and used voice-modulation software to hide his Welsh accent.
Commander Dean Haydon, MPS Counter Terrorism Command, said: "Just because Ullah's activity was in the virtual world we never underestimated how dangerous his activity was.
"He sat in his bedroom in Wales and created online content with the sole intention of aiding people who wanted to actively support ISIS and avoid getting caught by the authorities.
"This is just the sort of information that may have helped people involved in planning devastating, low technical level, attacks on crowded places as we have seen in other cities across the world."