Is there any method to boil a cracked egg without making a mess?
If an egg is already cracked then it will almost certainly split open when boiled, there's no way to avoid it, it would be best to cook them using another method. Be aware that once eggs are cracked they no longer have protection against microbes, if you don't know how long they have been cracked it may be best to throw them away.