Ethical hacking is an art of gaining access to other network…
The question seems to miss the most crucial aspect about hacking : You need to have a complete understanding of the technologies that implement computing systems in order to hack them.
Therefore, there is no single language that you can use to hack computer systems, nor can you become a hacker by learning a bunch of languages.
In order to hack, a decent understanding of the following is critical :
- Operating Systems
- Hardware Technology
If you know how the system works, you can use any suitable programming language to implement the attack. Even if you need to learn the language, the learning curve will not be too steep because you have a specific task in mind.
In order to hack, you need to understand communication and processing systems at various levels of abstraction:-
- You should understand how memory management works, then you write a c program that forces a buffer overflow and allows you to compromise the system.
- You should know how the TCP/IP stack functions, then you can run a L2 level attack on the router itself (ex ARP Poisoning).
- If you know how the hardware works, then you can launch attacks at the hardware level by varying the various current flows/potential differences.
- You should understand how sockets work, then you can use a tool to deliver a malicious payload to critical ports in the victim machine.
So in conclusion, programming languages are just a means to implement your hack, not the hack itself.
Best sites to learn about about Coding and Hacking stuff :