First of all, please, don’t flood this with comments like “I have this issue too!! please help!!” please, ONLY helping comments.
Ok so, I working on VMware, using kali linux 2020, and root profile (no need sudo).
When I use this command-
ports=$(nmap -p- --min-rate=1000 -T4 10.10.10.27 | grep ^[0-9] | cut -d ‘/’ -f 1 | tr ‘\n’ ‘,’ | sed s/,$//)
I can’t do a thing, nothing is processing and the teminal stuck, doing nothing and i can’t execute commands.
So I just went a typed the next command after I close the first teminal because it looked like it is doing nothing.
nmap -sC -sV -p$ports 10.10.10.27
(I don’t know if i needed to wrote IP instead of 10.10.10.27, anyway I am not sure how to get my IP :neutral: )
And then the terminal wrote me:
Starting Nmap 7.91 ( https://nmap.org ) at 2020-10-20 10:13 EDT
Error #487: Your port specifications are illegal. Example of proper form: “-100,200-1024,T:3000-4000,U:60000-”
So I tried something else and I wrote:
nmap -sC -sV -p- 10.10.10.27
And I finally got something familier to the example, only 1 problem, no ports open:
Starting Nmap 7.91 ( https://nmap.org ) at 2020-10-20 10:18 EDT
Stats: 0:00:05 elapsed; 0 hosts completed (1 up), 1 undergoing SYN Stealth Scan
SYN Stealth Scan Timing: About 1.90% done; ETC: 10:22 (0:04:19 remaining)
Nmap scan report for 10.10.10.27
Host is up (0.00057s latency).
All 65535 scanned ports on 10.10.10.27 are filtered
Service detection performed. Please report any incorrect results at Nmap OS/Service Fingerprint and Correction Submission Page .
Nmap done: 1 IP address (1 host up) scanned in 152.24 seconds
Please help me I don’t know what to do