An Indian Rat snake ( Dhaman ) or Ptyas Mucosa is mistaken many a times as a King Cobra or Indian Cobra for its ability to growl. This makes them very susceptible to be injured or killed by humans when found in human habitat. The injuries on this snake could probably be for this reason.
His entrails had spilled out through a deep gash on his abdomen.

He was treated, bandaged and kept in captivity till he was fit for release.