
Network Programming with Python Course (build a port scanner, mailing client, chat room, DDOS)
video description
Date: 2022-03-14
Related videos
Comments and reviews: 10
Rafy-Ivan
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
reply
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
reply
Ninja
For anyone having issues who are trying to use a GMAIL(or another mail provider), I needed to change one line to -server = smtplib.SMTP_SSL('smtp.gmail.com',465)- since most mail NEEDS to be encrypted and if u use google, turn on -less secure apps in Google account security, otherwise itll block the attempt and yell at u
reply
For anyone having issues who are trying to use a GMAIL(or another mail provider), I needed to change one line to -server = smtplib.SMTP_SSL('smtp.gmail.com',465)- since most mail NEEDS to be encrypted and if u use google, turn on -less secure apps in Google account security, otherwise itll block the attempt and yell at u
reply
Mazhar
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
reply
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
reply
Stevenn
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?
reply
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?
reply
Fellakneezz
(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
reply
(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
reply
RiX
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.
reply
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.
reply
Guess
hmmm, I get the following error: ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
can someone help me...???
reply
hmmm, I get the following error: ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
can someone help me...???
reply
Ignace
Very usefull video! TIP: If you click the checkbox -allow parrallel run- in pycharm by your running commands, you can run multiple script at once ;)
reply
Very usefull video! TIP: If you click the checkbox -allow parrallel run- in pycharm by your running commands, you can run multiple script at once ;)
reply
DexxGaming_
If you want to DoS attack different IPs when running the program, then use this:
ip = input(-IP / Hostname: -)-
port = input(-Port: -)
reply
If you want to DoS attack different IPs when running the program, then use this:
ip = input(-IP / Hostname: -)-
port = input(-Port: -)
reply
Michelle
Neural Nine: mentions infinite times not to ddos attack other networks other than your own
???: hm I guess we shouldn't attack other domains
reply
Neural Nine: mentions infinite times not to ddos attack other networks other than your own
???: hm I guess we shouldn't attack other domains
reply
Add a review, comment















