Dobby knew he would have to burn his hands and put his ears in the oven. Yet, he put a time delayed powerful laxative in his master's food. Imagining Lucius Malfoy humiliation when he shat his pants in front of the Minister was worth it.