How to Make a FAST Port Scanner

preview_player
Показать описание
[Python, PIP, and IDE Install]

[Discord Server]

[Music Credit]
Рекомендации по теме
Комментарии
Автор

On YouTube, you can't find the perfect thing you need, but here you can. Best wishes :)

JesusIsKing-sb
Автор

Wow I’ve learned alot from this video again. Thanks so much i hope the best for you guys!

entience
Автор

I'm a new student trying to learn, so I can become a programmer with python and I have a project on how to make a port scan.

So far I already make a port scan with Python3, and it scans fine, give a date and everything working good so far.

I see on your video tutorial, it is very good.

I would like to ask for your advice if you can and guide me on how I will add this 3
in a Python script, I have:

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 the same file.


Thank you and Merry Christmas.

rafy-ivanmorales
Автор

@Jackaldev it wont open it opens and then closes instantly

pybitlol
Автор

Hey Mann!!!! May God Bless you!!!! I wasnt able to solve the problem (of slow port scanner) but now its fixed... Thank ypu so much! ❤❤❤

one more thing if you could help...
what and where should I write something so that I could get the output of the program into a TEXT file...

udaysrivastava_
Автор

import socket
import threading
import concurrent.futures
import colorama
from colorama import Fore
colorama.init()

print_lock = threading.lock()

ip = input("Enter the IP to scan: ")

def scan(ip, port):
scanner = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
scanner.settimeout(1)
try:
scanner.connect((ip, port))
scanner.close()
with print_lock:
print(Fore.WHITE + f"[{port}]" + Fore.GREEN + "Opened")
except:
pass

with as executor:
for port in range(1000)
executor.sumbit(scan, ip, port + 1)

gatamation
Автор

why does my sublime look like notepad it doesnt have different colors or nun

shadowstone
Автор

on this fast port scanner CAN YOU PLEASE give me another "except" statement besides "pass"? that wont work in my project. need ASAP if possible

lisacotten
Автор

cool dude wish u luck the video was very helpful :)

mmpm
Автор

new to py but does it matter what version of py im on because when i try to open it, it just opens and immediatly shuts I've copied all the code word for word and the file name

harry-mnel
Автор

yo can sm1 help me it says theres a error with line 19 "print(Fore.WHITE + f"[{port}]" + Fore.GREEN + " Opened")"

harry-mnel
Автор

omg im from the omegle video holy shit man your voice has changed so much

lowkey
Автор

how do i make it where it doesn’t close after it finishes

merakibreezyy
Автор

Great job explaining everything, but i do have a question. I'm trying to put my own IP in the program but it's not responding with anything but when i put in googles 1.1.1.1 it'll give every open port. Is there any way i can fix this problem?

bevelsjr
Автор

You coming back Jackal? I've missed your vids.

nicolas
Автор

Hello, how can I start vnc service with python?

qdwqdwqasdad
Автор

line 20
except:
^
IndentationError: unindent does not match any outer indentation level

pls help

miaomiao-ki
Автор

i did everything right all the code but when i type an ip and hit enter it just closes the program nothing happens

zzzzzzzzzz
Автор

can u help me get in a private pastebin post?

TheGuyFromBSTD
Автор

got it to say Type The IP: in cmd i type the IP then it just stopped won't do anything else until i run it again.

DaddyJL