I'm pretty sure it had the word 'Shock' in the title. I was about 10 years old in 1979 when I read this short story in my hometown public library. It was a very disturbing book that probably shouldn't have been in the Children's section. It was about a small crew of astronauts that land on a planet that had a weapon. The weapon would target your brain and you would die and excruciating painful death. The book also had black and white pictures throughout the pages that made it look like they were from a movie and one of the pictures had one of the crew holding their head and screaming in pain as they were being attacked by the weapon and dying. I thought the book might have been called "Brain Shock" but Google is of no help.