Question: I need to learn how to be hacker?
Answer: Step one is to learn several different programming languages really well. You should probably include languages of several completely different types including at least procedural and object oriented languages and possibly some of the other styles of high level language as well. With sufficient knowledge of several completely different languages you may eventually reach the stage of being able to apply what you know about one language to do something in another language in a clever way that no one else has thought of. You can then publish the 'hack' that you came up with so that others can also take advantage of the coding shortcut that you found.If you want to be able to really understand how programming languages work in order to improve the opportunities to spot potential hacks, then you should also learn assembler language so that you can analyse the machine code that the programs you write get converted to by the compiler and so identify parts of the code that can be improved by being rewritten in a different way.
With enough practice at doing this you may even reach the stage of being sufficiently familiar with what can be done with the various programming languages that you can spot a security hole in someone's system and let them know how to fix it before crackers (those on the dark side of hacking) can take advantage of it.
This article written by Stephen Chapman, Felgall Pty Ltd.