Mix together the cereal and peanuts.
Put the sugar and syrup in a saucepan and bring to the boil, stirring to dissolve the sugar.
Remove from the heat and stir in the peanut butter and vanilla.
Fold in the cereal mixture.
Pour into a greased 20 cm (8 inch) square baking tin and press into the corners.
Cool, then cut into bars.