No video

Network Programming with Python Course (build a port scanner, mailing client, chat room, DDOS)

  Рет қаралды 362,118

freeCodeCamp.org

freeCodeCamp.org

Күн бұрын

Learn network programming in Python by building four projects. You will learn to build a mailing client, a DDOS script, a port scanner, and a TCP Chat Room.
🎥 This course was developed by Neural Nine. Check out their KZfaq channel: / neuralnine
⭐️ Course Contents ⭐️
⌨️ (00:00) Intro
⌨️ (00:37) Mailing Client
⌨️ (13:41) DDOS Script
⌨️ (27:29) Port Scanner
⌨️ (44:06) TCP Chat Room
--
Learn to code for free and get a developer job: www.freecodeca...
Read hundreds of articles on programming: freecodecamp.o...

Пікірлер: 225
@damiancampbell1743
@damiancampbell1743 3 жыл бұрын
"Wow, we didn't get an exception; I'm surprised to be honest." *I felt that.*
@RomanTimm
@RomanTimm 2 жыл бұрын
Can someone explain to me how this channel exists? No, seriously now. There is so much great FREE content on this channel and website, it is mind boggling! I mean so many teachers no KZfaq put a "sneak peak" video on KZfaq in order to hook you in to their courses. But not here wow! I am trully amazed! Even if you do consider this just a hook video, or just a sneak peak, it is one hell of a sneak peak! Thank you all for the great content! Hope you prosper!
@Adrian-ey1bv
@Adrian-ey1bv 4 жыл бұрын
Thank you so much for doing this. I just found this channel and I'm going through the beginners python video right now. I was really hoping you guys would do a python networking course too and boom here it is. Thank you so much for what you're doing!
@xzex2609
@xzex2609 10 ай бұрын
if you are going through a python beginner course and you want the best available channels here are some gold mines , Bro code 12 hour python course . or Dave Gray (this guy is unbelievable / if you come from other language and you want to learn fast) - Clear Code ( Atlas) (even a man with low IQ could understand what he teaches and he is best in GUI programming / game programming.
@tanercoder1915
@tanercoder1915 4 жыл бұрын
With that DDoS my router CPU use raised 80% and it takes longer to navigate to menu to check Network Stats. Once script is stopped everything is back to snapy. Nice! I had fun with this script.
@GadgetPulseShorts
@GadgetPulseShorts 4 жыл бұрын
Dos*
@schizophil1
@schizophil1 2 жыл бұрын
It’s not distributed so it’s just DoS
@raymondmichael4987
@raymondmichael4987 4 жыл бұрын
Thanks, I will binge watch this tomorrow, weekend vibe 😎
@TalsonHacks
@TalsonHacks 3 жыл бұрын
Yeah boi, cheers!
@ferget9111
@ferget9111 3 жыл бұрын
I was thinking the samething lol
@kitgary
@kitgary 4 жыл бұрын
Awesome course! Look forward to see more in depth courses!
@sidalexis
@sidalexis Жыл бұрын
Thanks! Got more clarity
@hadiasghari2266
@hadiasghari2266 4 жыл бұрын
enjoyed every second of it. thanks
@bilalrehman158
@bilalrehman158 4 жыл бұрын
Bro I really don't have words for u. U r really great. A lot of peoples out there earn thousands of $ just for teaching and u just do it for free and not just do it but u teach us well. We love u bro keep up the good work.
@ememade
@ememade 2 жыл бұрын
ikr
@dexxgaming_3498
@dexxgaming_3498 3 жыл бұрын
If you want to DoS attack different IPs when running the program, then use this: ip = input("IP / Hostname: ") port = input("Port: ")
@neymarjr-sc3oi
@neymarjr-sc3oi 4 жыл бұрын
i really wanted the video,,thanks freecodecamp
@samueldasmianus6151
@samueldasmianus6151 4 жыл бұрын
Ultimately,this what i'm waiting. Thank You 🙏
@rehanhoda7960
@rehanhoda7960 4 жыл бұрын
What are the prerequisites for this topic? Should have knowledge of python? Or this is for some one who is beginner too?
@rizwana6683
@rizwana6683 4 жыл бұрын
Smtp is easy enough for a beginner
@vijayanand7270
@vijayanand7270 4 жыл бұрын
If you know Python basics, you can start
@pmAdministrator
@pmAdministrator 10 ай бұрын
Dude is reading his code from somewhere, LOL
@sairaamin4211
@sairaamin4211 6 ай бұрын
I was looking for this thankyou for this course😊❤
@Ano_F_
@Ano_F_ 4 жыл бұрын
i was looking for this from past 2 days ❤️❤️
@8DMafia
@8DMafia 3 жыл бұрын
This is exactly what I needed 👍
@rachmadsyaefullah5304
@rachmadsyaefullah5304 4 жыл бұрын
IT IS OKAY TO PUT SOME ADS IN THIS AWESOME CHANNEL!!!
@willlane805
@willlane805 4 жыл бұрын
for mobile ⭐️ Course Contents ⭐️ ⌨️ (00:00) Intro ⌨️ (00:37) Mailing Client ⌨️ (13:41) DDOS Script ⌨️ (27:29) Port Scanner ⌨️ (44:06) TCP Chat Room
@rockababy
@rockababy 4 жыл бұрын
going to work on this tomorrow.
@rafy-ivanmorales3077
@rafy-ivanmorales3077 2 жыл бұрын
I want to ask for help....I need to make a program with Python program that should test the given host and it should generate a list of all the TCP Open ports within the range of 1 to 1025. You are required to accomplish this task by using standard Python’s “socket” library. Following are the functional requirements: 1. On execution of program system should prompt “Enter a host to scan”. User will provide a host name 2. System should look for all the ports between the range of 1 to 1025 3. If the Ports is open it should create a file and add an entry for port number 4. In case of any exception for instance “host is not available”, “host name could not be resolved” or due to any other error you need to write that exception into same file 5. You also need to record starting and ending date and time at the beginning and ending of file accordingly. It should also show the total time it took in port scanning process
@SensiStarToaster
@SensiStarToaster 2 жыл бұрын
It's called nmap
@storyaz09
@storyaz09 3 жыл бұрын
[email send error solution ] instead of using .elho() use .starttls() is work better in my case elho give windows 10060 error in
@osam4323
@osam4323 4 жыл бұрын
If you're using gmail and facing challenges, you might want to use: server = smtplib.SMTP_SSL('smtp.gmail.com', 465) and then turn ON "Allow less secure apps" on your Google Account.
@aghilannathan8169
@aghilannathan8169 2 жыл бұрын
You're awesome man, you just saved me a lot of trouble. A thousand thank you's.
@TopNotch770
@TopNotch770 Жыл бұрын
Great video! Thank you very much!
@SwashbuckleGames
@SwashbuckleGames Жыл бұрын
This is really great stuff, thank you
@SamGharacheh
@SamGharacheh 4 жыл бұрын
Very nice and helpful 👌 I like his explanation, he is very good in teaching. Well done 👍.
@mehmety5012
@mehmety5012 2 жыл бұрын
Thanks for sharing your knowledge! 👍
@swalehcosmas6396
@swalehcosmas6396 4 жыл бұрын
Great stuff keep it up freecodecamp
@rachinter
@rachinter Жыл бұрын
Thank u thank u very much for this❤️ appreciate ur hard work 👍
@slonbeskonechen8310
@slonbeskonechen8310 2 жыл бұрын
Very interesting, thank you!
@aaronroberts7119
@aaronroberts7119 2 жыл бұрын
This guy is definitely not a hacker.
@Ali_AlNaib
@Ali_AlNaib 4 жыл бұрын
How do you get onto a server? I have never done this before and apparently I did something wrong.
@edikanessiet8907
@edikanessiet8907 Күн бұрын
Nice course but your screen was too tiny to view.
@m.talharajputm.talharajput6732
@m.talharajputm.talharajput6732 4 жыл бұрын
Before watching this tutorial what skills should we have know? Kindly help me
@pedrobarros9444
@pedrobarros9444 4 жыл бұрын
only python basic skills, he actually explains well though skipping some important ideas you will get the hang of it
@glitchedpixelscriticaldamage
@glitchedpixelscriticaldamage 4 жыл бұрын
Well you need to understand OOP, he is creating a lot of objects and calling a lot of methods available on those objects from the classes they are instantiated. But mainly he does use them with procedural programming. So, you have to understand both. Also, the specific python libs, you could check the python docs for details, he doesn't show anything out of the ordinary in the video, basic stuff.
@m.talharajputm.talharajput6732
@m.talharajputm.talharajput6732 4 жыл бұрын
@@glitchedpixelscriticaldamage yeah i have basic knowledge of python and scrapy , beautiful soup. Libs. But I don't have knowledge about networking. Can I still watch this video.
@safwanakhtar2528
@safwanakhtar2528 4 жыл бұрын
@@m.talharajputm.talharajput6732 yh you still can, just google key concepts that you don't understand and try and learn them
@user-de4xj5cd4o
@user-de4xj5cd4o 3 ай бұрын
And networking knowledge left the chat 😂😂😂😂😂😊
@nedjmeddine1630
@nedjmeddine1630 5 ай бұрын
Perfect thanks!
@user-ns8ur8yh8r
@user-ns8ur8yh8r 4 жыл бұрын
clear explain ..excellent and thanks thanks thanks
@lazyman2451
@lazyman2451 3 жыл бұрын
I can't believe he was able to do all this in just an hour, which would've taken me weeks to figure out 🤣.
@joshuaravael9775
@joshuaravael9775 3 жыл бұрын
he must have studied first
@brunofelix5434
@brunofelix5434 4 жыл бұрын
Thanks freecodecamp
@icns01
@icns01 6 ай бұрын
the course is ok, but its a shame that the resolution plus the color scheme make it difficult to see what on the screen even at 1080p. Theres a similar course by Bek Brace with 2 projects that gets the combo perfectly. Very easy to follow whats going on.
@fellakneezz7437
@fellakneezz7437 2 жыл бұрын
(for the DDOS) Wouldn't it be better if you opened the socket before the loop Then closed it after Because every loop you're dealing with the overhead of opening and closing a socket every time you make a request
@MalikBasha.
@MalikBasha. 2 жыл бұрын
i know html and css
@MalikBasha.
@MalikBasha. 2 жыл бұрын
@Roover yo mama asked to get deez nuts in her
@MoleThi-zl1gj
@MoleThi-zl1gj Жыл бұрын
26:41 I get "[WinError 10061] No connection could be made because the target machine actively refused it" how to solve it
@niharchandaliya1555
@niharchandaliya1555 4 жыл бұрын
This is pretty cool
@aammssaamm
@aammssaamm 4 жыл бұрын
nice, right on time
@krazyteetp5803
@krazyteetp5803 3 жыл бұрын
I wonder what i'm going to do after this Course
@JJZzZzZzZ
@JJZzZzZzZ 2 жыл бұрын
In the email part i got this error : 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. How do i solve it?
@wh0d1s-l
@wh0d1s-l 4 жыл бұрын
THANK YOU!!!!!
@lalbudha3025
@lalbudha3025 4 жыл бұрын
Amazing!
@verdipratama
@verdipratama 4 жыл бұрын
NICEEEEEE 😎🙏
@mazharmumbaiwala9244
@mazharmumbaiwala9244 3 жыл бұрын
The title is misleading, this video is great for someone familiar with network programming to quickly get hands on, but for someone who has no idea what an IP address is, what ports are this is not good, you cannot call this video a COURSE on Network Programming. A good video though
@Flowerz__
@Flowerz__ 3 жыл бұрын
It’s an intermediate or advance course it seems . You realize those exist right? Seems like a lot of good info in here. We just have to go back and #1 learn python and #2 some ppl might have to learn the basics of computer networking.
@ramzbew5674
@ramzbew5674 Жыл бұрын
DDOS Script was slow because you created to many Threads. And you lose resaurses to make your OS managing and switching between Threads.
@nabeelnavab1282
@nabeelnavab1282 Жыл бұрын
2F authentications block these mails? could not send mail to my gmail account ;(
@yashubhasin4330
@yashubhasin4330 3 жыл бұрын
Hey guys can anybody please give a kind of roadmap to learn python and become a python programmer? I've completed the 4½ hour beginner python tutorial on this channel. What should be my next step? Should I watch this video now? And what after this??
@Amam-xu3xr
@Amam-xu3xr 4 жыл бұрын
love python
@goodluckoriuwa1669
@goodluckoriuwa1669 Жыл бұрын
Can I use python to disconnect or connect internet access to an existing local area network? If yes, how can I do that programmatically in python code?
@mutalemulenga8708
@mutalemulenga8708 4 жыл бұрын
Hey Man. Thanks. I used my websites email and sent to my Gmail. Though, at first was getting errors when i used the website's port, but after using port 25. the emails came through. Thanks.
@ramonpaolomaran2253
@ramonpaolomaran2253 4 жыл бұрын
Uowww, Very Nice 🇧🇷 :)
@sindicindy325
@sindicindy325 2 жыл бұрын
Hello. Great video!! Where do you come from? Just curious since your name seems to be Albanian. xp
@the_god_killah
@the_god_killah Жыл бұрын
I get this : 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
@eprd313
@eprd313 Жыл бұрын
I don't understand how this video isn't included in FCC's Information Security course. I learnt more from it than from the whole "Python for Penetration Testing" module. The whole course seems lacking compared to all the others to be honest.
@emmanuellazar8786
@emmanuellazar8786 8 ай бұрын
you dont understand because you support terrorism, which makes it more difficult
@salmanahmad11149
@salmanahmad11149 3 ай бұрын
Can someone please check his mail client code. Its not working for me. Maybe its need to update.
@alfredoneves3976
@alfredoneves3976 Жыл бұрын
excelent video
@urossimsic6745
@urossimsic6745 3 жыл бұрын
Thx bro
@kristaqvin
@kristaqvin 4 жыл бұрын
Can you make a tutorial about PyQt5?
@tobi827
@tobi827 3 жыл бұрын
Is it legal to port scan a pen testing target, like from a bug bounty program? If the network is in scope?
@pequlatv4814
@pequlatv4814 3 жыл бұрын
For any type of penetration testing you need to have a written agreement of the party your are "attacking"
@rix355
@rix355 2 жыл бұрын
What a DDoS script? Sending to a site request with path that isn't existing on it, getting error and sending request with host header that will response error too.
@braciere77
@braciere77 2 жыл бұрын
Hi, how you use fake-ip address? The fake ip address doesn’t establish any connection because http server recieve a RST, you can’t send any http protocol command
@aryankapoor8827
@aryankapoor8827 4 жыл бұрын
idk but none of the modules is working in my python 3.8.5 on vscode
@cosmicpegasis7591
@cosmicpegasis7591 4 жыл бұрын
You need to download the modules first In the command line: pip install smtplib
@aliphlox42
@aliphlox42 3 жыл бұрын
amazing
@TMLA001
@TMLA001 3 жыл бұрын
smtplib.SMTPNotSupportedError: SMTP AUTH extension not supported by server.
@sagivalia5041
@sagivalia5041 2 жыл бұрын
In the Port Scanner part, shouldn't the 'port = queue.get()' need to be atomic?
@striderstache99
@striderstache99 9 ай бұрын
The infinite loop is probably the bottleneck. Yeah, not the best script but just what I needed to start out.
@dolevdo
@dolevdo 3 жыл бұрын
on the tcp chat why we dont fix that the sender gets his own message ? how can i fix that ?
@ashutoshpanda4336
@ashutoshpanda4336 4 жыл бұрын
Awesome
@andrewa7952
@andrewa7952 4 жыл бұрын
gmail needs tls / ssl enabled to work
@thierrygranier1989
@thierrygranier1989 4 жыл бұрын
hello, i'd like to use this chat programm to communicate with a friend. I'm behind a box router and he is. How can i do to communicate over internet? thanks
@gonzaloescudero8170
@gonzaloescudero8170 3 жыл бұрын
The port scanner works for the fcc curriculum project of the same name?
@jacquesfrancois4275
@jacquesfrancois4275 Жыл бұрын
Hi, the first script gives me an error "no module named email.mime" Although ive installed the email module, any help is appreciated
@mrishosalum6757
@mrishosalum6757 3 жыл бұрын
awesome
@kasedsoftsilicon3268
@kasedsoftsilicon3268 4 жыл бұрын
Wow! verygood I'm web programmer in thailand I like this clip
@user-ns8ur8yh8r
@user-ns8ur8yh8r 4 жыл бұрын
thanks alot of ...........
@ankurstudies8513
@ankurstudies8513 2 жыл бұрын
can i connect with other clients over internet with different IPv4 ??
@priyanshusharma6250
@priyanshusharma6250 4 жыл бұрын
Would love to see more black hat stuff.
@nitro8470
@nitro8470 2 жыл бұрын
i get a error with dos (TypeError: an integer is required (got type str))
@archangelgabriel5316
@archangelgabriel5316 2 жыл бұрын
How does python know where password.txt is stored? Where is the path?
@VelikiFeniks
@VelikiFeniks 2 жыл бұрын
is that ddos attack illegal version of attack or just sending some data to target?
@Genesis-uv8ej
@Genesis-uv8ej 2 жыл бұрын
How can we add file transfer ability to chat room
@shreyasnaik6997
@shreyasnaik6997 Жыл бұрын
thread = threading.thread(target=attack) AttributeError: module 'threading' has no attribute 'thread'll
@avral4148
@avral4148 4 жыл бұрын
struggling for hours to log in to my gmail account and ended up with this Alert! Someone just used your password to try to sign in to your account from a non-Google app. Google blocked them...
@flyingjuji
@flyingjuji 3 жыл бұрын
I had similar and had to set gmail to allow access for less secure apps. It then worked. I then reset the block on less secure apps for security reasons. Hotmail allowed access without changing any settings.
@jasser1918
@jasser1918 3 жыл бұрын
You have to use server = smtplib.SMTP_SSL('smtp.gmail.com', 465) is important to use "465" then log into your gmail account and you have to allow less secure apps to open your gmail on this link myaccount,google,com/lesssecureapps replace the "," for "."
@fiercediva135
@fiercediva135 2 жыл бұрын
@@jasser1918 Why is it important to use 465?
@davidstone1826
@davidstone1826 2 жыл бұрын
@@fiercediva135 i think it’s the smtp relay port number
@dimitriskuznetsov1816
@dimitriskuznetsov1816 3 жыл бұрын
guys how can i ddos my microsoft teams meeting? pls someone teach me how to do it
@zahidmaqbool7596
@zahidmaqbool7596 3 жыл бұрын
haha i get it why u want it
@aligamiles
@aligamiles 3 жыл бұрын
That's a good idea
@8DMafia
@8DMafia 3 жыл бұрын
You can't , their servers are powerful
@mackelly4955
@mackelly4955 2 жыл бұрын
any video links on how to encrypt the txt file for the password?
@trinity1943
@trinity1943 2 жыл бұрын
That mailing script gave a "SMTP Auth Extension not supported" Error. Pretty useless script if you have never worked with servers and can't find the problem by yourself.
@omniascio1860
@omniascio1860 Жыл бұрын
so does anyone know how to encrypt a password in a txt file for the mailing client portion of the video?
@thengakola6217
@thengakola6217 4 жыл бұрын
The mail client eont work in gmail
@morsi6728
@morsi6728 2 жыл бұрын
Thread is not defined, what should I do?
@belyoungdanladi
@belyoungdanladi Жыл бұрын
Great
@wtfdoiputhere
@wtfdoiputhere 4 жыл бұрын
why does it always suck up my internet when i ddos with udp packets with maximum packet size (65507)
@safwanakhtar2528
@safwanakhtar2528 4 жыл бұрын
probably because your using the maximum packet size and your touter just can't take it
@wtfdoiputhere
@wtfdoiputhere 4 жыл бұрын
@@safwanakhtar2528 well yh i am but u mean its not bcz my laptop specs?
@safwanakhtar2528
@safwanakhtar2528 4 жыл бұрын
@@wtfdoiputhere no I think DDOS is depends how good the security is, and if that's the case then you will need more computers to attack, think about it DDOS is giving so much traffic to a system that it stops working so if you have a system that takes a lot of traffic then more computers are needed
@wtfdoiputhere
@wtfdoiputhere 4 жыл бұрын
@@safwanakhtar2528 is just a home router with like 6 or 7 devices but damn it rly worked and took down few servers i found b4 my laptop just froze
@safwanakhtar2528
@safwanakhtar2528 4 жыл бұрын
@@wtfdoiputhere well if 6 or 7 devices are on the router then that's with connection, so I guess your computer tried to delegate that weakness but its unlikely, whats the specs of the laptop if you don't mind?
@skel9514
@skel9514 3 жыл бұрын
fbi this is for my summer project don't kill me please :)
@sec0ndlife499
@sec0ndlife499 3 жыл бұрын
What is the keyboard you are using ?
@mohdrizwan3676
@mohdrizwan3676 4 жыл бұрын
Sir make one spacial video on python script which increas the instagram followers without using browser
@gregoryfenn1462
@gregoryfenn1462 3 жыл бұрын
That’s illegal and evil.
@virajitpawar6923
@virajitpawar6923 4 жыл бұрын
Which software to use and how to download
How I Would Learn Python FAST in 2024 (if I could start over)
12:19
Thu Vu data analytics
Рет қаралды 205 М.
How Google's Chromium Took Over the Browser World
9:59
Eric Murphy
Рет қаралды 278 М.
Пройди игру и получи 5 чупа-чупсов (2024)
00:49
Екатерина Ковалева
Рет қаралды 1,2 МЛН
SPILLED CHOCKY MILK PRANK ON BROTHER 😂 #shorts
00:12
Savage Vlogs
Рет қаралды 44 МЛН
女孩妒忌小丑女? #小丑#shorts
00:34
好人小丑
Рет қаралды 14 МЛН
Nmap Tutorial to find Network Vulnerabilities
17:09
NetworkChuck
Рет қаралды 2,7 МЛН
What is a Server? (Deepdive)
17:51
LiveOverflow
Рет қаралды 173 М.
Python Sockets Simply Explained
39:33
NeuralNine
Рет қаралды 159 М.
learn network programming in c, but without all those pesky sockets
8:52
Low Level Learning
Рет қаралды 98 М.
Run your own AI (but private)
22:13
NetworkChuck
Рет қаралды 1,3 МЛН
Networking in C++
32:50
The Cherno
Рет қаралды 241 М.
Coding a Web Server in 25 Lines - Computerphile
17:49
Computerphile
Рет қаралды 332 М.
Top Hacking Books for 2023
27:16
David Bombal
Рет қаралды 365 М.
Python Socket Programming Tutorial
49:43
Tech With Tim
Рет қаралды 1 МЛН
Пройди игру и получи 5 чупа-чупсов (2024)
00:49
Екатерина Ковалева
Рет қаралды 1,2 МЛН