forked from robertdavidgraham/masscan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmasscan-app.h
49 lines (44 loc) · 1.2 KB
/
masscan-app.h
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
#ifndef MASSCAN_APP_H
#define MASSCAN_APP_H
/*
* WARNING: these constants are used in files, so don't change the values.
* Add new ones onto the end
*/
enum ApplicationProtocol {
PROTO_NONE,
PROTO_HEUR,
PROTO_SSH1,
PROTO_SSH2,
PROTO_HTTP,
PROTO_FTP,
PROTO_DNS_VERSIONBIND,
PROTO_SNMP, /* simple network management protocol, udp/161 */
PROTO_NBTSTAT, /* netbios, udp/137 */
PROTO_SSL3,
PROTO_SMB, /* SMB tcp/139 and tcp/445 */
PROTO_SMTP,
PROTO_POP3,
PROTO_IMAP4,
PROTO_UDP_ZEROACCESS,
PROTO_X509_CERT,
PROTO_HTML_TITLE,
PROTO_HTML_FULL,
PROTO_NTP, /* network time protocol, udp/123 */
PROTO_VULN,
PROTO_HEARTBLEED,
PROTO_TICKETBLEED,
PROTO_VNC_RFB,
PROTO_SAFE,
PROTO_MEMCACHED,
PROTO_SCRIPTING,
PROTO_VERSIONING,
PROTO_COAP, /* constrained app proto, udp/5683, RFC7252 */
PROTO_TELNET,
PROTO_RDP, /* Microsoft Remote Desktop Protocol tcp/3389 */
PROTO_end_of_list /* must be last one */
};
const char *
masscan_app_to_string(enum ApplicationProtocol proto);
enum ApplicationProtocol
masscan_string_to_app(const char *str);
#endif