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
- 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
Help-Tool-ThanhNv-1.1.4.tar.gz
(13.4 kB
view hashes)
Built Distribution
Close
Hashes for Help_Tool_ThanhNv-1.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dbbf9046980957588179f12f913a4becbe0f10fc3515b794a40765c63af8dd2 |
|
MD5 | 7cac098052520e32d67cd0a0abbf4e17 |
|
BLAKE2b-256 | 4e6a85e087589d59ef0d7836bd5214d1bf567af6b77fa05f5fe2fa55e2bd3c7f |