Starting point machine

Type your comment> @b4y said:

Error #487: Your port specifications are illegal. Example of proper form: “-100,200-1024,T:3000-4000,U:60000-”
QUITTING!

I’ve been having same error as well, It turns out i didn’t give the first command sufficient time to finish…

Solution:


(First preform the steps up to enumeration of couse; i.e. software-step & VPN-step)

1: It helped me to open a new shell / terminal tab and start from a fresh

2:
ports=$(nmap -p- --min-rate=1000 -T4 10.10.10.27 | grep [1] | cut -d ‘/’ -f 1 | tr ‘\n’ ‘,’ | sed s/,$//)

3:
wait 10-15 sec untill “root@kali:~#” re-appears
(i guess i expected some “loading” message to print to assure i typed in correctly and i have to wait more than 10 sec)

4:
~# nmap -sC -sV -p$ports 10.10.10.27

…this worked for me


  1. 0-9 ↩︎