No video

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

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

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
@kitgary
@kitgary 4 жыл бұрын
Awesome course! Look forward to see more in depth courses!
@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
@sidalexis
@sidalexis Жыл бұрын
Thanks! Got more clarity
@hadiasghari2266
@hadiasghari2266 4 жыл бұрын
enjoyed every second of it. thanks
@neymarjr-sc3oi
@neymarjr-sc3oi 4 жыл бұрын
i really wanted the video,,thanks freecodecamp
@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
@samueldasmianus6151
@samueldasmianus6151 4 жыл бұрын
Ultimately,this what i'm waiting. Thank You 🙏
@8DMafia
@8DMafia 3 жыл бұрын
This is exactly what I needed 👍
@Ano_F_
@Ano_F_ 4 жыл бұрын
i was looking for this from past 2 days ❤️❤️
@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
@sairaamin4211
@sairaamin4211 6 ай бұрын
I was looking for this thankyou for this course😊❤
@rockababy
@rockababy 4 жыл бұрын
going to work on this tomorrow.
@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: ")
@swalehcosmas6396
@swalehcosmas6396 4 жыл бұрын
Great stuff keep it up freecodecamp
@TopNotch770
@TopNotch770 Жыл бұрын
Great video! Thank you very much!
@SamGharacheh
@SamGharacheh 4 жыл бұрын
Very nice and helpful 👌 I like his explanation, he is very good in teaching. Well done 👍.
@nedjmeddine1630
@nedjmeddine1630 5 ай бұрын
Perfect thanks!
@rachmadsyaefullah5304
@rachmadsyaefullah5304 4 жыл бұрын
IT IS OKAY TO PUT SOME ADS IN THIS AWESOME CHANNEL!!!
@SwashbuckleGames
@SwashbuckleGames Жыл бұрын
This is really great stuff, thank you
@mehmety5012
@mehmety5012 2 жыл бұрын
Thanks for sharing your knowledge! 👍
@rachinter
@rachinter Жыл бұрын
Thank u thank u very much for this❤️ appreciate ur hard work 👍
@brunofelix5434
@brunofelix5434 4 жыл бұрын
Thanks freecodecamp
@slonbeskonechen8310
@slonbeskonechen8310 2 жыл бұрын
Very interesting, thank you!
@verdipratama
@verdipratama 4 жыл бұрын
NICEEEEEE 😎🙏
@wh0d1s-l
@wh0d1s-l 4 жыл бұрын
THANK YOU!!!!!
@user-ns8ur8yh8r
@user-ns8ur8yh8r 4 жыл бұрын
clear explain ..excellent and thanks thanks thanks
@niharchandaliya1555
@niharchandaliya1555 4 жыл бұрын
This is pretty cool
@pmAdministrator
@pmAdministrator 10 ай бұрын
Dude is reading his code from somewhere, LOL
@Amam-xu3xr
@Amam-xu3xr 4 жыл бұрын
love python
@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
@aammssaamm
@aammssaamm 4 жыл бұрын
nice, right on time
@lalbudha3025
@lalbudha3025 4 жыл бұрын
Amazing!
@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.
@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
@alfredoneves3976
@alfredoneves3976 Жыл бұрын
excelent video
@aaronroberts7119
@aaronroberts7119 2 жыл бұрын
This guy is definitely not a hacker.
@urossimsic6745
@urossimsic6745 3 жыл бұрын
Thx bro
@user-ns8ur8yh8r
@user-ns8ur8yh8r 4 жыл бұрын
thanks alot of ...........
@krazyteetp5803
@krazyteetp5803 3 жыл бұрын
I wonder what i'm going to do after this Course
@ramonpaolomaran2253
@ramonpaolomaran2253 4 жыл бұрын
Uowww, Very Nice 🇧🇷 :)
@Ali_AlNaib
@Ali_AlNaib 4 жыл бұрын
How do you get onto a server? I have never done this before and apparently I did something wrong.
@aliphlox42
@aliphlox42 3 жыл бұрын
amazing
@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 😂😂😂😂😂😊
@ashutoshpanda4336
@ashutoshpanda4336 4 жыл бұрын
Awesome
@mrishosalum6757
@mrishosalum6757 3 жыл бұрын
awesome
@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.
@belyoungdanladi
@belyoungdanladi Жыл бұрын
Great
@kristaqvin
@kristaqvin 4 жыл бұрын
Can you make a tutorial about PyQt5?
@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
@edikanessiet8907
@edikanessiet8907 Күн бұрын
Nice course but your screen was too tiny to view.
@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.
@priyanshusharma6250
@priyanshusharma6250 4 жыл бұрын
Would love to see more black hat stuff.
@sindicindy325
@sindicindy325 2 жыл бұрын
Hello. Great video!! Where do you come from? Just curious since your name seems to be Albanian. xp
@ahmedbadal3795
@ahmedbadal3795 4 жыл бұрын
YO thanksb
@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
@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??
@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?
@andrewa7952
@andrewa7952 4 жыл бұрын
gmail needs tls / ssl enabled to work
@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
@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
@joaquimmenezes7396
@joaquimmenezes7396 Жыл бұрын
Army of 50000 grandma’s 😂
@swatff4598
@swatff4598 4 ай бұрын
With cute cats 😻 pics
@maratimus
@maratimus 4 жыл бұрын
Dude you made me become a spammer and a ddosser.
@GadgetPulseShorts
@GadgetPulseShorts 4 жыл бұрын
its a dos attack... not a ddos attack. and wow... pretty weird flex
@fonta1009
@fonta1009 2 ай бұрын
paypol ? 17:20
@nabeelnavab1282
@nabeelnavab1282 Жыл бұрын
2F authentications block these mails? could not send mail to my gmail account ;(
@striderstache99
@striderstache99 9 ай бұрын
The infinite loop is probably the bottleneck. Yeah, not the best script but just what I needed to start out.
@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.
@michellelee1423
@michellelee1423 2 жыл бұрын
Neural Nine: mentions infinite times not to ddos attack other networks other than your own ???: hm I guess we shouldn't attack other domains
@skel9514
@skel9514 3 жыл бұрын
fbi this is for my summer project don't kill me please :)
@kasedsoftsilicon3268
@kasedsoftsilicon3268 4 жыл бұрын
Wow! verygood I'm web programmer in thailand I like this clip
@sagivalia5041
@sagivalia5041 2 жыл бұрын
In the Port Scanner part, shouldn't the 'port = queue.get()' need to be atomic?
@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?
@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"
@thengakola6217
@thengakola6217 4 жыл бұрын
The mail client eont work in gmail
@gonzaloescudero8170
@gonzaloescudero8170 3 жыл бұрын
The port scanner works for the fcc curriculum project of the same name?
@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
@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
@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.
@dolevdo
@dolevdo 3 жыл бұрын
on the tcp chat why we dont fix that the sender gets his own message ? how can i fix that ?
@sec0ndlife499
@sec0ndlife499 3 жыл бұрын
What is the keyboard you are using ?
@ankurstudies8513
@ankurstudies8513 2 жыл бұрын
can i connect with other clients over internet with different IPv4 ??
@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.
@ItzRaiyan
@ItzRaiyan 3 жыл бұрын
Is this course on Python 3 or 2?
@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.
@VelikiFeniks
@VelikiFeniks 2 жыл бұрын
is that ddos attack illegal version of attack or just sending some data to target?
@virajitpawar6923
@virajitpawar6923 4 жыл бұрын
Which software to use and how to download
@RyzekZ0008
@RyzekZ0008 3 жыл бұрын
1:08:35
@Genesis-uv8ej
@Genesis-uv8ej 2 жыл бұрын
How can we add file transfer ability to chat room
@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
@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
@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?
@morsi6728
@morsi6728 2 жыл бұрын
Thread is not defined, what should I do?
@BestFoodReviewFeatured
@BestFoodReviewFeatured 4 жыл бұрын
What is this programming software?
@GadgetPulseShorts
@GadgetPulseShorts 4 жыл бұрын
pretty sure its pycharm
@mackelly4955
@mackelly4955 2 жыл бұрын
any video links on how to encrypt the txt file for the password?
@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
Linux for Ethical Hackers (Kali Linux Tutorial)
2:01:00
freeCodeCamp.org
Рет қаралды 6 МЛН
Python Socket Programming Tutorial for Beginners
1:58:28
zuni
Рет қаралды 18 М.
ROLLING DOWN
00:20
Natan por Aí
Рет қаралды 8 МЛН
SCHOOLBOY. Последняя часть🤓
00:15
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 11 МЛН
Fast and Furious: New Zealand 🚗
00:29
How Ridiculous
Рет қаралды 48 МЛН
APIs for Beginners - How to use an API (Full Course / Tutorial)
2:19:33
freeCodeCamp.org
Рет қаралды 4,3 МЛН
Networking in C++
32:50
The Cherno
Рет қаралды 241 М.
Python nmap port scanner
14:27
David Bombal
Рет қаралды 92 М.
Python Sockets Simply Explained
39:33
NeuralNine
Рет қаралды 159 М.
CMD - Command Prompt Training for IT Professionals (Full Course)
3:18:32
Jobskillshare Skills-Based Platform
Рет қаралды 1,3 МЛН
Python Socket Programming Tutorial
49:43
Tech With Tim
Рет қаралды 1 МЛН
Computer Networking Full Course - OSI Model Deep Dive with Real Life Examples
4:06:56
Linux Operating System - Crash Course for Beginners
2:47:56
freeCodeCamp.org
Рет қаралды 2,2 МЛН
How the Best Hackers Learn Their Craft
42:46
RSA Conference
Рет қаралды 2,5 МЛН