Still Under DDOS, but here is a status update anyway. The Tor network is breaking.
/d/hacking icon


9,752 subscribers

Everything related to hacking, opsec, and programming. Malware, phishing, DDoS, coding, research and news.


• Be civil.

• No promotion for paid content or selling of guides.

• No looking for or advertising hacking services. For that please visit /d/Jobs4Crypto.

• Be nice to newbies, you used to be one of them.

All rules as well as the punishments are here.

I got some basic knowledge of C++, how can I proceed further?

by /u/NewBornBaby-69 · 2 votes · 2 months ago

I looked up the newbie section and it refer to various website. I am 2nd year college student and want to learn things on my own. I am short on funds, i have got some basic knowledge of C++ and what should I do next? I want to learn how to penetrate systems (especially Windows, Android) and do DDOS attack. What is the roadmap should I follow?

Comments (11)
/u/cheater · 2 votes · 2 months ago · Link

"Basic" knowledge of C++ will not get your far. You need to learn more. You need to be advanced.

/u/NewBornBaby-69 OP · 1 votes · 2 months ago · Link

Should I further advance in C++ or learn python and expand my knowledge in it, as suggested by other user?

/u/cheater · 1 votes · 2 months ago · Link

It honestly depends on what you are trying to accomplish. Both languages are great, however they serve different purposes.

/u/Grazelda · 1 votes · 2 months ago · Link

Learn python and learn about PEN testing. Both have more resources for learning than C++ ever had.

/u/NewBornBaby-69 OP · 1 votes · 2 months ago · Link

Python is used for lot of different task(Web designing, Making applications, scripting etc) , which one should I learn? PEN testing differs from system to system right? Do I have to learn it for every system?

/u/Grazelda · 1 votes · 2 months ago · Link

Python can be a 'swiss army knife' for coding and PEN testing can teach valuable perspectives from which to hone skills because you said "wanted to learn how to penetrate systems".

/u/NewBornBaby-69 OP · 1 votes · 2 months ago · Link

To avoid any miscommunication, I have to master Python to advanced level and then learn the system internal functioning which I want to exploit, right?

/u/Grazelda · 1 votes · 2 months ago · Link

Not necessarily to 'master' but be intimately familiar with for the reason stated. Learning (remote) PEN testing offers a base of technique valuable in many ways; and often an easy way to learn.

/u/Childeric · 1 votes · 2 months ago · Link

To penetrate systems and use many 0days, learn pointers and pointer arithmetics. (Can be done in C too)

For DDOS you need exactly nothing, except machines to run the DDOS, and to know some network API. BSD sockets are C-compatible and quasi-universal. If you want pure C++ you can check [Boost] ASIO. Anyway, teach yourself network basics before. TCP, UDP, masks, how they work...

My thought is you do not need another language. Another language is always welcome but never needed as long as you already use a Turing-complete one.

As said by someone else, you need advanced knowledge and practice in C++ to do interesting things. But you need it in any language.

/u/KylieXanner · 1 votes · 2 months ago · Link

Hello! I saw a lot of comments here suggesting you to start learning python, but I don't think that's really necessary if you already understand the concept / the fundamentals of programming. Here are my suggestions:

- if you want to be in the "hacking scene" (sounds cringy... but you know) with C/C++ (can't be really used in web development or whatever) you can:

a) Start in malware development

b) Start in exploit development

Yes, they are a perfect match for low level programming languages.

No, they aren't the same thing, tho malware developers usually use exploits developed by other devs to maybe bypass some security checks / self propagate (ex: wannacry ransomware) / etc..

- master the fundamentals of c++, learn how to write code avoiding some libraries, etc.

- learn windows API, windows it's widely used and a lot of malware is made for it, why would you go target the minority (linux / mac)?

while learning you can as well checkout some malware sources from github, there are a lot of cool repos out there!

- learn networking, knowledge in networking is extremely useful - learn how to write servers with multiple os support, learn how to write clients for windows

- learn cryptography, again, extremely useful, maybe you will go with shellcoding / crypting in the future, you won't know until you try

- (optional but sometimes very helpful) learn RE

specific to a)

- learn how AVs work

- learn how to setup your own testing environments (usually some windows vms are enough, but maybe you want to test mutiple AVs or whatever)

- start doing projects - whatever you want, doesn't really matter as long as it's windows related - make shellcode loaders, slow as fk rwares, etc. and test them on your environment, perfect your programming skills as much as you can and always test the detection on your payloads

specific to b) (I am not that experienced in this field, but I will give you some general suggestions)

- see how other exploits work, again, a lot of great examples available on github

- checkout tutorials / books related to writing exploits

- select your target, go with small applications created especially for exploitation

- go out in the wild

Anyway, just don't get yourself in trouble, learning is legal, spreading / sometimes even selling is illegal, so stay safe!

Leave a reply or contact me if you don't understand something / need help / want to learn more about malware.

! I may be wrong, if you have other thoughts on this, please reply with your opinion and I will change my response accordingly !

/u/sect4dread · 1 votes · 2 months ago · Link

Thanks for those answers