Skip to main content

No project description provided

Project description

Help Tool

Install

pip install Help-Tool-ThanhNv==1.1.3

Before Run

  • Creat file input as check_port_list.txt : example
    • Format each line : {host},{ports}
      • {host}: host name or ip ex: 10.1.30.41
      • {ports}: could be
        • a list port seperated by space (" ") ex : 82 83
        • or a range({start_number}-{end_number}) ex : 100-200
      • example :
        • 10.1.44.16,8020
        • 10.1.44.16,8020 585 3452
        • 10.1.44.16,8000-8500

check_port_list.txt file example

10.1.30.41,88
10.1.44.16,8020 585
10.1.30.41,50000-56000

Run

help_tool check_ports -i check_port_list.txt -o check_port_result.json -n 100

After Run

File result in check_socket_result.json

{
    "open": {
        "10.1.30.41": [
            "88",
            "8050",
            "8080-8081"
 
        ],
        "10.1.44.16": [
            "8020"
        ],
        "10.1.44.17": [
            "8020"
        ]
    },
    "close": {
        "10.1.30.41": [
            "50001-51999",
            "52001-56000"
        ]
    }
}

Note:

  • key "open" contain host and ports have already opened
  • key "close" contain host and ports have still closed

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

Help-Tool-ThanhNv-1.1.4.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

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

Help_Tool_ThanhNv-1.1.4-py3-none-any.whl (49.6 kB view details)

Uploaded Python 3

File details

Details for the file Help-Tool-ThanhNv-1.1.4.tar.gz.

File metadata

  • Download URL: Help-Tool-ThanhNv-1.1.4.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for Help-Tool-ThanhNv-1.1.4.tar.gz
Algorithm Hash digest
SHA256 d90f5f7ff3d1c866e1b60f23578b87c8d8d369e20b7fd21432addcdefb94fcb1
MD5 15f7ddacd519c5f3dcb06d322d648caa
BLAKE2b-256 4cc558531694088729e1401384c976a63ab74b037ca0bf5319e2a6b94baa734b

See more details on using hashes here.

File details

Details for the file Help_Tool_ThanhNv-1.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for Help_Tool_ThanhNv-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3dbbf9046980957588179f12f913a4becbe0f10fc3515b794a40765c63af8dd2
MD5 7cac098052520e32d67cd0a0abbf4e17
BLAKE2b-256 4e6a85e087589d59ef0d7836bd5214d1bf567af6b77fa05f5fe2fa55e2bd3c7f

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