Skip to main content

Simple port scanning module

Project description

Star Scan

Module form of the 'Port Scan' utility

You can find the original utilities (Python file and CLI version) from here.

To utilize this package, do: pip3 install star_scan

To scan a single client:

import star_scan.scanner as scanner

ip_address = '127.0.0.1'
start_port = 1
end_port = 1000
scanner.scan_host(ip_address, start_port, end_port)

or directly passing values

import star_scan.scanner as scanner

scanner.scan_host('127.0.0.1', 1, 1000)

will produce similair results as:

Image of Results

To scan a network:

import star_scan.scanner as scanner 

#remove the last octet for scan_range()
ip_address = '192.168.1'
start_port = 1
end_port = 1000

#scans ports on all addresses from 192.168.1.1 to 192.168.1.255
scanner.scan_range(ip_address, start_port, end_port)

You can also directly pass values to scan_host()

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

star_scan-1.2.tar.gz (2.6 kB view details)

Uploaded Source

File details

Details for the file star_scan-1.2.tar.gz.

File metadata

  • Download URL: star_scan-1.2.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5

File hashes

Hashes for star_scan-1.2.tar.gz
Algorithm Hash digest
SHA256 ad71d40c5e61438d28c618e5f50d4ec528819a1970abf15cd051295e0b59be04
MD5 921c6d834be593974613625dc6153b8e
BLAKE2b-256 300fcadc91191c6c0ae684d4d6d27b5501cf1fb572c195f22587726473ddd3e9

See more details on using hashes here.

Supported by

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