Python For Ethical Hacking (Advanced) – #3 – Creating TCP Client | Video

Hey guys! hackerSploit here back again with another Python tutorial series, where we will learn how to create Network Sockets, TCP clients, servers and custom scripts.

Github Repository:

⭐Help Support HackerSploit by using the following links:
🔗 NordVPN:
Use the link above or the code below for 77% Off your order
Promo Code: hacker

READ ALSO:  Length Contraction - Science Tutorials for A.P. HS and University Students {VIDEO}

I Hope you enjoy/enjoyed the video.
If you have any questions or suggestions feel free to ask them in the comments section or on my social networks.

🔗 HackerSploit Website:
🔗 HackerSploit Android App:

🔹 Support The Channel
NordVPN Affiliate Link:

🔹 Get Our Courses
Get a special discount on our courses:
The Complete Deep Web Course 2018:

READ ALSO:  hacking tutorials - how to hack many things using google | Video

🔹 SOCIAL NETWORKS – Connect With Us!

Thanks for watching!
Благодаря за гледането
Kiitos katsomisesta
Aitäh vaatamast!
Merci d’avoir regardé
Grazie per la visione
Gracias por ver
شكرا للمشاهدة
دیکھنے کے لیے شکریہ
देखने के लिए धन्यवाद



  1. Hi, I am running this on two pc's, server is Kali Linux on vm and client is windows 10, but it is not getting connected. Getting following error in client;
    "TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond"
    Port number used is 9999.

    Please help.

  2. Why are you saying this is an "advanced" ethical hacking ? This have nothing to do with real penetration, I watched the other python series on your chanel and you just have made a simple basic TUTORIAL about python. That also had nothing to do with "ethical hacking".
    Ps: I'm not triyng to be rude or something.

  3. Hi, my TCP Server and TCP client programs are running but i am not getting any output on my virtual box
    When i terminate my TCP Client program on virtual box, it is showing an error that client_socket.connect((host, port)) and keyboardinterrupt
    Why am i getting this?

  4. Please let me to know, why we are calling gethostname() and storing it into the host variable if we are manually putting IP address in line 13 of server file…?
    thanks in advance, and good luck for tutorials they are best. 🙂

  5. its "gradual" because people like me , who really want to use python, get confused, and give up easily. all those little symbols that were explained such as (%) was something not many videos explained thankyou!!!

  6. Am I correct to say, this will still work if we have a client different from the TCP protocol of the server but it won't send the message, so it will connect but won't communicate

  7. What if you wanted to keep the server connection open, and accept multiple messages from multiple clients? Is there a way to keep the clients connected persistently to the server? Maybe every so often the server would send a ping, and if the client does not respond within x amount of seconds, it is closed.

  8. I had a problem with the gethostname(). But after a small change to on both files where.
    host = ' ' #this does not confine us to a single host.
    I was able to send the connection message to the client

  9. Thx Alexis for this very instructive video. I had a little issue with the socket.gethostname() in both client and server because this provides the name not the IP of the systems and names were not resolved in my network [Errno 111]. Fixed it with IP-addresses hard coded.

  10. Thank you for your great tutorials! I just have two things to say: 1) Maybe it is worth noting that to use ports below 1024 you need to have root privileges, hence you need to use sure when running the server script. And 2) when I tried to run my client from the VM I got an OSError: [Errno 101] Network is unreachable. Any idea why? Thanks again.

  11. Hi! I took care to write my code exactly like yours but i still get an error saying that the permission is denied… is it possible that there's an option in my router that disables tcp server or something, i'm not an expert in networking so i don't quite know how to solve this problem

  12. For me it's not working.
    Right now CS code says something about "invalid syntax" but before it was telling me my pc refused the connenction.

  13. i know i sound like a little kiddie but i was wondering if you have any videos to hack password like facebook and skype like that stuff

Comments are closed.