{"id":22396870,"url":"https://github.com/codedead/rscan","last_synced_at":"2025-07-31T12:31:24.297Z","repository":{"id":43414672,"uuid":"423514135","full_name":"CodeDead/rscan","owner":"CodeDead","description":"A free networking utility written in the Rust programming language to scan for open ports.","archived":false,"fork":false,"pushed_at":"2022-03-02T13:42:09.000Z","size":46,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-01T12:47:55.189Z","etag":null,"topics":["clap","cli","cli-app","cli-tool","free","linux","network","network-scanning","networking","nmap","port","rust","rustlang","scanner","tcp","tcpip","unix","windows"],"latest_commit_sha":null,"homepage":"https://codedead.com","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeDead.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-01T15:19:48.000Z","updated_at":"2024-03-13T17:18:01.000Z","dependencies_parsed_at":"2022-09-06T08:51:05.384Z","dependency_job_id":null,"html_url":"https://github.com/CodeDead/rscan","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDead%2Frscan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDead%2Frscan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDead%2Frscan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDead%2Frscan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeDead","download_url":"https://codeload.github.com/CodeDead/rscan/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228242572,"owners_count":17890481,"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":["clap","cli","cli-app","cli-tool","free","linux","network","network-scanning","networking","nmap","port","rust","rustlang","scanner","tcp","tcpip","unix","windows"],"created_at":"2024-12-05T06:09:42.097Z","updated_at":"2024-12-05T06:09:43.380Z","avatar_url":"https://github.com/CodeDead.png","language":"Rust","readme":"# rscan\n\n![GitHub release (latest by date)](https://img.shields.io/github/v/release/CodeDead/rscan)\n![GitHub](https://img.shields.io/badge/language-Rust-green)\n![GitHub](https://img.shields.io/github/license/CodeDead/rscan)\n\nrscan is a free and open-source networking utility written in the Rust programming language to scan for open ports.\n\n## Building\n\nTo build the binary-ready `rscan`, issue the following command:\n```shell\ncargo build\n```\n\nTo build the production-ready and optimized version, run:\n```shell\ncargo build --release\n```\n\n## Running\n\nTo run `rscan` using `cargo`, issue the following command:\n\n```shell\ncargo run\n```\n\nTo run `rscan` from your terminal, issue the following command:\n```shell\n./rscan [FLAGS] [OPTIONS]\n```\n\n### Arguments\n\nYou can specify the following command-line arguments:\n\n| Command       | Short | Value            | Default | Description                                                                                                     |\n|---------------|-------|------------------|---------|-----------------------------------------------------------------------------------------------------------------|\n| `threads`     | `-c`  | Integer value    | `1`     | Specifies the number of threads to use                                                                          |\n| `host`        | `-h`  | String           | `N/A`   | Specifies the host (or IP address) that needs to be scanned                                                     |\n| `startport`   | `-s`  | `0` - `65535`    | `0`     | Specifies the initial port that needs to be scanned                                                             |\n| `endport`     | `-e`  | `0` - `65535`    | `65535` | Specifies the last port that needs to be scanned                                                                |\n| `timeout`     | `-t`  | Integer          | `250`   | Specifies the connection timeout (in milliseconds) before a port is marked as closed                            |\n| `noclosed`    | `-n`  | N/A              | `true`  | Specifies whether closed ports should be outputted or not                                                       |\n| `unsorted`    | `-u`  | N/A              | `false` | Specifies whether the output should be sorted by port number or not                                             |\n| `interactive` | `-i`  | N/A              | `false` | Specifies whether the output should be displayed while scanning or whether to wait until the scan has completed |\n\nIt is important to note that using more threads does not automatically improve performance.\n\nIn terms of performance; when you have specified to use more threads than there are ports to scan, `rscan` will automatically lower the amount of threads it uses to be equal to the total amount of ports\nthat need to be scanned.\n\n### Example usage\n\nTo read the help documentation, you can run:\n```shell\n./rscan --help\n```\n\nIf you want to scan only a single port, you could use something like:\n```shell\n./rscan -h 127.0.0.1 -s 80 -e 80\n```\n\nIf no start port is provided, `rscan` will simply start from the smallest port number and will scan until the end port is reached:\n```shell\n./rscan -h 127.0.0.1 -e 80\n```\n\nLikewise, if no end port is provided, `rscan` will scan from the start port until the largest port number (`65535`):\n```shell\n./rscan -h 127.0.0.1 -s 65530\n```\n\nTo make use of multi-threading, you can specify the number of threads `rscan` should use by modifying the `threads` argument:\n```shell\n./rscan -h 127.0.0.1 -c 5\n```\n\n## Dependencies\n\nA couple of dependencies are required in order to build `rscan`:\n\n* [clap](https://crates.io/crates/clap)\n\n## About\n\nThis library is maintained by CodeDead. You can find more about us using the following links:\n\n* [Website](https://codedead.com)\n* [Twitter](https://twitter.com/C0DEDEAD)\n* [Facebook](https://facebook.com/deadlinecodedead)\n* [Reddit](https://reddit.com/r/CodeDead/)\n\nCopyright © 2021 CodeDead\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodedead%2Frscan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodedead%2Frscan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodedead%2Frscan/lists"}