A man accused of raping a woman at gunpoint in Bhubaneswar attacked police and was injured in an encounter, according to the report.