Ex. Law #127: "If any one "point the finger" at a sister of a god or the wife of any one, and can not prove it, this man shall be taken before the judges and his brow shall be marked. (by cutting the skin, or perhaps hair.)
Ex. Law #22: "If any one is committing a robbery and is caught, then he shall be put to death
Ex. Law #196. "If a man destroy the eye of another man, they shall destroy his eye. If one break a man's bone, they shall break his bone. If one destroy the eye of a freeman or break the bone of a freeman he shall pay one mana of silver. If one destroy the eye of a man's slave or break a bone of a man's slave he shall pay one-half his price."
Hammurabi had many other punishments as well. If a boy struck his father they would cut off the boy's hand or fingers.