Police discovered fragments of text on Dart's laptop that revealed that the pair had used the computer to have a "silent conversation" to avoid possible surveillance bugs.
They would open a Word document and take it in turns to type, before deleting the text and mistakenly assumed that none of it would be stored on the machine.
However forensic experts were able to plough through 2,000 pages of computer code to decipher fragments of what was said.
These included Mahmood making a reference to Wootton Bassett and then adding "if it comes down to it it's that or even just to deal with a few MI5 MI6 heads".
More top news
The win sends the Scot through to the last eight where he will face either Japan's Kei Nishikori or France's Richard Gasquet.
People "would not want" international footballer Jerome Boateng as their neighbour, according to a German politician.
The paralympian posted a time of two minutes and 57 seconds on Sunday.