Today there's a story about Mubarak in the hospital. He ruled Egypt since 1981 but was overthrown in 2011. Wikipedia says he survived six assassination attempts during that 30-year period, however it mentions only a couple and the references given don't provide much detail. What were those attempts and how were they thwarted or failed, and who was behind them?
the state security service is the one who foiled the assassinations attempts.
I think they are four attempts (may be there are more attempts)
1) the most famous one was in 27 june 1995 In the Ethiopian capital Addis Ababa.
Mustafa Hamza, a member of the Al Qaeda organization is the main suspect in the assassination attempt on Mubarak in Addis Ababa.But the bullets did not penetrate the body of the President armored car.
2) in France.
3) inside egypt in a city called Fayoum.
There was an Islamist group planned to assassinate him, but were stopped by security
4) in 1999 inside egypt in a city called Port Said.
During the visit of Mubarak to the city of Port Said, and while his car was on the road, a man called Abualaraby rush to his car but the security men killed him immediately and the security men said that he was carrying a knife, but others believe that he was just an ordinary simple man.
There were undoubtably numerous plots that made it to various stages. Where such a plot progresses to qualifying as an "attempt" is probably mostly up to the speaker.
For example if it was the security services speaking, they'd have incentive to make themselves look good by being a bit generous as to what qualifies as an attempt. On the other hand, someone speaking for Mubarak himself might want to downplay how little he was liked, and thus might be more stingy in what qualifies.
So to answer this question precisely, you'd really have to go to the person who gave wikipedia that number of six and ask them.
Buddy of mine from Egypt said that Mubarak had only four attempts on his life, not six. He may be wrong though. the other two might not have been publicized.
We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.