Aniline is a more powerful activating group. The lone pair of electrons enters into conjugation with the benzene ring, as a result both ortho and para position become rich in electron density. At the same time Br+ is also a strong electrophile. Hence, all the three positions are attacked by the electrophile