mtcping
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
-r, --retry INTEGER
--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.
- Use "-" or "stdin" to read from sys.stdin. For example:
mtcping -i stdin 80.
- Use "-" or "stdin" to read from sys.stdin. For example:
Released
v0.1.4 2020/04/01
- Add retry option.
v0.1.3 2020/04/01
- Fix document.
v0.1.2 2020/04/01
- Fix requirements.txt, remove all version.
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.
Metadata
Release files for mtcping 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mtcping-0.1.4.tar.gz | 3.1 kB | Without provenance | Details for mtcping-0.1.4.tar.gz |
Release files / mtcping-0.1.4.tar.gz
| Download URL | mtcping-0.1.4.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
25c2b1ef2fa37248c71ed5a9c53a7f400feb292a758f47b71813773449cb49f7
|
|
BLAKE2b-256 checksum How to use checksums |
b4dfb685c711557c7e17cc98787d2dc35d1e8fd55e8333255d04e33505519bc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for mtcping 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.