why im running in rustscan cant with flag, error like "[!] Error Exit code = 1" ? (can in nmap itself)
- Dominant language
- Rust
- Stars
- 20.4k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
IMPORTANT: If you do not fill this out, your issue will be automatically closed.
As of November 2024, RustScan no longer offiically supports any packages other than `cargo`. If you have an issue with Docker or a `.deb`, please bring it up with whoever created it :)
**Describe the bug**
why im scanning in rustscan always error, but in nmap always goood
**To Reproduce**
Steps to reproduce the behavior:
```
❯ rustscan -a 10.49.132.72 -- -sS -sV -sC -o GamingServer_rustscan.txt
.----. .-. .-. .----..---. .----. .---. .--. .-. .-.
| {} }| { } |{ {__ {_ _}{ {__ / ___} / {} \ | `| |
| .-. \| {_} |.-._} } | | .-._} }\ }/ /\ \| |\ |
`-' `-'`-----'`----' `-' `----' `---' `-' `-'`-' `-'
The Modern Day Port Scanner.
________________________________________
: http://discord.skerritt.blog :
: https://github.com/RustScan/RustScan :
--------------------------------------
I scanned my computer so many times, it thinks we're dating.
[~] The config file is expected to be at "/home/rizal/.rustscan.toml"
[!] File limit is lower than default batch size. Consider upping with --ulimit. May cause harm to sensitive servers
[!] Your file limit is very small, which negatively impacts RustScan's speed. Use the Docker image, or up the Ulimit with '--ulimit 5000'.
Open 10.49.132.72:22
Open 10.49.132.72:80
[~] Starting Script(s)
[>] Running script "nmap -vvv -p {{port}} -{{ipversion}} {{ip}} -sS -sV -sC -o GamingServer_rustscan.txt" on ip 10.49.132.72
Depending on the complexity of the script, results may take some time to appear.
[!] Error Exit code = 1
❯ which rustscan
/home/rizal/.cargo/bin/rustscan
```
**Screenshots**
❯ rustscan --version
rustscan 2.4.1
```
.............. rizal@rizal
..,;:ccc,. -----------
......''';lxO. OS: Kali GNU/Linux Rolling x86_64
.....''''..........,:ld; Host: 20S1S8D001 (ThinkPad T14 Gen 1)
.';;;:::;,,.x, Kernel: Linux 6.18.3+kali+1-amd64
..'''. 0Xxoc:,. ... Uptime: 7 hours, 54 mins
.... ,ONkc;,;cokOdc',. Packages: 6326 (dpkg)
. OMo ':ddo. Shell: zsh 5.9
dMc :OO; Display (BOE07C9): 1920x1080 @ 1.25x in]
0M. .:o. DE: Xfce4 4.20
;Wd WM: Xfwm4 (X11)
;XO, WM Theme: Kali-Dark
,d0Odlc;,.. Theme: Fusion [Qt], Kali-Dark [GTK2/3/4]
..',;:cdOOd::,. Icons: Flat-Remix-Blue-Dark [Qt], Flat-]
.:d;.':;. Font: Cantarell (11pt) [GTK2/3/4]
'd, .' Cursor: Adwaita (24px)
;l .. Terminal: qterminal 2.3.0
.o Terminal Font: FiraCode Nerd Font (10pt)
c CPU: Intel(R) Core(TM) i5-10310U (8) @ z
.' GPU: Intel UHD Graphics @ 1.15 GHz [Int]
. Memory: 5.33 GiB / 15.26 GiB (35%)
Swap: 0 B / 7.10 GiB (0%)
Disk (/): 82.47 GiB / 126.40 GiB (65%) 4
Local IP (wlan0): 192.168.1.8/24
Battery (5B10W13906): 26% [Discharging]
Locale: en_US.UTF-8
```
for condition, im using rustscan for scanning lab in thm, thanks (im using cargo)
Contributor guide
Assessment
This issue has not been assessed yet.