Nail by, with nail.
More Hungarian Proverbs:
The head of each stick is at its end.Hungarian
As one makes his bed, so he sleeps his dream.
Hungarian
Something for something.
Hungarian
In the long run even a dog will compromise with the cat.
Hungarian
Where pig is proffered, go round with a sack.
Hungarian
What you have cooked, you should eat as well.
Hungarian