{"id":26469770,"url":"https://github.com/ocdbytes/portsnifferrust","last_synced_at":"2025-03-19T17:09:20.451Z","repository":{"id":192168637,"uuid":"667148810","full_name":"ocdbytes/PortSnifferRust","owner":"ocdbytes","description":"Simple tool build in rust using standard libs to capture open ports in a device using the (network) IP address of that device.","archived":false,"fork":false,"pushed_at":"2023-07-16T19:53:49.000Z","size":152,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-14T10:46:10.447Z","etag":null,"topics":["networking","rust","standard-library"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ocdbytes.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-07-16T19:53:01.000Z","updated_at":"2023-07-16T19:54:34.000Z","dependencies_parsed_at":"2023-09-03T04:38:23.557Z","dependency_job_id":null,"html_url":"https://github.com/ocdbytes/PortSnifferRust","commit_stats":null,"previous_names":["ocdbytes/portsnifferrust"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocdbytes%2FPortSnifferRust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocdbytes%2FPortSnifferRust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocdbytes%2FPortSnifferRust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocdbytes%2FPortSnifferRust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ocdbytes","download_url":"https://codeload.github.com/ocdbytes/PortSnifferRust/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244470251,"owners_count":20457908,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["networking","rust","standard-library"],"created_at":"2025-03-19T17:09:19.703Z","updated_at":"2025-03-19T17:09:20.427Z","avatar_url":"https://github.com/ocdbytes.png","language":"Rust","readme":"# PORT SNIFFER\n\nSimple tool build in rust using standard libs to capture open ports in a device using the (network) IP address of that device.\n\n## Project\n\n```sh\ncargo build\ncargo run -- -h\n```\n\n![IMG1](docs/1.png)\n\n```sh\ncargo run -t 1000 \u003cIP_ADDR\u003e\n```\n\n![IMG2](docs/2.png)\n\n## Reference Libraries\n\nThread Lib : \u003chttps://doc.rust-lang.org/std/thread/\u003e\n\nSync Lib (Creating thread channels) : \u003chttps://doc.rust-lang.org/std/sync/index.html\u003e\n\nNet Lib : \u003chttps://doc.rust-lang.org/std/net/struct.TcpStream.html\u003e\n\n**Thread Lib :**\n\nLibrary to create a `thread` in the memory.\n\n```rs\nthread::spawn(move || {\n    // Code here\n});\n```\n\n**Sync Lib :**\n\nLibrary to create a thread channel with a transmittor and reciever and share the result with threads.\n\n```rs\n// tx: transmitter\n// rx : reciever\nlet (tx, rx) = channel();\n// dropping the transmittor\ndrop(tx);\n```\n\n**Net Lib :**\n\nLibrary to interact with TCP interface and ports.\n\n```rs\nTcpStream::connect((addr, port)) {}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Focdbytes%2Fportsnifferrust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Focdbytes%2Fportsnifferrust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Focdbytes%2Fportsnifferrust/lists"}