48-year-old Jose Mota from Woking was in a white van when a 13-year-old and 11-year-old were walking past.
When he was arrested, he provided a full confession.
He’s been ordered to carry out 25 days of rehab and pay £100 to each of the girls, as well as an 18-month community order.
Inspector Jon Vale says the girls were “very distressed” and they’re “absolutely committed to tackling violence and harassment”.