{"id":17469786,"url":"https://github.com/shellrow/nscan","last_synced_at":"2025-04-13T21:12:13.619Z","repository":{"id":57646101,"uuid":"361160180","full_name":"shellrow/nscan","owner":"shellrow","description":"Network scan tool for host and service discovery. Written in Rust.","archived":false,"fork":false,"pushed_at":"2024-07-21T14:22:11.000Z","size":5400,"stargazers_count":18,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-13T21:11:58.168Z","etag":null,"topics":["cli-app","cross-platform","network","rust","scanner","security"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shellrow.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-24T12:47:50.000Z","updated_at":"2025-03-27T23:21:58.000Z","dependencies_parsed_at":"2023-10-03T21:46:35.718Z","dependency_job_id":"96015fe9-1595-4324-a0ba-77558e70488d","html_url":"https://github.com/shellrow/nscan","commit_stats":{"total_commits":102,"total_committers":1,"mean_commits":102.0,"dds":0.0,"last_synced_commit":"d81cca352d6f0e5abc8be15f2d012170c4d4cd2c"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shellrow%2Fnscan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shellrow%2Fnscan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shellrow%2Fnscan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shellrow%2Fnscan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shellrow","download_url":"https://codeload.github.com/shellrow/nscan/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248782259,"owners_count":21160717,"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":["cli-app","cross-platform","network","rust","scanner","security"],"created_at":"2024-10-18T15:43:47.129Z","updated_at":"2025-04-13T21:12:13.591Z","avatar_url":"https://github.com/shellrow.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[crates-badge]: https://img.shields.io/crates/v/nscan.svg\n[crates-url]: https://crates.io/crates/nscan\n[license-badge]: https://img.shields.io/crates/l/nscan.svg\n\n# nscan [![Crates.io][crates-badge]][crates-url] ![License][license-badge]\nCross-platform network scan tool for host and service discovery.   \nAims to be simple, fast, and efficient in performance.\n\n## Notice\n`nscan` will now be succeeded by [nrev](https://github.com/shellrow/nrev), our network mapping tool. Updates to `nscan` will be limited going forward, as we aim to keep `nscan` focused on scanning-specific tasks. We encourage all users to migrate to `nrev` for the latest features and improvements.\n\n## Features\n- Port scan\n- Host scan\n- Service detection\n- OS family detection\n- Subdomain scan\n\n## Installation\n### Install prebuilt binaries via shell script\n\n```sh\ncurl --proto '=https' --tlsv1.2 -LsSf https://github.com/shellrow/nscan/releases/latest/download/nscan-installer.sh | sh\n```\n\n### Install prebuilt binaries via powershell script\n\n```sh\nirm https://github.com/shellrow/nscan/releases/latest/download/nscan-installer.ps1 | iex\n```\n\n### Install prebuilt binaries via Homebrew\n\n```sh\nbrew install shellrow/tap-nscan/nscan\n```\n\n### From Releases\nYou can download archives of precompiled binaries from the [releases](https://github.com/shellrow/nscan/releases) .\n\n### Using Cargo\n\n```sh\ncargo install nscan\n```\n\nOr you can use [binstall](https://github.com/cargo-bins/cargo-binstall) for install nscan from github release.\n```sh\ncargo binstall nscan\n```\n\n## Basic Usage\n\n## Default Port Scan\nTo scan the default ports on a target, simply specify the target:\n```\nnscan --target scanme.nmap.org\n```\n\n## Sub-commands and Options \n```\nUsage: nscan [OPTIONS] [COMMAND]\n\nCommands:\n  port        Scan port. nscan port --help for more information\n  host        Scan host in specified network or host-list. nscan host --help for more information\n  subdomain   Find subdomains. nscan subdomain --help for more information\n  interfaces  Show network interfaces\n  interface   Show default network interface\n  check       Check dependencies (Windows only)\n  help        Print this message or the help of the given subcommand(s)\n\nOptions:\n  -t, --target \u003ctarget\u003e             Specify the target host. IP address or Hostname\n  -i, --interface \u003cinterface_name\u003e  Specify the network interface\n      --noping                      Disable initial ping\n  -F, --full                        Scan all ports (1-65535)\n  -j, --json                        Displays results in JSON format.\n  -o, --save \u003cfile_path\u003e            Save scan result in JSON format - Example: -o result.json\n  -q, --quiet                       Quiet mode. Suppress output. Only show final results.\n  -h, --help                        Print help\n  -V, --version                     Print version\n```\n\n## Supported platforms\n- Linux\n- macOS\n- Windows\n\n## Privileges\n`nscan` uses raw sockets, which require elevated privileges. Execute with administrator rights.\n\n## Notes for Windows Users\nWhen using nscan on Windows, please consider the following:\n\n- Npcap/WinPcap Installation:\n    - Ensure that [Npcap](https://npcap.com/#download) or WinPcap is installed on your system.\n    - If using Npcap, install it with the \"Install Npcap in WinPcap API-compatible Mode\" option.\n- Build Dependencies:\n    - Place the Packet.lib file from the [Npcap SDK](https://npcap.com/#download) or WinPcap Developers pack in a directory named lib at the root of this repository.\n    - The file can be found in the %LIB% or $Env:LIB environment variables.\n    - Locate Packet.lib in \u003cSDK\u003e/Lib/x64/Packet.lib for the 64-bit toolchain or \u003cSDK\u003e/Lib/Packet.lib for the 32-bit toolchain.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshellrow%2Fnscan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshellrow%2Fnscan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshellrow%2Fnscan/lists"}