Skip to main content

A simple port scanner to return a list of open ports. Check README for more details. Provides a 'Scanner' class with a 'scan' function that takes a target IP address and returns a list of open ports.

Project description

Simple port scanner

"Scan" function type signature:

def scan(target: str, start=0, stop=1023, threads=500) -> List[int]:

By default you only need to enter a target IP address and it will scan the most frequently used ports/system ports, using 500 threads (be patient 🫣).

Installation:

>pip install port-scanner-fokd==0.1.0

Usage:

scanner = port-scanner-fokd.Scanner()
scanner.scan("127.0.0.1")

>> [22, 80, 443]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

port_scanner_fokd-0.2.0.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

port_scanner_fokd-0.2.0-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file port_scanner_fokd-0.2.0.tar.gz.

File metadata

  • Download URL: port_scanner_fokd-0.2.0.tar.gz
  • Upload date:
  • Size: 1.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for port_scanner_fokd-0.2.0.tar.gz
Algorithm Hash digest
SHA256 26a634359e3d155299533d3ac48ffcf8f745b4c444a1a6694172080201a0fd00
MD5 3610718cee2a68153e6272f2643d92e4
BLAKE2b-256 98dd299aa86fcbef2e8fcaa9a3c59ef257f47b5d7c1beeedbd579e6e00a128fd

See more details on using hashes here.

File details

Details for the file port_scanner_fokd-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for port_scanner_fokd-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 812e628401b7e930e28ec657a16794d1e44c3c28ffd55f3aa7fe67ca92382e18
MD5 7fe119fabec34ec54bbfb21244122b9e
BLAKE2b-256 c2548a60a700a9912f644154ada698b21ebb6b1f92a4196712f82a5cb7fcd040

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page