Here's a method that works on a knife attack, but may have shortcomings with a bear: