mirror of
https://github.com/nmap/nmap.git
synced 2026-02-01 02:59:01 +00:00
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
This commit is contained in:
10
portlist.cc
10
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++) {
|
||||
|
||||
Reference in New Issue
Block a user