Skip to main content

Do tcping on many targets.

Project description

tcping

Do tcping on many targets.

Install

pip install mtcping

Installed Command Utils

  • mtcping

Usage

[root@testsvr tmp]# mtcping --help
Usage: mtcping [OPTIONS] [PORT]...

Options:
  -t, --timeout INTEGER
  -i, --hosts-file TEXT  [required]
  -p, --ports-file TEXT
  --help                 Show this message and exit.

Example

C:\Code\mtcping>mtcping -i hosts.txt -p ports.txt
www.google.com   80    is closed
www.google.com   443   is closed
www.baidu.com    443   is open
www.qq.com       80    is open
www.qq.com       443   is open
www.baidu.com    80    is open

C:\Code\mtcping>type hosts.txt
www.baidu.com
www.qq.com
www.google.com

C:\Code\mtcping>type ports.txt
80
443

C:\Code\mtcping>mtcping -i hosts.txt 80 443
www.google.com   80    is closed
www.google.com   443   is closed
www.baidu.com    80    is open
www.baidu.com    443   is open
www.qq.com       443   is open
www.qq.com       80    is open
  • We can load ports list from a file or form command arguments.
  • We can load hosts list from a file or read from stdin.

Released

v0.1.1 2020/04/01

  • Fix requirements.txt, use click<7.0 instead of click~=6.7, so that it can work for python2.6.

v0.1.0 2020/04/01

  • First release.

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

mtcping-0.1.1.tar.gz (2.9 kB view details)

Uploaded Source

File details

Details for the file mtcping-0.1.1.tar.gz.

File metadata

  • Download URL: mtcping-0.1.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

File hashes

Hashes for mtcping-0.1.1.tar.gz
Algorithm Hash digest
SHA256 31f39f4ab85a29324f7f0e14b0b261f277cb02f820d47b6eee6b4cc5d19f7261
MD5 aa2c38dff605f1bef4aa976154105a6a
BLAKE2b-256 d21406c056dba308a85bc9ba1abb4752b7c1e6ad90f34b75150d5f8018613bc4

See more details on using hashes here.

Supported by

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