I am trying to define my own port definitions in nmap and thus I am writing a customised version of nmap-services. The problem I have is that I cannot define a range of ports for a particular service i.e. a service on ports 1024-65355. I can't copy and paste because there are so many. I have looked around but cannot find anything about it.
This is within the /usr/share/nmap/nmap-services file. So i would like to define a service such as say telnet (example) which runs over ports 1024-65535. How would I go about writing this in the file. I have already tried the following:
telnet 1024.65535/tcp 0 #telnet