forked from ivopetiz/network-scanner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
portslist.go
54 lines (52 loc) · 1.51 KB
/
portslist.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
package portscanner
// portShortList has main known TCP ports with descriptions.
var portShortList = map[string]string {
"1": "TCP Port Service Multiplexer (TCPMUX)",
"5": "Remote Job Entry (RJE)",
"7": "ECHO",
"18": "Message Send Protocol (MSP)",
"20": "FTP -- Data",
"21": "FTP -- Control",
"22": "SSH Remote Login Protocol",
"23": "Telnet",
"25": "Simple Mail Transfer Protocol (SMTP)",
"29": "MSG ICP",
"37": "Time",
"42": "Host Name Server (Nameserv)",
"43": "WhoIs",
"49": "Login Host Protocol (Login)",
"53": "Domain Name System (DNS)",
"69": "Trivial File Transfer Protocol (TFTP)",
"70": "Gopher Services",
"79": "Finger",
"80": "HTTP",
"103": "X.400 Standard",
"108": "SNA Gateway Access Server",
"109": "POP2",
"110": "POP3",
"111": "RPC Bind",
"115": "Simple File Transfer Protocol (SFTP)",
"118": "SQL Services",
"119": "Newsgroup (NNTP)",
"137": "NetBIOS Name Service",
"139": "NetBIOS Datagram Service",
"143": "Interim Mail Access Protocol (IMAP)",
"150": "NetBIOS Session Service",
"156": "SQL Server",
"161": "SNMP",
"179": "Border Gateway Protocol (BGP)",
"190": "Gateway Access Control Protocol (GACP)",
"194": "Internet Relay Chat (IRC)",
"197": "Directory Location Service (DLS)",
"389": "Lightweight Directory Access Protocol (LDAP)",
"396": "Novell Netware over IP",
"443": "HTTPS",
"444": "Simple Network Paging Protocol (SNPP)",
"445": "Microsoft-DS",
"458": "Apple QuickTime",
"546": "DHCP Client",
"547": "DHCP Server",
"563": "SNEWS",
"569": "MSN",
"1080": "Socks",
}