Endrick shone brightly in Brazil's last friendly before the World Cup, scoring the winning goal in a 2-1 victory over Egypt.