Задать вопрос
yxtiblin
@yxtiblin

Почему rustscan не отображает все открытые порты?

rustscan 2.0.0
nmap 7.93
Linux kali 6.0.0-kali3-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.0.7-1kali1 (2022-11-07) x86_64 GNU/Linux

Rustscan при сканировании находит не все открытые порты.
К примеру nmap при сканировании диапазона портов 1-1500 находит все 3 порта существующих открытых порта
┌──(kali㉿kali)-[~]
└─$ nmap -sV -p1-1500 10.10.215.14 
Starting Nmap 7.93 ( https://nmap.org ) at 2023-02-13 11:24 +04
Nmap scan report for 10.10.215.14
Host is up (0.097s latency).
Not shown: 1497 closed tcp ports (conn-refused)
PORT     STATE SERVICE VERSION
21/tcp   open  ftp     vsftpd 3.0.3
80/tcp   open  http    Apache httpd 2.4.29 ((Ubuntu))
1337/tcp open  ssh     OpenSSH 7.6p1 Ubuntu 4ubuntu0.3 (Ubuntu Linux; protocol 2.0)
Service Info: OSs: Unix, Linux; CPE: cpe:/o:linux:linux_kernel

Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 18.10 seconds


Rustscan в свою очередь при сканировании того же диапазона портов находит только 1 из них
┌──(kali㉿kali)-[~]
└─$ rustscan -a 10.10.215.14 --range 1-1500
.----. .-. .-. .----..---.  .----. .---.   .--.  .-. .-.
| {}  }| { } |{ {__ {_   _}{ {__  /  ___} / {} \ |  `| |
| .-. \| {_} |.-._} } | |  .-._} }\     }/  /\  \| |\  |
`-' `-'`-----'`----'  `-'  `----'  `---' `-'  `-'`-' `-'
The Modern Day Port Scanner.
________________________________________
: https://discord.gg/GFrQsGy           :
: https://github.com/RustScan/RustScan :
 --------------------------------------
 https://admin.tryhackme.com

[~] The config file is expected to be at "/home/kali/.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.10.215.14:1337
[~] Starting Script(s)
[>] Script to be run Some("nmap -vvv -p {{port}} {{ip}}")

[~] Starting Nmap 7.93 ( https://nmap.org ) at 2023-02-13 11:26 +04
Initiating Ping Scan at 11:26
Scanning 10.10.215.14 [2 ports]
Completed Ping Scan at 11:26, 0.09s elapsed (1 total hosts)
Initiating Parallel DNS resolution of 1 host. at 11:26
Completed Parallel DNS resolution of 1 host. at 11:26, 7.63s elapsed
DNS resolution of 1 IPs took 7.63s. Mode: Async [#: 1, OK: 0, NX: 0, DR: 1, SF: 2, TR: 3, CN: 0]
Initiating Connect Scan at 11:26
Scanning 10.10.215.14 [1 port]
Discovered open port 1337/tcp on 10.10.215.14
Completed Connect Scan at 11:26, 0.09s elapsed (1 total ports)
Nmap scan report for 10.10.215.14
Host is up, received syn-ack (0.094s latency).
Scanned at 2023-02-13 11:26:23 +04 for 0s

PORT     STATE SERVICE REASON
1337/tcp open  waste   syn-ack

Read data files from: /usr/bin/../share/nmap
Nmap done: 1 IP address (1 host up) scanned in 7.86 seconds


Почему так происходит и как это исправить?
  • Вопрос задан
  • 227 просмотров
Подписаться 1 Простой 1 комментарий
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы