What Attracts People To Nazism is the Feeling of Emotional Hatred, Nazism states The Aryan Race Is supreme Scientifically and All other races are inferior, especially slavs and Jews. This was caused mainly out of The Russian Revolution and Stalin's Reign, Which Allowed To Nazis to take up the Goal of Anti-Communism, Anti-Capitalism and Anti-Jewish. It basically differs from other idealogies as in it states a lot of the other ones are openly bad and basically is pesimism all over, It can corrupt a being whos read a lot about Communisms and Capitalisms crimes, but Also Weak Willed, and Who hasnt read about Nazisms crimes. Yet I am mildy confused by the original question , if it meant in history or now, i just answered for the now, but here is for the history part:
When Hitler joined the NSDAP in the 1920's, it had only 7 members, it was Basically a Communist-Socialist group of drunkards, then he used PSYCHOLOGICAL Methods to show himself to be a charismatic person, which attracted many people to him and his Party. Then after he took power in the 1930's, He began a policy of "Join or Die", in Which He made it law for every Germany Citizen of Aryan Descent to Join The Nazi Party, or be shipped off to a concentration camp or be shot, so if you value your life, it would be pretty clear once those gestapo guys are on your doorstep, are you Going to Join The Nazi party?
But that was the past and a very very unique event, One who is emotionally stressed or starving might look to nazism for someone to blame, but a Thinking and wise person knows its effects are bad and its idealogy leads nowhere and is based on what the buhddists called the "Primal Mind", the mind which simply appeals to the emotions, and which wishes for food, pleasure, and shelter.