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

  Рет қаралды 356,620

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 KZbin 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.freecodecamp.org
Read hundreds of articles on programming: freecodecamp.org/news

Пікірлер: 223
@damiancampbell1743
@damiancampbell1743 3 жыл бұрын
"Wow, we didn't get an exception; I'm surprised to be honest." *I felt that.*
@Adrian-ey1bv
@Adrian-ey1bv 3 жыл бұрын
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 9 ай бұрын
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.
@kitgary
@kitgary 3 жыл бұрын
Awesome course! Look forward to see more in depth courses!
@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 KZbin put a "sneak peak" video on KZbin 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!
@hadiasghari2266
@hadiasghari2266 3 жыл бұрын
enjoyed every second of it. thanks
@Ano_F_
@Ano_F_ 3 жыл бұрын
i was looking for this from past 2 days ❤️❤️
@samueldasmianus6151
@samueldasmianus6151 3 жыл бұрын
Ultimately,this what i'm waiting. Thank You 🙏
@neymarjr-sc3oi
@neymarjr-sc3oi 3 жыл бұрын
i really wanted the video,,thanks freecodecamp
@tanercoder1915
@tanercoder1915 3 жыл бұрын
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 3 жыл бұрын
Dos*
@schizophil1
@schizophil1 2 жыл бұрын
It’s not distributed so it’s just DoS
@8DMafia
@8DMafia 3 жыл бұрын
This is exactly what I needed 👍
@rockababy
@rockababy 3 жыл бұрын
going to work on this tomorrow.
@sidalexis
@sidalexis 11 ай бұрын
Thanks! Got more clarity
@mehmety5012
@mehmety5012 2 жыл бұрын
Thanks for sharing your knowledge! 👍
@SamGharacheh
@SamGharacheh 3 жыл бұрын
Very nice and helpful 👌 I like his explanation, he is very good in teaching. Well done 👍.
@swalehcosmas6396
@swalehcosmas6396 3 жыл бұрын
Great stuff keep it up freecodecamp
@sairaamin4211
@sairaamin4211 5 ай бұрын
I was looking for this thankyou for this course😊❤
@SwashbuckleGames
@SwashbuckleGames Жыл бұрын
This is really great stuff, thank you
@bilalrehman158
@bilalrehman158 3 жыл бұрын
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
@raymondmichael4987
@raymondmichael4987 3 жыл бұрын
Thanks, I will binge watch this tomorrow, weekend vibe 😎
@TalsonHacks
@TalsonHacks 3 жыл бұрын
Yeah boi, cheers!
@ferget9111
@ferget9111 3 жыл бұрын
I was thinking the samething lol
@TopNotch770
@TopNotch770 Жыл бұрын
Great video! Thank you very much!
@slonbeskonechen8310
@slonbeskonechen8310 2 жыл бұрын
Very interesting, thank you!
@rachinter
@rachinter Жыл бұрын
Thank u thank u very much for this❤️ appreciate ur hard work 👍
@user-ns8ur8yh8r
@user-ns8ur8yh8r 3 жыл бұрын
clear explain ..excellent and thanks thanks thanks
@brunofelix5434
@brunofelix5434 3 жыл бұрын
Thanks freecodecamp
@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: ")
@aammssaamm
@aammssaamm 3 жыл бұрын
nice, right on time
@niharchandaliya1555
@niharchandaliya1555 3 жыл бұрын
This is pretty cool
@nedjmeddine1630
@nedjmeddine1630 3 ай бұрын
Perfect thanks!
@rachmadsyaefullah5304
@rachmadsyaefullah5304 3 жыл бұрын
IT IS OKAY TO PUT SOME ADS IN THIS AWESOME CHANNEL!!!
@lalbudha3025
@lalbudha3025 3 жыл бұрын
Amazing!
@krazyteetp5803
@krazyteetp5803 3 жыл бұрын
I wonder what i'm going to do after this Course
@Ali_AlNaib
@Ali_AlNaib 3 жыл бұрын
How do you get onto a server? I have never done this before and apparently I did something wrong.
@Amam-xu3xr
@Amam-xu3xr 3 жыл бұрын
love python
@mutalemulenga8708
@mutalemulenga8708 3 жыл бұрын
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.
@sagivalia5041
@sagivalia5041 Жыл бұрын
In the Port Scanner part, shouldn't the 'port = queue.get()' need to be atomic?
@ramonpaolomaran2253
@ramonpaolomaran2253 3 жыл бұрын
Uowww, Very Nice 🇧🇷 :)
@alfredoneves3976
@alfredoneves3976 Жыл бұрын
excelent video
@rehanhoda7960
@rehanhoda7960 3 жыл бұрын
What are the prerequisites for this topic? Should have knowledge of python? Or this is for some one who is beginner too?
@rizwana6683
@rizwana6683 3 жыл бұрын
Smtp is easy enough for a beginner
@vijayanand7270
@vijayanand7270 3 жыл бұрын
If you know Python basics, you can start
@aaronroberts7119
@aaronroberts7119 2 жыл бұрын
This guy is definitely not a hacker.
@wh0d1s-l
@wh0d1s-l 3 жыл бұрын
THANK YOU!!!!!
@kristaqvin
@kristaqvin 3 жыл бұрын
Can you make a tutorial about PyQt5?
@gonzaloescudero8170
@gonzaloescudero8170 2 жыл бұрын
The port scanner works for the fcc curriculum project of the same name?
@verdipratama
@verdipratama 3 жыл бұрын
NICEEEEEE 😎🙏
@urossimsic6745
@urossimsic6745 3 жыл бұрын
Thx bro
@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 2 жыл бұрын
he must have studied first
@user-ns8ur8yh8r
@user-ns8ur8yh8r 3 жыл бұрын
thanks alot of ...........
@osam4323
@osam4323 3 жыл бұрын
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.
@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?
@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
@sec0ndlife499
@sec0ndlife499 2 жыл бұрын
What is the keyboard you are using ?
@aliphlox42
@aliphlox42 3 жыл бұрын
amazing
@thierrygranier1989
@thierrygranier1989 3 жыл бұрын
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
@ashutoshpanda4336
@ashutoshpanda4336 3 жыл бұрын
Awesome
@kasedsoftsilicon3268
@kasedsoftsilicon3268 3 жыл бұрын
Wow! verygood I'm web programmer in thailand I like this clip
@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?
@VelikiFeniks
@VelikiFeniks 2 жыл бұрын
is that ddos attack illegal version of attack or just sending some data to target?
@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
@ankurstudies8513
@ankurstudies8513 2 жыл бұрын
can i connect with other clients over internet with different IPv4 ??
@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??
@virajitpawar6923
@virajitpawar6923 3 жыл бұрын
Which software to use and how to download
@mrishosalum6757
@mrishosalum6757 3 жыл бұрын
awesome
@dolevdo
@dolevdo 3 жыл бұрын
on the tcp chat why we dont fix that the sender gets his own message ? how can i fix that ?
@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"
@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
@ItzRaiyan
@ItzRaiyan 3 жыл бұрын
Is this course on Python 3 or 2?
@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
@andrewa7952
@andrewa7952 3 жыл бұрын
gmail needs tls / ssl enabled to work
@sindicindy325
@sindicindy325 2 жыл бұрын
Hello. Great video!! Where do you come from? Just curious since your name seems to be Albanian. xp
@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
@Genesis-uv8ej
@Genesis-uv8ej 2 жыл бұрын
How can we add file transfer ability to chat room
@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.
@m.talharajputm.talharajput6732
@m.talharajputm.talharajput6732 3 жыл бұрын
Before watching this tutorial what skills should we have know? Kindly help me
@pedrobarros9444
@pedrobarros9444 3 жыл бұрын
only python basic skills, he actually explains well though skipping some important ideas you will get the hang of it
@glitchedpixelscriticaldamage
@glitchedpixelscriticaldamage 3 жыл бұрын
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 3 жыл бұрын
@@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 3 жыл бұрын
@@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 2 ай бұрын
And networking knowledge left the chat 😂😂😂😂😂😊
@mackelly4955
@mackelly4955 2 жыл бұрын
any video links on how to encrypt the txt file for the password?
@priyanshusharma6250
@priyanshusharma6250 3 жыл бұрын
Would love to see more black hat stuff.
@belyoungdanladi
@belyoungdanladi 10 ай бұрын
Great
@nitro8470
@nitro8470 2 жыл бұрын
i get a error with dos (TypeError: an integer is required (got type str))
@omniascio1860
@omniascio1860 Жыл бұрын
so does anyone know how to encrypt a password in a txt file for the mailing client portion of the video?
@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
@archangelgabriel5316
@archangelgabriel5316 2 жыл бұрын
How does python know where password.txt is stored? Where is the path?
@ahmedbadal3795
@ahmedbadal3795 3 жыл бұрын
YO thanksb
@morsi6728
@morsi6728 2 жыл бұрын
Thread is not defined, what should I do?
@aryankapoor8827
@aryankapoor8827 3 жыл бұрын
idk but none of the modules is working in my python 3.8.5 on vscode
@cosmicpegasis7591
@cosmicpegasis7591 3 жыл бұрын
You need to download the modules first In the command line: pip install smtplib
@mohdrizwan3676
@mohdrizwan3676 3 жыл бұрын
Sir make one spacial video on python script which increas the instagram followers without using browser
@gregoryfenn1462
@gregoryfenn1462 3 жыл бұрын
That’s illegal and evil.
@tusharbajaj0532
@tusharbajaj0532 3 жыл бұрын
ddos script throwing errors line 932, in _bootstrap_inner Exception
@thengakola6217
@thengakola6217 3 жыл бұрын
The mail client eont work in gmail
@nabeelnavab1282
@nabeelnavab1282 Жыл бұрын
2F authentications block these mails? could not send mail to my gmail account ;(
@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 6 ай бұрын
you dont understand because you support terrorism, which makes it more difficult
@icns01
@icns01 4 ай бұрын
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.
@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
@sabyasachikar2026
@sabyasachikar2026 3 жыл бұрын
Another issue is am getting an error : message.attach(MIMEText(message, 'plain')) AttributeError: 'str' object has no attribute 'attach'
@sabyasachikar2026
@sabyasachikar2026 3 жыл бұрын
This got resolved
@agasthyakasturi6236
@agasthyakasturi6236 3 жыл бұрын
@@sabyasachikar2026 how?
@sabyasachikar2026
@sabyasachikar2026 3 жыл бұрын
Sorry this was not still message.attach(MIMEText(message, 'plain')) AttributeError: 'str' object has no attribute 'attach'
@sabyasachikar2026
@sabyasachikar2026 3 жыл бұрын
@@agasthyakasturi6236 No not yet
@salemabualem
@salemabualem 3 жыл бұрын
Can I use Python Editor instead of MS Code?
@saadkhan-ku8bl
@saadkhan-ku8bl 3 жыл бұрын
obviously you can, and it's VS Code*
@salemabualem
@salemabualem 3 жыл бұрын
@@saadkhan-ku8bl Thanks Saad !!!
@salmanahmad11149
@salmanahmad11149 2 ай бұрын
Can someone please check his mail client code. Its not working for me. Maybe its need to update.
@yoshic420
@yoshic420 2 жыл бұрын
What Version of python should I use.
@pol165
@pol165 2 жыл бұрын
python 3
@striderstache99
@striderstache99 8 ай бұрын
The infinite loop is probably the bottleneck. Yeah, not the best script but just what I needed to start out.
@awesome9532
@awesome9532 2 жыл бұрын
Can I DDOS my IP Address?
@dinomra7771
@dinomra7771 3 жыл бұрын
Can you ddos a pc on your network?
@GadgetPulseShorts
@GadgetPulseShorts 3 жыл бұрын
yea... but why? like you would just hit yourself. also its not a ddos. its a DoS. skid.
@BestFoodReviewFeatured
@BestFoodReviewFeatured 3 жыл бұрын
What is this programming software?
@GadgetPulseShorts
@GadgetPulseShorts 3 жыл бұрын
pretty sure its pycharm
@guesswho3388
@guesswho3388 2 жыл бұрын
hmmm, I get the following error: ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host can someone help me...???
@guesswho3388
@guesswho3388 2 жыл бұрын
sorry I fixed it XD
@karthikshinde6739
@karthikshinde6739 3 жыл бұрын
This guy has a n osum install page ..follow him for good machine learning content
@ghifarfaisal2872
@ghifarfaisal2872 3 жыл бұрын
Sorry, I want to ask what to make a python program?
@ripples2491
@ripples2491 3 жыл бұрын
tf
Python Sockets Simply Explained
39:33
NeuralNine
Рет қаралды 156 М.
Python Socket Programming Tutorial
49:43
Tech With Tim
Рет қаралды 1 МЛН
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 3,9 МЛН
когда повзрослела // EVA mash
00:40
EVA mash
Рет қаралды 4,1 МЛН
你们会选择哪一辆呢#short #angel #clown
00:20
Super Beauty team
Рет қаралды 19 МЛН
Who has won ?? 😀 #shortvideo #lizzyisaeva
00:24
Lizzy Isaeva
Рет қаралды 7 МЛН
A Beginner's Guide to WebSockets
29:26
freeCodeCamp.org
Рет қаралды 316 М.
I Made 200 Python Projects...Here Are My 5 FAVORITES
11:23
Tech With Tim
Рет қаралды 141 М.
NMAP Tutorial for Beginners! Network Attacks
15:51
Loi Liang Yang
Рет қаралды 87 М.
Automate your job with Python
6:07
John Watson Rooney
Рет қаралды 376 М.
learn network programming in c, but without all those pesky sockets
8:52
Low Level Learning
Рет қаралды 95 М.
5 Useful Dunder Methods In Python
16:10
Indently
Рет қаралды 54 М.
Python 101 for Network Engineers
1:22:09
Calvin Remsburg
Рет қаралды 47 М.
Start Automating Your Life Using Python! (File Management with Python Tutorial)
13:07
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 3,9 МЛН