bee-san / bee-san/RustScan

[!] Error Exit code = 127 When Running rustscan (Even Without Nmap Flags)

Open
#862 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
20.4k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

Hi all!

I'm encountering a consistent issue when using rustscan to scan servers. Every scan results in an error code 127, regardless of the command used.
For example:

When running a basic scan:
rustscan -a 10.129.6.185 -- -sV -sC
→ Error code 127 appears.
Even when explicitly avoiding Nmap-related features:
rustscan -a 10.129.6.185 --ulimit 5000
→ The same error code 127 is displayed.

I researched the error online, and many sources indicate that exit code 127 typically means "command not found" (often because nmap is missing from the system's PATH or not installed at all). However, this doesn't explain why the error occurs even on commands that shouldn't depend on Nmap.
Could you please advise on the following?

My desktop environment is Windows Subsystem for Linux, the rustscan is the newest version.

Thank you in advance for your assistance—I really appreciate your help in resolving this.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.