Link to home
Start Free TrialLog in
Avatar of john lambert
john lambert

asked on

How to scan rdp ''only'' open port 3333?

Nmap:How to scan rdp only open port 3333? I use this syntax but I receive port 3333 open for mysql , for rdp and for other hosts. My question is: how to scan 100% RDP ,to show only RDP open ports:3333 or 3392 etc..?

Syntax:

nmap -sT -sV -T4 -oN save.txt -p T:3333 --open CIDR/IP

Open in new window

Results (are more res. but i posted only the last 2 ):

Nmap scan report for mail.imas-inc.com (x.xx.xx.xx) 
Host is up (0.015s latency). 
PORT     STATE SERVICE VERSION 3333/tcp open  mysql   MySQL
5.1.53-community-log
--------------------------------------------------------------------------------------------------
Nmap scan report for static-xxxxxx (x.xx.xx.xx)
Host is up (0.015s latency). 
PORT     STATE SERVICE        VERSION 
3333/tcp open  ssl/dec-notes?
the last one have rdp 3333 open port.

Open in new window


The last one is for RDP:3333, the first result is for Mysql and i want to show me only rdp nothing else
thanks
ASKER CERTIFIED SOLUTION
Avatar of Qlemo
Qlemo
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of john lambert
john lambert

ASKER

first of all i wanna know if the syntax is correct:

nmap -n -sS -p T:3390 -T4 --open 5x.x.x.x/xx 

Open in new window

I can understand why you'd want to do that, but nmap isn't capable of doing what you're asking. You might be lucky enough to find a script that may help, but I doubt it.
by default RDP is on port 3389, so did you change it to custom port number ?
thanks.....