Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

Can someone tell me a roadmap to being a hacker?

+4 votes
asked Jun 24, 2023 by Eidnoxon (4,900 points)
I know 3 programming languages:
1. Python - all the basics, a bit of data structure and data analysis

2.C++ - All the basics, no knowledge of data structure/data analysis

3. C - Not sure if all basics, Just as C++, no knowledge of data structure/data analysis.

If someone would tell me a roadmap of becoming a hacker, that would help. But first, can you answer my questions?

1. What programming languages are efficient for hacking?
2. Is the programming languages I know efficient enough to become a hacker(At least a decent one)?
3. What are the basics to learn in a programming language that is usually used in hacking?

1 Answer

+1 vote
answered Jun 24, 2023 by Peter Minarik (82,920 points)

It all comes down to how you define hacking.

If you want to be able to break applications, you'll obviously have to know about programming. Probably the language the application was written in would help, but most likely assembly language knowledge would be most sufficient for such tasks. The reason is that disassemblers can get the assembly code from almost any program, but getting the high-level programming language (Python, Java, C/C++ is not always possible). C# is tricky in this regard as you can always get the high-level C# code from the binaries, so C# is not considered the best language for creating secure applications.

If you want to be able to break into systems, then you'll need to learn about operating systems and security. Know how the OS works, what are the vulnerabilities, and what are easy attacks against it. How are the credentials (passwords) stored? What kind of attacks you can perform?

Often you don't even need to break the credentials of a user, it's easier to ask the user to provide their password. ;) Have you heard of social hacking? Phishing? All those scam e-mails pretending to be someone else they are not? Imagine writing an angry letter in the name of the boss to an employee that they failed to set up their new password which was due last week and this really affects production. Demanding to provide their new password and their old one so the manager can do this for them instead as this is urgent. The scared employee provides their new password (who cares?) alongside the old one (jackpot!) so the attacker now can log in with the credential willingly provided by one of the users.

To address your questions: you'll probably need to learn assembly, as mentioned above if you want to break (into) applications.

There's also a program called cheat engine that helps you poke around in running applications data and code. (Again, assembly is needed.)

Good luck!

commented Jun 26, 2023 by Eidnoxon (4,900 points)
Thank you, I appreciate it! :)
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.