A terrorist sympathiser who bashed his own mother and threatened police via social media has attacked a 9NEWS reporter outside court today.

Khodr Moustafa Taha was released on bail in January and was due to be sentenced after pleading guilty to 11 charges, including using Twitter to threaten, harass or offend.

Instead he was released on bail to allow a more detailed assessment of his mental health to be submitted to the court.

Taha removed the lid from his coffee before throwing it at Raskall. (9NEWS)

When journalist Allan Raskall questioned Taha outside the Melbourne Magistrates' Court today, Taha removed the lid from his takeaway coffee and threw it at him.

But Raskall said he did not let the attack distract him from his job.

"My first reaction as a journalist is to keep asking questions," Raskall said.

"Later I asked him if he was sorry for pouring coffee on me and he didn't reply."

Raskall remained calm and continued asking questions. (9NEWS)

It is not the first time Taha has attacked a member of the media. In February Taha smashed Herald Sun photographer Yuri Kouzmin's camera into his face, leaving him bruised and bleeding.

Kouzmin did not press charges.

At his next court appearance, Taha was praised by Deputy Chief Magistrate Jelena Popovic for his good behaviour, failing to mention the well-publicised attack.

The 35-year-old Brunswick man came to the attention of Victoria Police on December 14 last year when he used social media to threaten officers.

"I'm going to hurt your officers," one tweet said.

Taha will reappear in court on May 14. (9NEWS)

On January 2 his home was raided by police, where they found a rifle bullet and three swords. Police also allege they found child pornography on his computer.

Taha pleaded guilty to attacking his elderly mother in her own home, which left her head bruised.

Afterwards, he said he wanted to kill her and hoped Allah would bring her "death in this world and the next".

The court was also told he encouraged ISIL to cut off the heads of captives and hoped an Australian attack would take place.