The Nigeria women's team came from a goal down to claim a 5-1 victory over Haladas Viktoria at the Király in Szombathely.
A brace from Asisat Oshoala plus a strike each from Chiwendu Ihezuo, Francisca Ordega and Ogonna Chukwudi ensured Thomas Dennerby's side completed the fightback.
The African queens were aiming to step up their Women's World Cup preparations with a morale-boosting win against Hungary's topflight contenders.
The Hungarians made a fine start to the game in front of their fans as they gained the lead after just seven minutes, capitalising on goalkeeper Tochukwu Oluehi's accidental slip up.