An Australian prosecutor said Thursday a terrorism defendant admitted to police he was recruited by al-Qaida to monitor military bases in the country .