If by "glitch" you mean getting a rotten egg and throwing it at a Majini, the key is to shoot the enemy a couple of times first. If you don't weaken them beforehand, the egg won't finish them off. It may take a try or two to figure out exactly how many shots are needed. I'd recommend using the pistol to soften them up, and then simply throw the egg to take them down.