0
Currently learning C++, I’m getting into socket programming with C++
I recently created a simple server and client as well as a reverse shell in C++ but I don’t know where to go from here and I don’t know if I have to remember all of the code or can I just go on Google whenever I need to make a server I guess what I’m saying is do I need to remember all of the syntax or do I just need to know the concepts behind the syntax and if you know any resources to learning either sockets or ethical, hacking in C++, that will help as well thank you
9 ответов
+ 1
25 years :)
+ 1
To become good at anything you have to do it many times, not just once. The more you do it, the more of the concepts that will stick in your brain. I would suggest adding more capabilities to your socket program so your client can pass "requests" and your server can pass the results back. You can expand this by implementing more features as new requests. This is how HTTP servers work. They accept commands and spit back results.
You could further expand that with compression, encryption, support for JSON data packets, etc. It doesn't matter how useful it is. It's just an exercise to practice your skills. You could make it do anything.
+ 1
Hi
+ 1
Hi Ira Haggerty Jr
I recommend to have a look at unix network programming by Stevens , it might be a bit old but it covers a lot and in my opinion it is still worth reading. This was one of my first books(the first one was the C programming language and c++ reference book)
0
Jerry Hobby thansk again in your opinion which one of these books would be better for somebody that’s a complete getter I know intermediate C++ and I know intermediate Python I’m coming back to Python now it’s been a minute, but I still know it which one of these books, would you recommend I read?
Black Hat PytHon
Python Programming for Hackers and Pentesters
by Justin Seitz or
HACKING: THE ART OF EXPLOITATION, 2ND EDITION. Copyright © 2008 by Jon Erickson.
0
Jerry Hobby and I can’t seem to find any books that are for C++ regarding socket programming, networking or ethical hacking they’re all written in C
0
wave rider i had seen that one didnt know if it was outdated thanks for the recommendation. How long have you been working in the industry?
0
wave rider besides c++ what other languages do you program in
0
I did program in many languages: c#, c, Java, js, Python, php. I am mainly a backend developer. I did some ui as well.