From 4f3dbf5d566368d289ded3ec19a31b0ad32172e6 Mon Sep 17 00:00:00 2001 From: david Date: Fri, 19 Dec 2008 22:45:58 +0000 Subject: [PATCH] Add some more TCP cheat ports. The new ones are 3306 mysql 8080 http-proxy 1723 pptp 111 rpcbind 995 pop3s 993 imaps 5900 vnc 1025 NFS-or-IIS 587 submission 8888 sun-answerbook 199 smux 1720 H.323/Q.931 --- portlist.cc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/portlist.cc b/portlist.cc index 375ad5f7c..bc6177297 100644 --- a/portlist.cc +++ b/portlist.cc @@ -760,8 +760,14 @@ void random_port_cheat(u16 *ports, int portcount) { int allportidx = 0; int popportidx = 0; int earlyreplidx = 0; - /* Updated 2008-12-18 from nmap-services-all. Top 14 open TCP ports plus 113, 554, and 256 */ - u16 pop_ports[] = { 80, 23, 443, 21, 22, 25, 3389, 110, 445, 139, 143, 53, 135, 113, 554, 256 }; + /* Updated 2008-12-19 from nmap-services-all. + Top 25 open TCP ports plus 113, 554, and 256 */ + u16 pop_ports[] = { + 80, 23, 443, 21, 22, 25, 3389, 110, 445, 139, + 143, 53, 135, 3306, 8080, 1723, 111, 995, 993, 5900, + 1025, 587, 8888, 199, 1720, + 113, 554, 256 + }; int num_pop_ports = sizeof(pop_ports) / sizeof(u16); for(allportidx = 0; allportidx < portcount; allportidx++) {