Which programming language is the best to learn to become a hacker? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 8

Which programming language is the best to learn to become a hacker?

I want to become an hacker. I'm a beginner and I don't know any programming language. What should be the best thing to start from?

13th Apr 2017, 7:12 AM
Prashant Kansal
Prashant Kansal - avatar
4 Answers
+ 24
c++ python javascript etc. Before learning the code, especially if all you want to do is hack... it'd be better to learn about networking and data communications. Study up on protocols such as the TCP and UDP protocols. Proxies. VPNs. Firewalls. CIDR notation and subnets/masks. WEP/WPA/WPA2 encryption. Ciphers. Antivirus. Also definitely study up on every IP version.. IPv6.. IPv4.. public vs. private ip. and port forwarding.. isps.. etc. But if you're already familiar with some of these things.. Maybe check out my code. I was able to implement an algorithm that decrypts bssids of Belkin routers to find the default password. Algorithmic programming and penetration testing is pretty fun. Have a desperate swing at Kali Linux or Parrot OS starting out as well. Don't be afraid to use tools etc when starting out either.. but don't get comfortable with doing that. Using tools is a good way at learning but don't get into the constant habit of doing so. Script-Kiddie = no don't do it. Too much cringe for any of the observing pentesters. The real secret is knowing how data is moved and how it's stored.
13th Apr 2017, 7:44 AM
Fox
Fox - avatar
+ 12
depends what u wanna hack... for web learn php , Ruby or whatsoever it uses. for Android learn Linux n C for Android apps learn Java
13th Apr 2017, 7:27 AM
Ronit Kumar
Ronit Kumar - avatar
+ 2
Learn networking, C to learn how to fuck up code and create buffer overflows, unix shell as well as windows for server access, jscript, php, html and sql for web injections. Learn how and were data is stored and how webservers like apache are run. Learn how to use symmetric and asymmetric de/encryption tools. For writing 'hacks' i suggest learning an object oriented imperative language like java or C++. The language in which you write the programs doesn't really matter as long as you can acccess the listed interfaces with it. If you want to inject code you need to know the syntax of the application your a hacking ofcourse. And last but not least prepare yourself for court if you have any criminal intention without knowing jack shit about how to hide your tracks. If you are actually interested in IT security then i can recomment you the "hackthissite" website
13th Apr 2017, 11:14 PM
TransHedgehog
TransHedgehog - avatar
+ 1
The main part in hacking is finding out the weakness of your target, sometimes those are already know sometimes you have to find them yourself. Many people, doesnt matter if programers or webdevs, still don't care about it-sec so many websites suffer from the same basic weaknesses. Also you should get comfortable with firebug or similar browser extensions because they help searching through the source code. Also extensions for manipulating cookies and html requests directly are helpful.
14th Apr 2017, 7:15 AM
TransHedgehog
TransHedgehog - avatar