No project description provided
Project description
Help Tool
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
- Format each line : {host},{ports}
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for health-check-helper-thanhnv-1.1.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1796022a6351f4b382c1d5ab02ed2e72a1e0ee50511c24183bda44ed2cd5b7ed |
|
MD5 | b9ce1b4e21ba80ada8eaab2e73a14a61 |
|
BLAKE2b-256 | 882bd5bf45611b10dc9aebd74d11e5013cef3e597eb6d9497a468844b7ab0531 |
Close
Hashes for health_check_helper_thanhnv-1.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0302051814ae4e403e5980cebf089ee9a544ce95b652cf257b9d3fa0cfd7db37 |
|
MD5 | 785f3f6d49aa6deb2084435f5be43150 |
|
BLAKE2b-256 | 48f45f77a69ee725ab8338f1615a5e833c4e01f7f01fc43f8566b75eeab29d8f |