How advanced do you think Hamas are? One of their main weapons is the Qassam rocket, a dug up sewer pipe filled with sugar.
Yeah, but guns absolutely can. Iran is pretty good at supplying Hamas with everything they need to maintain control over the population - you might expect that after three years of absolutely brutal warfare Hamas would be beaten into submission, but clearly they are not.