Taking weapons through pax security is the stupidest way of breaching security, far too many down sides.
If you want to get stuff airside there's so many easier ways, which most of you can think of. Pilots families held hostage is ludicrous. I could put a weapon airside at just about any international airport with very little effort tomorrow if I so desired. X-ray machines aren't going to even feature in the attempt.
The amateurish attempts used recently are nothing more than scaremongering to spark over the top responses.
They've already won.