One man went to great lengths to get drugs into Listen Out festival on Sunday.

The alleged was caught smuggling MDMA by sniffer dogs, with the drugs slathered in vegemite and cling-wrapped to his penis at the St Kilda music festival.

Police say the resourceful reveller was one of 24 people found trying to take drugs into this year’s event at Catani Gardens, where a woman last year died from an overdose.

This year police found amphetamines, MDMA, cannabis and ketamine while another rowdy guy “threw a stubby” at a policeman after his drunk friend was booted out of the festival and subsequently he was charged with assault.

Port Phillip Acting Inspector Stuart Bailey has detailed to Leader newspaper just how the man got the goods in, "we found several males had the drugs wrapped in plastic and wrapped around their penis,” he said.

“One smothered his MDMA in Vegemite believing the ... dog would not be able to detect his drugs. Wrong!”

But Acting Insp. Bailey added, the 15,000-strong crowd were generally well-behaved throughout the event.

“It was a warm day, St Kilda was pumping, but we didn’t have that many drugs ... we had probably more in the medical tents because of headaches and dehydration and things of that nature.”

He may want to try these ideas instead for Vegemite use: