# Help Tool
## Install
> pip install Help-Tool-ThanhNv==1.1.3
## Before Run
* Creat file input as check_port_list.txt : [example](check_port_list.txt)
* 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
```text
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](_check_port_result.json)
```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
Raw data
{
"_id": null,
"home_page": "https://github.com/thanhnv2303/HelpTool",
"name": "Help-Tool-ThanhNv",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7.2,<4",
"maintainer_email": "",
"keywords": "checkport",
"author": "LinLin",
"author_email": "nguyenthanh2303@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/4c/c5/58531694088729e1401384c976a63ab74b037ca0bf5319e2a6b94baa734b/Help-Tool-ThanhNv-1.1.4.tar.gz",
"platform": null,
"description": "# Help Tool\r\n\r\n## Install \r\n \r\n> pip install Help-Tool-ThanhNv==1.1.3\r\n\r\n## Before Run\r\n\r\n* Creat file input as check_port_list.txt : [example](check_port_list.txt)\r\n * Format each line : {host},{ports}\r\n * {host}: host name or ip ex: 10.1.30.41\r\n * {ports}: could be\r\n * a list port seperated by space (\" \") ex : 82 83 \r\n * or a range({start_number}-{end_number}) ex : 100-200\r\n * example :\r\n * 10.1.44.16,8020\r\n * 10.1.44.16,8020 585 3452\r\n * 10.1.44.16,8000-8500\r\n\r\n**check_port_list.txt** file example\r\n \r\n```text\r\n10.1.30.41,88\r\n10.1.44.16,8020 585\r\n10.1.30.41,50000-56000\r\n```\r\n \r\n## Run\r\n\r\n>help_tool check_ports -i check_port_list.txt -o check_port_result.json -n 100\r\n\r\n## After Run\r\n\r\nFile result in [check_socket_result.json](_check_port_result.json)\r\n\r\n```json\r\n{\r\n \"open\": {\r\n \"10.1.30.41\": [\r\n \"88\",\r\n \"8050\",\r\n \"8080-8081\"\r\n \r\n ],\r\n \"10.1.44.16\": [\r\n \"8020\"\r\n ],\r\n \"10.1.44.17\": [\r\n \"8020\"\r\n ]\r\n },\r\n \"close\": {\r\n \"10.1.30.41\": [\r\n \"50001-51999\",\r\n \"52001-56000\"\r\n ]\r\n }\r\n}\r\n```\r\nNote:\r\n - key \"open\" contain host and ports have already opened\r\n - key \"close\" contain host and ports have still closed \r\n \r\n\r\n",
"bugtrack_url": null,
"license": "",
"summary": "",
"version": "1.1.4",
"project_urls": {
"Bug Tracker": "https://github.com/thanhnv2303/HelpTool",
"Homepage": "https://github.com/thanhnv2303/HelpTool"
},
"split_keywords": [
"checkport"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4e6a85e087589d59ef0d7836bd5214d1bf567af6b77fa05f5fe2fa55e2bd3c7f",
"md5": "7cac098052520e32d67cd0a0abbf4e17",
"sha256": "3dbbf9046980957588179f12f913a4becbe0f10fc3515b794a40765c63af8dd2"
},
"downloads": -1,
"filename": "Help_Tool_ThanhNv-1.1.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7cac098052520e32d67cd0a0abbf4e17",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7.2,<4",
"size": 49626,
"upload_time": "2023-08-28T05:38:11",
"upload_time_iso_8601": "2023-08-28T05:38:11.054631Z",
"url": "https://files.pythonhosted.org/packages/4e/6a/85e087589d59ef0d7836bd5214d1bf567af6b77fa05f5fe2fa55e2bd3c7f/Help_Tool_ThanhNv-1.1.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4cc558531694088729e1401384c976a63ab74b037ca0bf5319e2a6b94baa734b",
"md5": "15f7ddacd519c5f3dcb06d322d648caa",
"sha256": "d90f5f7ff3d1c866e1b60f23578b87c8d8d369e20b7fd21432addcdefb94fcb1"
},
"downloads": -1,
"filename": "Help-Tool-ThanhNv-1.1.4.tar.gz",
"has_sig": false,
"md5_digest": "15f7ddacd519c5f3dcb06d322d648caa",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7.2,<4",
"size": 13351,
"upload_time": "2023-08-28T05:38:12",
"upload_time_iso_8601": "2023-08-28T05:38:12.606614Z",
"url": "https://files.pythonhosted.org/packages/4c/c5/58531694088729e1401384c976a63ab74b037ca0bf5319e2a6b94baa734b/Help-Tool-ThanhNv-1.1.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-28 05:38:12",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "thanhnv2303",
"github_project": "HelpTool",
"github_not_found": true,
"lcname": "help-tool-thanhnv"
}