annotate src/scanner.cpp @ 67:a39c813e8f7b

add uuencode decoding
author carl
date Sat, 22 Jan 2005 18:07:09 -0800
parents a84752107aca
children 0e387cd3784b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
23
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
1 /*
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
2
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
3 Copyright (c) 2004 Carl Byington - 510 Software Group, released under
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
4 the GPL version 2 or any later version at your choice available at
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
5 http://www.fsf.org/licenses/gpl.txt
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
6
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
7 */
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
8
8
dbe18921f741 integration work on url scanner
carl
parents: 7
diff changeset
9 static char* scanner_version="$Id$";
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
10
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
11 using namespace std;
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
12
24
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
13
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
14 // object to record things we see in the body content
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
15 struct recorder
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
16 {
41
d95af8129dfa updates for 3.2, changing file layout, add queueid to messages
carl
parents: 37
diff changeset
17 mlfiPriv *priv; // needed for syslog
24
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
18 string_set *html_tags; // valid tags
28
33e1e3910506 add configurable list of tlds
carl
parents: 27
diff changeset
19 string_set *tlds; // valid tlds
24
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
20 string_set hosts;
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
21 int bad_html_tags;
25
6176e7b2e8af better scanning for bad html tags, allow binary zip and gz files with random char sequences
carl
parents: 24
diff changeset
22 int binary_tags;
42
afcf403709ef updates for 3.2, try to drop root privileges
carl
parents: 41
diff changeset
23 recorder(mlfiPriv *priv_, string_set *html_tags_, string_set *tlds_);
24
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
24 ~recorder();
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
25 void empty();
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
26 void new_url(char *host);
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
27 void new_tag(char *tag);
25
6176e7b2e8af better scanning for bad html tags, allow binary zip and gz files with random char sequences
carl
parents: 24
diff changeset
28 void binary();
24
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
29 };
41
d95af8129dfa updates for 3.2, changing file layout, add queueid to messages
carl
parents: 37
diff changeset
30 recorder::recorder(mlfiPriv *priv_, string_set *html_tags_, string_set *tlds_) {
d95af8129dfa updates for 3.2, changing file layout, add queueid to messages
carl
parents: 37
diff changeset
31 priv = priv_;
24
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
32 html_tags = html_tags_;
28
33e1e3910506 add configurable list of tlds
carl
parents: 27
diff changeset
33 tlds = tlds_;
24
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
34 bad_html_tags = 0;
25
6176e7b2e8af better scanning for bad html tags, allow binary zip and gz files with random char sequences
carl
parents: 24
diff changeset
35 binary_tags = 0;
24
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
36 }
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
37 recorder::~recorder() {
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
38 empty();
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
39 }
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
40 void recorder::empty() {
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
41 bad_html_tags = 0;
28
33e1e3910506 add configurable list of tlds
carl
parents: 27
diff changeset
42 binary_tags = 0;
24
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
43 discard(hosts);
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
44 }
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
45 void recorder::new_url(char *host) {
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
46 register_string(hosts, host);
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
47 }
25
6176e7b2e8af better scanning for bad html tags, allow binary zip and gz files with random char sequences
carl
parents: 24
diff changeset
48 void recorder::binary() {
6176e7b2e8af better scanning for bad html tags, allow binary zip and gz files with random char sequences
carl
parents: 24
diff changeset
49 binary_tags++;
6176e7b2e8af better scanning for bad html tags, allow binary zip and gz files with random char sequences
carl
parents: 24
diff changeset
50 }
24
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
51 void recorder::new_tag(char *tag) {
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
52 string_set::iterator i = html_tags->find(tag);
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
53 if (i == html_tags->end()) {
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
54 bad_html_tags++;
50
05957b18b2e6 final changes for 3.3
carl
parents: 44
diff changeset
55 if (debug_syslog && (bad_html_tags < 10)) {
25
6176e7b2e8af better scanning for bad html tags, allow binary zip and gz files with random char sequences
carl
parents: 24
diff changeset
56 // only log the first 10 bad tags
24
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
57 char buf[200];
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
58 snprintf(buf, sizeof(buf), "bad html tag %s", tag);
41
d95af8129dfa updates for 3.2, changing file layout, add queueid to messages
carl
parents: 37
diff changeset
59 my_syslog(priv, buf);
24
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
60 }
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
61 }
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
62 }
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
63
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
64
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
65
16
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
66 enum state {// host name recognizer states
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
67 h_init,
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
68 h_host,
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
69
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
70 // html tag discarder states
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
71 t_init,
30
8f43f8fa1ad7 ignore text including bad html tags inside comments
carl
parents: 29
diff changeset
72 t_tag1, // seen opening <
8f43f8fa1ad7 ignore text including bad html tags inside comments
carl
parents: 29
diff changeset
73 t_tag2, // not comment
8f43f8fa1ad7 ignore text including bad html tags inside comments
carl
parents: 29
diff changeset
74 t_com1, // seen !
8f43f8fa1ad7 ignore text including bad html tags inside comments
carl
parents: 29
diff changeset
75 t_com2, // seen first -
8f43f8fa1ad7 ignore text including bad html tags inside comments
carl
parents: 29
diff changeset
76 t_com3, // seen second -, looking for -->
8f43f8fa1ad7 ignore text including bad html tags inside comments
carl
parents: 29
diff changeset
77 t_com4, // seen first -
8f43f8fa1ad7 ignore text including bad html tags inside comments
carl
parents: 29
diff changeset
78 t_com5, // seen second -
8f43f8fa1ad7 ignore text including bad html tags inside comments
carl
parents: 29
diff changeset
79 t_disc, // looking for closing >
16
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
80
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
81 // url recognizer states
7
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
82 u_init,
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
83 u_http,
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
84 u_sla,
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
85 u_url,
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
86
23
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
87 // url decoder states %xx
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
88 d_init,
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
89 d_pcnt,
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
90 d_1,
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
91
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
92 // html entity decoder states &#nnn;
7
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
93 e_init,
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
94 e_amp,
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
95 e_num,
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
96
23
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
97 // mime decoder states =xx
7
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
98 m_init,
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
99 m_eq,
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
100 m_1,
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
101
7
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
102 // base64 decoder states
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
103 b_init,
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
104 b_lf,
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
105 b_lf2,
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
106 b_64,
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
107
67
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
108 // uuencoding decoder states
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
109 uu_init,
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
110 uu_lf,
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
111 uu_lf2,
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
112 uu_64,
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
113
7
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
114 // counter for number of columns in the table
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
115 end_state,
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
116
19
b8f5fa3dd5b8 fix problems in the state transitions causing impossible states
carl
parents: 18
diff changeset
117 // temporary states
16
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
118 h_end,
25
6176e7b2e8af better scanning for bad html tags, allow binary zip and gz files with random char sequences
carl
parents: 24
diff changeset
119 t_bin,
16
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
120 t_end,
7
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
121 u_reco,
23
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
122 d_2,
7
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
123 e_semi,
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
124 m_2,
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
125 m_cr,
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
126 m_nl,
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
127 b_cr,
67
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
128 uu_cr,
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
129 };
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
130
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
131 typedef state PARSE[end_state];
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
132
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
133 static PARSE parse_table[256] = {
67
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
134 // h_init, h_host, t_init, t_tag1, t_tag2, t_com1, t_com2, t_com3, t_com4, t_com5, t_disc, u_init, u_http, u_sla , u_url, d_init, d_pcnt, d_1, e_init, e_amp, e_num, m_init, m_eq, m_1, b_init, b_lf, b_lf2, b_64 uu_init, uu_lf, uu_lf2, uu_64
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
135
67
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
136 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x00
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
137 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x01
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
138 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x02
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
139 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x03
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
140 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x04
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
141 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x05
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
142 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x06
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
143 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x07
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
144 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x08
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
145 {h_init, h_end, t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com5, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x09 <tab>
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
146 {h_init, h_end, t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com5, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_nl, m_init, b_lf, b_init, b_lf2, b_init, uu_lf, uu_init, uu_lf2, uu_init, }, // 0x0a <lf>
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
147 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x0b
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
148 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x0c
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
149 {h_init, h_end, t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com5, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_cr, m_init, b_init, b_init, b_init, b_cr, uu_init, uu_init, uu_init, uu_cr, }, // 0x0d <cr>
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
150 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x0e
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
151 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x0f
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
152 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x10
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
153 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x11 xon char
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
154 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x12
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
155 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x13 xoff char
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
156 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x14
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
157 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x15
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
158 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x16
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
159 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x17
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
160 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x18
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
161 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x19
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
162 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x1a
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
163 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x1b
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
164 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x1c
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
165 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x1d
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
166 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x1e
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
167 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x1f
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
168 {h_init, h_end, t_init, t_end, t_end, t_end, t_end, t_com3, t_com3, t_com5, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x20 space
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
169 {h_init, h_end, t_init, t_com1, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_64, uu_64, uu_64, }, // 0x21 !
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
170 {h_init, h_end, t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_64, uu_64, uu_64, }, // 0x22 ""
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
171 {h_init, h_end, t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_num, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_64, uu_64, uu_64, }, // 0x23 #
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
172 {h_init, h_end, t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_64, uu_64, uu_64, }, // 0x24 $
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
173 {h_init, h_end, t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_pcnt, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_64, uu_64, uu_64, }, // 0x25 %
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
174 {h_init, h_end, t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_amp, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_64, uu_64, uu_64, }, // 0x26 &
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
175 {h_init, h_end, t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_64, uu_64, uu_64, }, // 0x27 '
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
176 {h_init, h_end, t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_64, uu_64, uu_64, }, // 0x28 (
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
177 {h_init, h_end, t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_64, uu_64, uu_64, }, // 0x29 )
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
178 {h_init, h_end, t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_64, uu_64, uu_64, }, // 0x2A *
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
179 {h_init, h_end, t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x2B +
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
180 {h_init, h_end, t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_64, uu_64, uu_64, }, // 0x2C ,
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
181 {h_host, h_host, t_init, t_disc, t_disc, t_com2, t_com3, t_com4, t_com5, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_64, uu_64, uu_64, }, // 0x2D -
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
182 {h_host, h_host, t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_64, uu_64, uu_64, }, // 0x2E .
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
183 {h_init, h_end, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_sla, u_sla, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x2F /
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
184 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_1, d_2, e_init, e_init, e_num, m_init, m_1, m_2, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x30 0
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
185 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_1, d_2, e_init, e_init, e_num, m_init, m_1, m_2, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x31 1
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
186 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_1, d_2, e_init, e_init, e_num, m_init, m_1, m_2, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x32 2
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
187 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_1, d_2, e_init, e_init, e_num, m_init, m_1, m_2, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x33 3
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
188 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_1, d_2, e_init, e_init, e_num, m_init, m_1, m_2, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x34 4
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
189 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_1, d_2, e_init, e_init, e_num, m_init, m_1, m_2, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x35 5
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
190 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_1, d_2, e_init, e_init, e_num, m_init, m_1, m_2, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x36 6
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
191 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_1, d_2, e_init, e_init, e_num, m_init, m_1, m_2, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x37 7
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
192 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_1, d_2, e_init, e_init, e_num, m_init, m_1, m_2, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x38 8
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
193 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_1, d_2, e_init, e_init, e_num, m_init, m_1, m_2, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x39 9
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
194 {h_init, h_end, t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_http, u_http, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_64, uu_64, uu_64, }, // 0x3A :
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
195 {h_init, h_end, t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_semi, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_64, uu_64, uu_64, }, // 0x3B ;
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
196 {h_init, h_end, t_tag1, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_64, uu_64, uu_64, }, // 0x3C <
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
197 {h_init, h_end, t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_eq, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x3D =
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
198 {h_init, h_end, t_init, t_end, t_end, t_end, t_end, t_com3, t_com3, t_end, t_end, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_64, uu_64, uu_64, }, // 0x3E >
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
199 {h_init, h_end, t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_64, uu_64, uu_64, }, // 0x3F ?
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
200 {h_init, h_host, t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_64, uu_64, uu_64, }, // 0x40 @
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
201 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_1, d_2, e_init, e_init, e_num, m_init, m_1, m_2, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x41 A
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
202 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_1, d_2, e_init, e_init, e_num, m_init, m_1, m_2, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x42 B
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
203 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_1, d_2, e_init, e_init, e_num, m_init, m_1, m_2, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x43 C
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
204 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_1, d_2, e_init, e_init, e_num, m_init, m_1, m_2, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x44 D
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
205 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_1, d_2, e_init, e_init, e_num, m_init, m_1, m_2, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x45 E
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
206 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_1, d_2, e_init, e_init, e_num, m_init, m_1, m_2, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x46 F
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
207 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x47 G
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
208 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_http, u_http, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x48 H
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
209 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x49 I
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
210 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x4A J
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
211 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x4B K
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
212 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x4C L
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
213 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x4D M
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
214 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x4E N
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
215 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x4F O
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
216 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_http, u_http, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x50 P
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
217 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x51 Q
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
218 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x52 R
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
219 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_http, u_http, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x53 S
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
220 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_http, u_http, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x54 T
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
221 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x55 U
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
222 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x56 V
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
223 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x57 W
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
224 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_num, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x58 X
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
225 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x59 Y
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
226 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_64, uu_64, uu_64, }, // 0x5A Z
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
227 {h_init, h_end, t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_64, uu_64, uu_64, }, // 0x5B [
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
228 {h_init, h_end, t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_64, uu_64, uu_64, }, // 0x5C \
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
229 {h_init, h_end, t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_64, uu_64, uu_64, }, // 0x5D ]
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
230 {h_init, h_end, t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_64, uu_64, uu_64, }, // 0x5E ^
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
231 {h_init, h_end, t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_64, uu_64, uu_64, }, // 0x5F _
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
232 {h_init, h_end, t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_64, uu_64, uu_64, }, // 0x60 `
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
233 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_1, d_2, e_init, e_init, e_num, m_init, m_1, m_2, b_init, b_64, b_64, b_64, uu_init, uu_init, uu_init, uu_init, }, // 0x61 a
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
234 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_1, d_2, e_init, e_init, e_num, m_init, m_1, m_2, b_init, b_64, b_64, b_64, uu_init, uu_init, uu_init, uu_init, }, // 0x62 b
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
235 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_1, d_2, e_init, e_init, e_num, m_init, m_1, m_2, b_init, b_64, b_64, b_64, uu_init, uu_init, uu_init, uu_init, }, // 0x63 c
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
236 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_1, d_2, e_init, e_init, e_num, m_init, m_1, m_2, b_init, b_64, b_64, b_64, uu_init, uu_init, uu_init, uu_init, }, // 0x64 d
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
237 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_1, d_2, e_init, e_init, e_num, m_init, m_1, m_2, b_init, b_64, b_64, b_64, uu_init, uu_init, uu_init, uu_init, }, // 0x65 e
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
238 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_1, d_2, e_init, e_init, e_num, m_init, m_1, m_2, b_init, b_64, b_64, b_64, uu_init, uu_init, uu_init, uu_init, }, // 0x66 f
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
239 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_init, uu_init, uu_init, }, // 0x67 g
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
240 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_http, u_http, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_init, uu_init, uu_init, }, // 0x68 h
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
241 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_init, uu_init, uu_init, }, // 0x69 i
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
242 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_init, uu_init, uu_init, }, // 0x6A j
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
243 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_init, uu_init, uu_init, }, // 0x6B k
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
244 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_init, uu_init, uu_init, }, // 0x6C l
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
245 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_init, uu_init, uu_init, }, // 0x6D m
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
246 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_init, uu_init, uu_init, }, // 0x6E n
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
247 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_init, uu_init, uu_init, }, // 0x6F o
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
248 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_http, u_http, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_init, uu_init, uu_init, }, // 0x70 p
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
249 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_init, uu_init, uu_init, }, // 0x71 q
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
250 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_init, uu_init, uu_init, }, // 0x72 r
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
251 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_http, u_http, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_init, uu_init, uu_init, }, // 0x73 s
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
252 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_http, u_http, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_init, uu_init, uu_init, }, // 0x74 t
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
253 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_init, uu_init, uu_init, }, // 0x75 u
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
254 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_init, uu_init, uu_init, }, // 0x76 v
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
255 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_init, uu_init, uu_init, }, // 0x77 w
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
256 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_num, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_init, uu_init, uu_init, }, // 0x78 x
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
257 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_init, uu_init, uu_init, }, // 0x79 y
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
258 {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url, u_url, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_64, b_64, b_64, uu_init, uu_init, uu_init, uu_init, }, // 0x7A z
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
259 {h_init, h_end, t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x7B {
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
260 {h_init, h_end, t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x7C |
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
261 {h_init, h_end, t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x7D }
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
262 {h_init, h_end, t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x7E ~
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
263 {h_init, h_end, t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x7f
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
264 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x80
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
265 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x81
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
266 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x82
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
267 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x83
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
268 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x84
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
269 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x85
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
270 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x86
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
271 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x87
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
272 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x88
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
273 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x89
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
274 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x8a
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
275 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x8b
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
276 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x8c
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
277 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x8d
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
278 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x8e
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
279 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x8f
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
280 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x90
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
281 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x91
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
282 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x92
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
283 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x93
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
284 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x94
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
285 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x95
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
286 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x96
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
287 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x97
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
288 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x98
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
289 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x99
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
290 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x9a
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
291 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x9b
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
292 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x9c
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
293 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x9d
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
294 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x9e
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
295 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0x9f
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
296 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xa0
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
297 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xa1
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
298 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xa2
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
299 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xa3
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
300 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xa4
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
301 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xa5
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
302 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xa6
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
303 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xa7
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
304 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xa8
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
305 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xa9
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
306 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xaa
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
307 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xab
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
308 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xac
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
309 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xad
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
310 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xae
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
311 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xaf
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
312 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xb0
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
313 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xb1
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
314 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xb2
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
315 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xb3
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
316 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xb4
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
317 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xb5
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
318 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xb6
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
319 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xb7
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
320 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xb8
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
321 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xb9
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
322 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xba
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
323 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xbb
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
324 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xbc
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
325 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xbd
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
326 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xbe
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
327 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xbf
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
328 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xc0
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
329 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xc1
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
330 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xc2
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
331 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xc3
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
332 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xc4
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
333 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xc5
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
334 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xc6
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
335 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xc7
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
336 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xc8
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
337 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xc9
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
338 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xca
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
339 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xcb
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
340 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xcc
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
341 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xcd
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
342 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xce
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
343 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xcf
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
344 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xd0
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
345 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xd1
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
346 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xd2
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
347 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xd3
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
348 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xd4
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
349 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xd5
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
350 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xd6
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
351 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xd7
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
352 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xd8
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
353 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xd9
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
354 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xda
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
355 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xdb
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
356 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xdc
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
357 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xdd
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
358 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xde
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
359 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xdf
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
360 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xe0
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
361 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xe1
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
362 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xe2
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
363 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xe3
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
364 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xe4
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
365 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xe5
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
366 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xe6
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
367 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xe7
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
368 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xe8
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
369 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xe9
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
370 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xea
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
371 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xeb
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
372 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xec
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
373 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xed
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
374 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xee
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
375 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xef
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
376 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xf0
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
377 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xf1
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
378 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xf2
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
379 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xf3
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
380 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xf4
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
381 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xf5
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
382 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xf6
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
383 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xf7
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
384 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xf8
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
385 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xf9
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
386 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xfa
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
387 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xfb
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
388 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xfc
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
389 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xfd
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
390 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xfe
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
391 {h_init, h_end, t_init, t_bin, t_bin, t_bin, t_bin, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init, uu_init, uu_init, uu_init, uu_init, }, // 0xff
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
392 };
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
393
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
394
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
395 u_char hex_decode[256] = {
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
396 0, // 0x00
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
397 0, // 0x01
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
398 0, // 0x02
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
399 0, // 0x03
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
400 0, // 0x04
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
401 0, // 0x05
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
402 0, // 0x06
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
403 0, // 0x07
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
404 0, // 0x08
7
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
405 0, // 0x09 <tab>
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
406 0, // 0x0a <lf>
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
407 0, // 0x0b
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
408 0, // 0x0c
7
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
409 0, // 0x0d <cr>
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
410 0, // 0x0e
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
411 0, // 0x0f
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
412 0, // 0x10
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
413 0, // 0x11 xon char
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
414 0, // 0x12
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
415 0, // 0x13 xoff char
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
416 0, // 0x14
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
417 0, // 0x15
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
418 0, // 0x16
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
419 0, // 0x17
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
420 0, // 0x18
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
421 0, // 0x19
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
422 0, // 0x1a
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
423 0, // 0x1b
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
424 0, // 0x1c
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
425 0, // 0x1d
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
426 0, // 0x1e
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
427 0, // 0x1f
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
428 0, // 0x20 space
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
429 0, // 0x21 !
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
430 0, // 0x22 ""
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
431 0, // 0x23 #
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
432 0, // 0x24 $
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
433 0, // 0x25 %
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
434 0, // 0x26 &
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
435 0, // 0x27 '
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
436 0, // 0x28 (
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
437 0, // 0x29 )
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
438 0, // 0x2A *
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
439 0, // 0x2B +
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
440 0, // 0x2C ,
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
441 0, // 0x2D -
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
442 0, // 0x2E .
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
443 0, // 0x2F /
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
444 0, // 0x30 0
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
445 1, // 0x31 1
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
446 2, // 0x32 2
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
447 3, // 0x33 3
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
448 4, // 0x34 4
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
449 5, // 0x35 5
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
450 6, // 0x36 6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
451 7, // 0x37 7
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
452 8, // 0x38 8
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
453 9, // 0x39 9
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
454 0, // 0x3A :
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
455 0, // 0x3B ;
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
456 0, // 0x3C <
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
457 0, // 0x3D =
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
458 0, // 0x3E >
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
459 0, // 0x3F ?
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
460 0, // 0x40 @
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
461 10, // 0x41 A
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
462 11, // 0x42 B
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
463 12, // 0x43 C
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
464 13, // 0x44 D
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
465 14, // 0x45 E
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
466 15, // 0x46 F
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
467 0, // 0x47 G
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
468 0, // 0x48 H
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
469 0, // 0x49 I
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
470 0, // 0x4A J
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
471 0, // 0x4B K
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
472 0, // 0x4C L
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
473 0, // 0x4D M
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
474 0, // 0x4E N
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
475 0, // 0x4F O
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
476 0, // 0x50 P
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
477 0, // 0x51 Q
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
478 0, // 0x52 R
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
479 0, // 0x53 S
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
480 0, // 0x54 T
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
481 0, // 0x55 U
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
482 0, // 0x56 V
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
483 0, // 0x57 W
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
484 0, // 0x58 X
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
485 0, // 0x59 Y
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
486 0, // 0x5A Z
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
487 0, // 0x5B [
67
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
488 0, // 0x5C \
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
489 0, // 0x5D ]
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
490 0, // 0x5E ^
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
491 0, // 0x5F _
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
492 0, // 0x60 `
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
493 10, // 0x61 a
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
494 11, // 0x62 b
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
495 12, // 0x63 c
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
496 13, // 0x64 d
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
497 14, // 0x65 e
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
498 15, // 0x66 f
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
499 0, // 0x67 g
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
500 0, // 0x68 h
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
501 0, // 0x69 i
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
502 0, // 0x6A j
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
503 0, // 0x6B k
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
504 0, // 0x6C l
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
505 0, // 0x6D m
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
506 0, // 0x6E n
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
507 0, // 0x6F o
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
508 0, // 0x70 p
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
509 0, // 0x71 q
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
510 0, // 0x72 r
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
511 0, // 0x73 s
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
512 0, // 0x74 t
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
513 0, // 0x75 u
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
514 0, // 0x76 v
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
515 0, // 0x77 w
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
516 0, // 0x78 x
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
517 0, // 0x79 y
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
518 0, // 0x7A z
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
519 0, // 0x7B {
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
520 0, // 0x7C |
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
521 0, // 0x7D }
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
522 0, // 0x7E ~
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
523 0, // 0x7f
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
524 0, // 0x80
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
525 0, // 0x81
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
526 0, // 0x82
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
527 0, // 0x83
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
528 0, // 0x84
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
529 0, // 0x85
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
530 0, // 0x86
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
531 0, // 0x87
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
532 0, // 0x88
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
533 0, // 0x89
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
534 0, // 0x8a
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
535 0, // 0x8b
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
536 0, // 0x8c
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
537 0, // 0x8d
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
538 0, // 0x8e
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
539 0, // 0x8f
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
540 0, // 0x90
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
541 0, // 0x91
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
542 0, // 0x92
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
543 0, // 0x93
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
544 0, // 0x94
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
545 0, // 0x95
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
546 0, // 0x96
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
547 0, // 0x97
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
548 0, // 0x98
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
549 0, // 0x99
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
550 0, // 0x9a
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
551 0, // 0x9b
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
552 0, // 0x9c
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
553 0, // 0x9d
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
554 0, // 0x9e
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
555 0, // 0x9f
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
556 0, // 0xa0
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
557 0, // 0xa1
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
558 0, // 0xa2
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
559 0, // 0xa3
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
560 0, // 0xa4
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
561 0, // 0xa5
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
562 0, // 0xa6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
563 0, // 0xa7
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
564 0, // 0xa8
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
565 0, // 0xa9
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
566 0, // 0xaa
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
567 0, // 0xab
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
568 0, // 0xac
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
569 0, // 0xad
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
570 0, // 0xae
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
571 0, // 0xaf
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
572 0, // 0xb0
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
573 0, // 0xb1
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
574 0, // 0xb2
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
575 0, // 0xb3
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
576 0, // 0xb4
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
577 0, // 0xb5
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
578 0, // 0xb6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
579 0, // 0xb7
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
580 0, // 0xb8
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
581 0, // 0xb9
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
582 0, // 0xba
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
583 0, // 0xbb
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
584 0, // 0xbc
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
585 0, // 0xbd
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
586 0, // 0xbe
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
587 0, // 0xbf
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
588 0, // 0xc0
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
589 0, // 0xc1
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
590 0, // 0xc2
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
591 0, // 0xc3
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
592 0, // 0xc4
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
593 0, // 0xc5
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
594 0, // 0xc6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
595 0, // 0xc7
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
596 0, // 0xc8
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
597 0, // 0xc9
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
598 0, // 0xca
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
599 0, // 0xcb
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
600 0, // 0xcc
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
601 0, // 0xcd
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
602 0, // 0xce
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
603 0, // 0xcf
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
604 0, // 0xd0
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
605 0, // 0xd1
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
606 0, // 0xd2
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
607 0, // 0xd3
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
608 0, // 0xd4
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
609 0, // 0xd5
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
610 0, // 0xd6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
611 0, // 0xd7
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
612 0, // 0xd8
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
613 0, // 0xd9
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
614 0, // 0xda
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
615 0, // 0xdb
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
616 0, // 0xdc
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
617 0, // 0xdd
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
618 0, // 0xde
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
619 0, // 0xdf
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
620 0, // 0xe0
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
621 0, // 0xe1
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
622 0, // 0xe2
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
623 0, // 0xe3
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
624 0, // 0xe4
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
625 0, // 0xe5
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
626 0, // 0xe6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
627 0, // 0xe7
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
628 0, // 0xe8
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
629 0, // 0xe9
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
630 0, // 0xea
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
631 0, // 0xeb
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
632 0, // 0xec
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
633 0, // 0xed
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
634 0, // 0xee
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
635 0, // 0xef
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
636 0, // 0xf0
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
637 0, // 0xf1
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
638 0, // 0xf2
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
639 0, // 0xf3
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
640 0, // 0xf4
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
641 0, // 0xf5
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
642 0, // 0xf6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
643 0, // 0xf7
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
644 0, // 0xf8
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
645 0, // 0xf9
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
646 0, // 0xfa
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
647 0, // 0xfb
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
648 0, // 0xfc
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
649 0, // 0xfd
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
650 0, // 0xfe
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
651 0, // 0xff
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
652 };
7
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
653
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
654 u_char b64_decode[256] = {
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
655 0, // 0x00
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
656 0, // 0x01
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
657 0, // 0x02
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
658 0, // 0x03
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
659 0, // 0x04
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
660 0, // 0x05
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
661 0, // 0x06
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
662 0, // 0x07
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
663 0, // 0x08
7
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
664 0, // 0x09 <tab>
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
665 0, // 0x0a <lf>
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
666 0, // 0x0b
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
667 0, // 0x0c
7
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
668 0, // 0x0d <cr>
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
669 0, // 0x0e
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
670 0, // 0x0f
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
671 0, // 0x10
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
672 0, // 0x11 xon char
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
673 0, // 0x12
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
674 0, // 0x13 xoff char
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
675 0, // 0x14
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
676 0, // 0x15
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
677 0, // 0x16
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
678 0, // 0x17
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
679 0, // 0x18
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
680 0, // 0x19
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
681 0, // 0x1a
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
682 0, // 0x1b
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
683 0, // 0x1c
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
684 0, // 0x1d
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
685 0, // 0x1e
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
686 0, // 0x1f
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
687 0, // 0x20 space
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
688 0, // 0x21 !
67
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
689 0, // 0x22 "
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
690 0, // 0x23 #
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
691 0, // 0x24 $
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
692 0, // 0x25 %
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
693 0, // 0x26 &
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
694 0, // 0x27 '
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
695 0, // 0x28 (
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
696 0, // 0x29 )
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
697 0, // 0x2A *
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
698 62, // 0x2B +
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
699 0, // 0x2C ,
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
700 0, // 0x2D -
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
701 0, // 0x2E .
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
702 63, // 0x2F /
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
703 52, // 0x30 0
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
704 53, // 0x31 1
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
705 54, // 0x32 2
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
706 55, // 0x33 3
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
707 56, // 0x34 4
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
708 57, // 0x35 5
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
709 58, // 0x36 6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
710 59, // 0x37 7
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
711 60, // 0x38 8
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
712 61, // 0x39 9
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
713 0, // 0x3A :
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
714 0, // 0x3B ;
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
715 0, // 0x3C <
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
716 0, // 0x3D =
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
717 0, // 0x3E >
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
718 0, // 0x3F ?
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
719 0, // 0x40 @
7
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
720 0, // 0x41 A
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
721 1, // 0x42 B
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
722 2, // 0x43 C
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
723 3, // 0x44 D
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
724 4, // 0x45 E
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
725 5, // 0x46 F
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
726 6, // 0x47 G
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
727 7, // 0x48 H
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
728 8, // 0x49 I
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
729 9, // 0x4A J
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
730 10, // 0x4B K
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
731 11, // 0x4C L
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
732 12, // 0x4D M
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
733 13, // 0x4E N
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
734 14, // 0x4F O
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
735 15, // 0x50 P
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
736 16, // 0x51 Q
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
737 17, // 0x52 R
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
738 18, // 0x53 S
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
739 19, // 0x54 T
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
740 20, // 0x55 U
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
741 21, // 0x56 V
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
742 22, // 0x57 W
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
743 23, // 0x58 X
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
744 24, // 0x59 Y
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
745 25, // 0x5A Z
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
746 0, // 0x5B [
67
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
747 0, // 0x5C \
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
748 0, // 0x5D ]
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
749 0, // 0x5E ^
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
750 0, // 0x5F _
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
751 0, // 0x60 `
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
752 26, // 0x61 a
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
753 27, // 0x62 b
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
754 28, // 0x63 c
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
755 29, // 0x64 d
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
756 30, // 0x65 e
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
757 31, // 0x66 f
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
758 32, // 0x67 g
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
759 33, // 0x68 h
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
760 34, // 0x69 i
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
761 35, // 0x6A j
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
762 36, // 0x6B k
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
763 37, // 0x6C l
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
764 38, // 0x6D m
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
765 39, // 0x6E n
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
766 40, // 0x6F o
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
767 41, // 0x70 p
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
768 42, // 0x71 q
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
769 43, // 0x72 r
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
770 44, // 0x73 s
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
771 45, // 0x74 t
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
772 46, // 0x75 u
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
773 47, // 0x76 v
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
774 48, // 0x77 w
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
775 49, // 0x78 x
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
776 50, // 0x79 y
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
777 51, // 0x7A z
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
778 0, // 0x7B {
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
779 0, // 0x7C |
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
780 0, // 0x7D }
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
781 0, // 0x7E ~
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
782 0, // 0x7f
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
783 0, // 0x80
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
784 0, // 0x81
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
785 0, // 0x82
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
786 0, // 0x83
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
787 0, // 0x84
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
788 0, // 0x85
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
789 0, // 0x86
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
790 0, // 0x87
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
791 0, // 0x88
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
792 0, // 0x89
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
793 0, // 0x8a
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
794 0, // 0x8b
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
795 0, // 0x8c
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
796 0, // 0x8d
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
797 0, // 0x8e
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
798 0, // 0x8f
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
799 0, // 0x90
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
800 0, // 0x91
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
801 0, // 0x92
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
802 0, // 0x93
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
803 0, // 0x94
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
804 0, // 0x95
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
805 0, // 0x96
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
806 0, // 0x97
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
807 0, // 0x98
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
808 0, // 0x99
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
809 0, // 0x9a
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
810 0, // 0x9b
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
811 0, // 0x9c
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
812 0, // 0x9d
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
813 0, // 0x9e
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
814 0, // 0x9f
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
815 0, // 0xa0
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
816 0, // 0xa1
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
817 0, // 0xa2
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
818 0, // 0xa3
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
819 0, // 0xa4
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
820 0, // 0xa5
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
821 0, // 0xa6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
822 0, // 0xa7
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
823 0, // 0xa8
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
824 0, // 0xa9
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
825 0, // 0xaa
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
826 0, // 0xab
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
827 0, // 0xac
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
828 0, // 0xad
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
829 0, // 0xae
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
830 0, // 0xaf
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
831 0, // 0xb0
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
832 0, // 0xb1
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
833 0, // 0xb2
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
834 0, // 0xb3
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
835 0, // 0xb4
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
836 0, // 0xb5
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
837 0, // 0xb6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
838 0, // 0xb7
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
839 0, // 0xb8
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
840 0, // 0xb9
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
841 0, // 0xba
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
842 0, // 0xbb
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
843 0, // 0xbc
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
844 0, // 0xbd
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
845 0, // 0xbe
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
846 0, // 0xbf
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
847 0, // 0xc0
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
848 0, // 0xc1
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
849 0, // 0xc2
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
850 0, // 0xc3
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
851 0, // 0xc4
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
852 0, // 0xc5
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
853 0, // 0xc6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
854 0, // 0xc7
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
855 0, // 0xc8
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
856 0, // 0xc9
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
857 0, // 0xca
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
858 0, // 0xcb
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
859 0, // 0xcc
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
860 0, // 0xcd
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
861 0, // 0xce
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
862 0, // 0xcf
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
863 0, // 0xd0
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
864 0, // 0xd1
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
865 0, // 0xd2
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
866 0, // 0xd3
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
867 0, // 0xd4
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
868 0, // 0xd5
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
869 0, // 0xd6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
870 0, // 0xd7
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
871 0, // 0xd8
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
872 0, // 0xd9
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
873 0, // 0xda
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
874 0, // 0xdb
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
875 0, // 0xdc
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
876 0, // 0xdd
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
877 0, // 0xde
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
878 0, // 0xdf
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
879 0, // 0xe0
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
880 0, // 0xe1
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
881 0, // 0xe2
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
882 0, // 0xe3
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
883 0, // 0xe4
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
884 0, // 0xe5
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
885 0, // 0xe6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
886 0, // 0xe7
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
887 0, // 0xe8
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
888 0, // 0xe9
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
889 0, // 0xea
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
890 0, // 0xeb
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
891 0, // 0xec
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
892 0, // 0xed
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
893 0, // 0xee
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
894 0, // 0xef
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
895 0, // 0xf0
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
896 0, // 0xf1
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
897 0, // 0xf2
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
898 0, // 0xf3
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
899 0, // 0xf4
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
900 0, // 0xf5
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
901 0, // 0xf6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
902 0, // 0xf7
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
903 0, // 0xf8
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
904 0, // 0xf9
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
905 0, // 0xfa
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
906 0, // 0xfb
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
907 0, // 0xfc
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
908 0, // 0xfd
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
909 0, // 0xfe
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
910 0, // 0xff
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
911 };
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
912
67
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
913 u_char uu_decode[256] = {
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
914 0, // 0x00
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
915 0, // 0x01
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
916 0, // 0x02
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
917 0, // 0x03
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
918 0, // 0x04
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
919 0, // 0x05
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
920 0, // 0x06
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
921 0, // 0x07
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
922 0, // 0x08
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
923 0, // 0x09 <tab>
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
924 0, // 0x0a <lf>
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
925 0, // 0x0b
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
926 0, // 0x0c
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
927 0, // 0x0d <cr>
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
928 0, // 0x0e
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
929 0, // 0x0f
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
930 0, // 0x10
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
931 0, // 0x11 xon char
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
932 0, // 0x12
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
933 0, // 0x13 xoff char
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
934 0, // 0x14
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
935 0, // 0x15
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
936 0, // 0x16
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
937 0, // 0x17
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
938 0, // 0x18
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
939 0, // 0x19
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
940 0, // 0x1a
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
941 0, // 0x1b
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
942 0, // 0x1c
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
943 0, // 0x1d
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
944 0, // 0x1e
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
945 0, // 0x1f
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
946 0, // 0x20 space
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
947 1, // 0x21 !
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
948 2, // 0x22 "
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
949 3, // 0x23 #
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
950 4, // 0x24 $
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
951 5, // 0x25 %
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
952 6, // 0x26 &
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
953 7, // 0x27 '
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
954 8, // 0x28 (
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
955 9, // 0x29 )
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
956 10, // 0x2A *
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
957 11, // 0x2B +
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
958 12, // 0x2C ,
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
959 13, // 0x2D -
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
960 14, // 0x2E .
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
961 15, // 0x2F /
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
962 16, // 0x30 0
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
963 17, // 0x31 1
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
964 18, // 0x32 2
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
965 19, // 0x33 3
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
966 20, // 0x34 4
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
967 21, // 0x35 5
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
968 22, // 0x36 6
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
969 23, // 0x37 7
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
970 24, // 0x38 8
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
971 25, // 0x39 9
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
972 26, // 0x3A :
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
973 27, // 0x3B ;
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
974 28, // 0x3C <
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
975 29, // 0x3D =
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
976 30, // 0x3E >
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
977 31, // 0x3F ?
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
978 32, // 0x40 @
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
979 33, // 0x41 A
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
980 34, // 0x42 B
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
981 35, // 0x43 C
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
982 36, // 0x44 D
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
983 37, // 0x45 E
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
984 38, // 0x46 F
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
985 39, // 0x47 G
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
986 40, // 0x48 H
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
987 41, // 0x49 I
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
988 42, // 0x4A J
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
989 43, // 0x4B K
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
990 44, // 0x4C L
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
991 45, // 0x4D M
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
992 46, // 0x4E N
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
993 47, // 0x4F O
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
994 48, // 0x50 P
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
995 49, // 0x51 Q
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
996 50, // 0x52 R
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
997 51, // 0x53 S
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
998 52, // 0x54 T
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
999 53, // 0x55 U
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1000 54, // 0x56 V
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1001 55, // 0x57 W
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1002 56, // 0x58 X
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1003 57, // 0x59 Y
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1004 58, // 0x5A Z
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1005 59, // 0x5B [
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1006 60, // 0x5C \
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1007 61, // 0x5D ]
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1008 62, // 0x5E ^
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1009 63, // 0x5F _
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1010 0, // 0x60 `
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1011 0, // 0x61 a
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1012 0, // 0x62 b
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1013 0, // 0x63 c
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1014 0, // 0x64 d
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1015 0, // 0x65 e
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1016 0, // 0x66 f
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1017 0, // 0x67 g
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1018 0, // 0x68 h
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1019 0, // 0x69 i
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1020 0, // 0x6A j
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1021 0, // 0x6B k
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1022 0, // 0x6C l
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1023 0, // 0x6D m
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1024 0, // 0x6E n
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1025 0, // 0x6F o
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1026 0, // 0x70 p
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1027 0, // 0x71 q
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1028 0, // 0x72 r
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1029 0, // 0x73 s
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1030 0, // 0x74 t
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1031 0, // 0x75 u
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1032 0, // 0x76 v
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1033 0, // 0x77 w
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1034 0, // 0x78 x
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1035 0, // 0x79 y
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1036 0, // 0x7A z
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1037 0, // 0x7B {
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1038 0, // 0x7C |
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1039 0, // 0x7D }
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1040 0, // 0x7E ~
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1041 0, // 0x7f
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1042 0, // 0x80
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1043 0, // 0x81
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1044 0, // 0x82
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1045 0, // 0x83
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1046 0, // 0x84
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1047 0, // 0x85
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1048 0, // 0x86
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1049 0, // 0x87
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1050 0, // 0x88
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1051 0, // 0x89
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1052 0, // 0x8a
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1053 0, // 0x8b
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1054 0, // 0x8c
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1055 0, // 0x8d
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1056 0, // 0x8e
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1057 0, // 0x8f
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1058 0, // 0x90
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1059 0, // 0x91
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1060 0, // 0x92
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1061 0, // 0x93
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1062 0, // 0x94
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1063 0, // 0x95
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1064 0, // 0x96
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1065 0, // 0x97
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1066 0, // 0x98
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1067 0, // 0x99
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1068 0, // 0x9a
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1069 0, // 0x9b
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1070 0, // 0x9c
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1071 0, // 0x9d
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1072 0, // 0x9e
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1073 0, // 0x9f
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1074 0, // 0xa0
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1075 0, // 0xa1
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1076 0, // 0xa2
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1077 0, // 0xa3
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1078 0, // 0xa4
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1079 0, // 0xa5
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1080 0, // 0xa6
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1081 0, // 0xa7
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1082 0, // 0xa8
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1083 0, // 0xa9
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1084 0, // 0xaa
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1085 0, // 0xab
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1086 0, // 0xac
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1087 0, // 0xad
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1088 0, // 0xae
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1089 0, // 0xaf
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1090 0, // 0xb0
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1091 0, // 0xb1
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1092 0, // 0xb2
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1093 0, // 0xb3
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1094 0, // 0xb4
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1095 0, // 0xb5
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1096 0, // 0xb6
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1097 0, // 0xb7
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1098 0, // 0xb8
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1099 0, // 0xb9
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1100 0, // 0xba
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1101 0, // 0xbb
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1102 0, // 0xbc
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1103 0, // 0xbd
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1104 0, // 0xbe
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1105 0, // 0xbf
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1106 0, // 0xc0
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1107 0, // 0xc1
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1108 0, // 0xc2
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1109 0, // 0xc3
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1110 0, // 0xc4
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1111 0, // 0xc5
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1112 0, // 0xc6
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1113 0, // 0xc7
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1114 0, // 0xc8
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1115 0, // 0xc9
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1116 0, // 0xca
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1117 0, // 0xcb
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1118 0, // 0xcc
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1119 0, // 0xcd
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1120 0, // 0xce
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1121 0, // 0xcf
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1122 0, // 0xd0
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1123 0, // 0xd1
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1124 0, // 0xd2
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1125 0, // 0xd3
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1126 0, // 0xd4
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1127 0, // 0xd5
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1128 0, // 0xd6
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1129 0, // 0xd7
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1130 0, // 0xd8
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1131 0, // 0xd9
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1132 0, // 0xda
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1133 0, // 0xdb
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1134 0, // 0xdc
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1135 0, // 0xdd
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1136 0, // 0xde
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1137 0, // 0xdf
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1138 0, // 0xe0
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1139 0, // 0xe1
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1140 0, // 0xe2
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1141 0, // 0xe3
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1142 0, // 0xe4
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1143 0, // 0xe5
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1144 0, // 0xe6
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1145 0, // 0xe7
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1146 0, // 0xe8
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1147 0, // 0xe9
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1148 0, // 0xea
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1149 0, // 0xeb
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1150 0, // 0xec
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1151 0, // 0xed
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1152 0, // 0xee
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1153 0, // 0xef
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1154 0, // 0xf0
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1155 0, // 0xf1
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1156 0, // 0xf2
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1157 0, // 0xf3
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1158 0, // 0xf4
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1159 0, // 0xf5
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1160 0, // 0xf6
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1161 0, // 0xf7
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1162 0, // 0xf8
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1163 0, // 0xf9
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1164 0, // 0xfa
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1165 0, // 0xfb
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1166 0, // 0xfc
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1167 0, // 0xfd
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1168 0, // 0xfe
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1169 0, // 0xff
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1170 };
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1171
8
dbe18921f741 integration work on url scanner
carl
parents: 7
diff changeset
1172 #define PENDING_LIMIT 100
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1173 struct fsa {
12
6ac6d6b822ce fix memory leak with duplicate url host names,
carl
parents: 11
diff changeset
1174 u_char pending[PENDING_LIMIT];
6ac6d6b822ce fix memory leak with duplicate url host names,
carl
parents: 11
diff changeset
1175 int count;
6ac6d6b822ce fix memory leak with duplicate url host names,
carl
parents: 11
diff changeset
1176 state st;
6ac6d6b822ce fix memory leak with duplicate url host names,
carl
parents: 11
diff changeset
1177 state init;
67
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1178 fsa *next1;
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1179 fsa *next2;
24
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
1180 recorder *memory;
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1181
67
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1182 fsa(state init, fsa *next1_, fsa *next2_, recorder *memory_);
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1183 void push(u_char *buf, int len);
16
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1184 void pusher();
19
b8f5fa3dd5b8 fix problems in the state transitions causing impossible states
carl
parents: 18
diff changeset
1185 void error(char *err);
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1186 };
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1187
24
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
1188 fsa::fsa(state init_, fsa *next1_, fsa *next2_, recorder *memory_) {
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
1189 count = 0;
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
1190 st = init_;
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
1191 init = init_;
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
1192 next1 = next1_;
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
1193 next2 = next2_;
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
1194 memory = memory_;
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1195 }
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1196
19
b8f5fa3dd5b8 fix problems in the state transitions causing impossible states
carl
parents: 18
diff changeset
1197 void fsa::error(char *err) {
b8f5fa3dd5b8 fix problems in the state transitions causing impossible states
carl
parents: 18
diff changeset
1198 count = 0;
b8f5fa3dd5b8 fix problems in the state transitions causing impossible states
carl
parents: 18
diff changeset
1199 st = init;
42
afcf403709ef updates for 3.2, try to drop root privileges
carl
parents: 41
diff changeset
1200 if (err) my_syslog(memory->priv, err);
19
b8f5fa3dd5b8 fix problems in the state transitions causing impossible states
carl
parents: 18
diff changeset
1201 }
b8f5fa3dd5b8 fix problems in the state transitions causing impossible states
carl
parents: 18
diff changeset
1202
16
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1203 void fsa::pusher() {
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1204 if (next1) next1->push(pending, count);
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1205 if (next2) next2->push(pending, count);
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1206 count = 0;
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1207 }
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1208
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1209 void fsa::push(u_char *buf, int len) {
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1210 for (int i=0; i<len; i++) {
19
b8f5fa3dd5b8 fix problems in the state transitions causing impossible states
carl
parents: 18
diff changeset
1211 if (count == (PENDING_LIMIT-1)) error(NULL);
b8f5fa3dd5b8 fix problems in the state transitions causing impossible states
carl
parents: 18
diff changeset
1212 if (st >= end_state) error("finite state machine impossible state");
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1213 u_char c = buf[i];
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1214 pending[count++] = c;
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1215 st = parse_table[c][st];
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1216 switch (st) {
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1217
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1218 //////////////////////////////
16
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1219 // host name recognizer
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1220 case h_end: {
18
041ea016b684 add scanning for bare hostnames
carl
parents: 17
diff changeset
1221 pending[--count] = '\0'; // null terminate host name by overwriting the terminator
27
43a4f6b3e668 add configurable host name limit and bad html tag limits.
carl
parents: 25
diff changeset
1222 if (!strchr((const char *)pending, '@')) {
43a4f6b3e668 add configurable host name limit and bad html tag limits.
carl
parents: 25
diff changeset
1223 // not an email address or message id
28
33e1e3910506 add configurable list of tlds
carl
parents: 27
diff changeset
1224 char *p1 = strchr((const char *)pending, '.');
33e1e3910506 add configurable list of tlds
carl
parents: 27
diff changeset
1225 char *p2 = strrchr((const char *)pending, '.');
52
a84752107aca host names cannot have consecutive periods.
carl
parents: 50
diff changeset
1226 char *p3 = strstr((const char *)pending, "..");
a84752107aca host names cannot have consecutive periods.
carl
parents: 50
diff changeset
1227 if (p1 && (p1 != p2) & !p3) {
a84752107aca host names cannot have consecutive periods.
carl
parents: 50
diff changeset
1228 // have two periods, so at least three components, and no empty components
44
6b79046b18c2 changes for 3.2
carl
parents: 42
diff changeset
1229 for (int i=0; i<count; i++) pending[i] = tolower(pending[i]);
28
33e1e3910506 add configurable list of tlds
carl
parents: 27
diff changeset
1230 // is last component a tld?
29
4dfdf33f1db0 add syslog msg freeing memory, use bare tld names without leading period
carl
parents: 28
diff changeset
1231 string_set::iterator i = memory->tlds->find(p2+1);
28
33e1e3910506 add configurable list of tlds
carl
parents: 27
diff changeset
1232 if (i != memory->tlds->end()) memory->new_url((char*)pending);
16
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1233 }
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1234 }
19
b8f5fa3dd5b8 fix problems in the state transitions causing impossible states
carl
parents: 18
diff changeset
1235 st = h_init;
16
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1236 } // fall thru
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1237
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1238 case h_init: {
18
041ea016b684 add scanning for bare hostnames
carl
parents: 17
diff changeset
1239 count = 0;
16
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1240 } break;
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1241
23
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
1242
16
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1243 //////////////////////////////
18
041ea016b684 add scanning for bare hostnames
carl
parents: 17
diff changeset
1244 // html tag discarder
25
6176e7b2e8af better scanning for bad html tags, allow binary zip and gz files with random char sequences
carl
parents: 24
diff changeset
1245 case t_bin: {
6176e7b2e8af better scanning for bad html tags, allow binary zip and gz files with random char sequences
carl
parents: 24
diff changeset
1246 memory->binary();
6176e7b2e8af better scanning for bad html tags, allow binary zip and gz files with random char sequences
carl
parents: 24
diff changeset
1247 st = t_disc;
6176e7b2e8af better scanning for bad html tags, allow binary zip and gz files with random char sequences
carl
parents: 24
diff changeset
1248 count = 0; // discard all characters
6176e7b2e8af better scanning for bad html tags, allow binary zip and gz files with random char sequences
carl
parents: 24
diff changeset
1249 } break;
6176e7b2e8af better scanning for bad html tags, allow binary zip and gz files with random char sequences
carl
parents: 24
diff changeset
1250
18
041ea016b684 add scanning for bare hostnames
carl
parents: 17
diff changeset
1251 case t_end: {
31
d16b27371533 consider <!tag> to be bad html tag
carl
parents: 30
diff changeset
1252 if (count > 1) {
24
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
1253 pending[--count] = '\0'; // null terminate html tag
33
ce229348cdbe failed to lowercase the first char of html tags
carl
parents: 31
diff changeset
1254 for (int i=0; i<count; i++) pending[i] = tolower(pending[i]);
31
d16b27371533 consider <!tag> to be bad html tag
carl
parents: 30
diff changeset
1255 memory->new_tag((char*)pending);
24
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
1256 }
25
6176e7b2e8af better scanning for bad html tags, allow binary zip and gz files with random char sequences
carl
parents: 24
diff changeset
1257 st = (c == ' ') ? t_disc : t_init;
6176e7b2e8af better scanning for bad html tags, allow binary zip and gz files with random char sequences
carl
parents: 24
diff changeset
1258 } // fall thru
6176e7b2e8af better scanning for bad html tags, allow binary zip and gz files with random char sequences
carl
parents: 24
diff changeset
1259
31
d16b27371533 consider <!tag> to be bad html tag
carl
parents: 30
diff changeset
1260 case t_tag1:
30
8f43f8fa1ad7 ignore text including bad html tags inside comments
carl
parents: 29
diff changeset
1261 case t_com2:
8f43f8fa1ad7 ignore text including bad html tags inside comments
carl
parents: 29
diff changeset
1262 case t_com3:
8f43f8fa1ad7 ignore text including bad html tags inside comments
carl
parents: 29
diff changeset
1263 case t_com4:
8f43f8fa1ad7 ignore text including bad html tags inside comments
carl
parents: 29
diff changeset
1264 case t_com5:
25
6176e7b2e8af better scanning for bad html tags, allow binary zip and gz files with random char sequences
carl
parents: 24
diff changeset
1265 case t_disc: {
18
041ea016b684 add scanning for bare hostnames
carl
parents: 17
diff changeset
1266 count = 0; // discard all characters
16
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1267 } break;
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1268
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1269 case t_init: {
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1270 pusher();
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1271 } break;
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1272
23
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
1273
16
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1274 //////////////////////////////
7
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
1275 // url recognizer
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
1276 case u_reco: {
19
b8f5fa3dd5b8 fix problems in the state transitions causing impossible states
carl
parents: 18
diff changeset
1277 if (count > 13) { // need some minimal length host name after the protocol
b8f5fa3dd5b8 fix problems in the state transitions causing impossible states
carl
parents: 18
diff changeset
1278 pending[--count] = '\0'; // null terminate host name by overwriting the terminator
23
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
1279 char *p = strrchr((const char *)pending, '/');
52
a84752107aca host names cannot have consecutive periods.
carl
parents: 50
diff changeset
1280 if (p && // have a leading /
a84752107aca host names cannot have consecutive periods.
carl
parents: 50
diff changeset
1281 strchr(p, '.') && // require at least one . in a dns name
a84752107aca host names cannot have consecutive periods.
carl
parents: 50
diff changeset
1282 !strstr(p, "..") && // no empty components in the dns name
23
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
1283 (strncasecmp((const char *)pending, "http", 4) == 0)) { // must start with protocol
44
6b79046b18c2 changes for 3.2
carl
parents: 42
diff changeset
1284 // we seem to have a host name
6b79046b18c2 changes for 3.2
carl
parents: 42
diff changeset
1285 p++; // skip the last /
6b79046b18c2 changes for 3.2
carl
parents: 42
diff changeset
1286 int c = strlen(p);
6b79046b18c2 changes for 3.2
carl
parents: 42
diff changeset
1287 for (int i=0; i<c; i++) p[i] = tolower(p[i]);
6b79046b18c2 changes for 3.2
carl
parents: 42
diff changeset
1288 memory->new_url(p); // record it
9
8c65411cd7ab integration work on url scanner
carl
parents: 8
diff changeset
1289 }
8
dbe18921f741 integration work on url scanner
carl
parents: 7
diff changeset
1290 }
19
b8f5fa3dd5b8 fix problems in the state transitions causing impossible states
carl
parents: 18
diff changeset
1291 st = u_init;
16
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1292 } // fall thru
7
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
1293
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
1294 case u_init: {
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
1295 count = 0; // discard all characters
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
1296 } break;
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
1297
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
1298
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
1299 //////////////////////////////
23
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
1300 // url decoder %xx
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
1301 case d_2: {
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
1302 pending[0] = hex_decode[pending[1]] * 16 + hex_decode[pending[2]];
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
1303 count = 1;
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
1304 st = d_init;
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
1305 } // fall thru
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
1306
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
1307 case d_init: {
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
1308 pusher();
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
1309 } break;
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
1310
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
1311
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
1312 //////////////////////////////
41
d95af8129dfa updates for 3.2, changing file layout, add queueid to messages
carl
parents: 37
diff changeset
1313 // html entity decoder &#nnn; &#xnnn;
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1314 case e_semi: {
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1315 pending[--count] = '\0'; // null terminate the digit string by overwriting the semicolon
41
d95af8129dfa updates for 3.2, changing file layout, add queueid to messages
carl
parents: 37
diff changeset
1316 u_char f = pending[2];
d95af8129dfa updates for 3.2, changing file layout, add queueid to messages
carl
parents: 37
diff changeset
1317 if ((f == 'x') || (f == 'X')) {
d95af8129dfa updates for 3.2, changing file layout, add queueid to messages
carl
parents: 37
diff changeset
1318 pending[0] = strtol((const char *)pending+2, (char **)NULL, 16);
d95af8129dfa updates for 3.2, changing file layout, add queueid to messages
carl
parents: 37
diff changeset
1319 }
d95af8129dfa updates for 3.2, changing file layout, add queueid to messages
carl
parents: 37
diff changeset
1320 else {
d95af8129dfa updates for 3.2, changing file layout, add queueid to messages
carl
parents: 37
diff changeset
1321 pending[0] = atoi((const char *)pending+2);
d95af8129dfa updates for 3.2, changing file layout, add queueid to messages
carl
parents: 37
diff changeset
1322 }
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1323 count = 1;
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1324 st = e_init;
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1325 } // fall thru
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1326
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1327 case e_init: {
16
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1328 pusher();
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1329 } break;
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1330
23
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
1331
16
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1332 //////////////////////////////
23
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
1333 // mime decoder =xx
16
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1334 case m_2: {
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1335 pending[0] = hex_decode[pending[1]] * 16 + hex_decode[pending[2]];
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1336 count = 1;
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1337 st = m_init;
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1338 } // fall thru
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1339
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1340 case m_init: {
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1341 pusher();
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1342 } break;
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1343
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1344 case m_cr: {
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1345 count = 1;
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1346 st = m_eq;
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1347 } break;
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1348
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1349 case m_nl: {
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1350 count = 0;
16
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1351 st = m_init;
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1352 } break;
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1353
23
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
1354
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1355 //////////////////////////////
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1356 // base64 decoder
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1357 case b_lf2: {
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1358 count--;
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1359 } break;
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1360
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1361 case b_cr: {
67
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1362 if ((count % 4) == 1) { // base64 data with trailing cr
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1363 count--; // ignore this cr
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1364 // might have proper b64 data
67
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1365 int cnt = 0;
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1366 for (int i=0; i<count; i+=4) {
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1367 unsigned long a1 = b64_decode[pending[i]];
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1368 unsigned long a2 = b64_decode[pending[i+1]];
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1369 unsigned long a3 = b64_decode[pending[i+2]];
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1370 unsigned long a4 = b64_decode[pending[i+3]];
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1371 unsigned long a = (a1 << 18) | (a2 << 12) | (a3 << 6) | a4;
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1372 pending[cnt++] = (a & 0x00ff0000) >> 16;
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1373 pending[cnt++] = (a & 0x0000ff00) >> 8;
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1374 pending[cnt++] = (a & 0x000000ff);
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1375 if ((char)pending[i+3] == '=') cnt--;
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1376 if ((char)pending[i+2] == '=') cnt--;
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1377 }
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1378 count = cnt;
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1379 st = b_lf2;
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1380 }
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1381 else st = b_init;
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1382 } // fall thru
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1383
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1384 case b_lf:
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1385 case b_init: {
16
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1386 pusher();
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1387 } break;
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1388
23
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
1389
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1390 //////////////////////////////
67
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1391 // uuencoding decoder
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1392 case uu_lf2: {
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1393 count--;
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1394 } break;
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1395
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1396 case uu_cr: {
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1397 if ((count % 4) == 2) { // leading count byte, uuencoded data, trailing cr
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1398 count--; // ignore this cr
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1399 int bytes = uu_decode[pending[0]]; // bytes we are supposed to get from this line
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1400 int size = (bytes+2)/3*4; // encoded size of those bytes
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1401 if (size == count-1) { // encoded size matches line length
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1402 // might have proper uu data
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1403 int cnt = 0;
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1404 for (int i=1; i<count; i+=4) {
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1405 unsigned long a1 = uu_decode[pending[i]];
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1406 unsigned long a2 = uu_decode[pending[i+1]];
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1407 unsigned long a3 = uu_decode[pending[i+2]];
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1408 unsigned long a4 = uu_decode[pending[i+3]];
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1409 unsigned long a = (a1 << 18) | (a2 << 12) | (a3 << 6) | a4;
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1410 pending[cnt++] = (a & 0x00ff0000) >> 16;
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1411 pending[cnt++] = (a & 0x0000ff00) >> 8;
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1412 pending[cnt++] = (a & 0x000000ff);
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1413 }
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1414 count = bytes;
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1415 st = uu_lf2;
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1416 }
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1417 else st = uu_init;
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1418 }
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1419 else st = uu_init;
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1420 } // fall thru
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1421
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1422 case uu_lf:
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1423 case uu_init: {
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1424 pusher();
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1425 } break;
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1426
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1427
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1428 //////////////////////////////
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1429 // states that just accumulate characters in the pending buffer
16
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1430 case h_host:
30
8f43f8fa1ad7 ignore text including bad html tags inside comments
carl
parents: 29
diff changeset
1431 case t_tag2:
31
d16b27371533 consider <!tag> to be bad html tag
carl
parents: 30
diff changeset
1432 case t_com1:
7
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
1433 case u_http:
93ff6d1ef647 stable standalone scanner module
carl
parents: 6
diff changeset
1434 case u_url:
23
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
1435 case u_sla:
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
1436 case d_pcnt:
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
1437 case d_1:
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1438 case e_amp:
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1439 case e_num:
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1440 case m_eq:
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1441 case m_1:
23
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
1442 case b_64:
67
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1443 case uu_64:
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1444 default: {
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1445 } break;
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1446 }
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1447 }
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1448 }
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1449
8
dbe18921f741 integration work on url scanner
carl
parents: 7
diff changeset
1450 struct url_scanner {
16
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1451 fsa *host_parser;
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1452 fsa *tags_parser;
8
dbe18921f741 integration work on url scanner
carl
parents: 7
diff changeset
1453 fsa *urls_parser;
23
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
1454 fsa *urld_parser;
8
dbe18921f741 integration work on url scanner
carl
parents: 7
diff changeset
1455 fsa *html_parser;
dbe18921f741 integration work on url scanner
carl
parents: 7
diff changeset
1456 fsa *mime_parser;
dbe18921f741 integration work on url scanner
carl
parents: 7
diff changeset
1457 fsa *b64_parser;
67
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1458 fsa *uu_parser;
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1459
24
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
1460 url_scanner(recorder *memory);
8
dbe18921f741 integration work on url scanner
carl
parents: 7
diff changeset
1461 ~url_scanner();
dbe18921f741 integration work on url scanner
carl
parents: 7
diff changeset
1462 void scan(u_char *buffer, size_t length);
dbe18921f741 integration work on url scanner
carl
parents: 7
diff changeset
1463 };
dbe18921f741 integration work on url scanner
carl
parents: 7
diff changeset
1464
24
2e23b7184d2b start coding for bad html tag detection
carl
parents: 23
diff changeset
1465 url_scanner::url_scanner(recorder *memory) {
67
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1466 host_parser = new fsa(h_init, NULL, NULL, memory);
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1467 tags_parser = new fsa(t_init, host_parser, NULL, memory);
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1468 urls_parser = new fsa(u_init, NULL, NULL, memory);
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1469 urld_parser = new fsa(d_init, urls_parser, tags_parser, memory);
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1470 html_parser = new fsa(e_init, urld_parser, NULL, memory);
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1471 mime_parser = new fsa(m_init, html_parser, NULL, memory);
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1472 b64_parser = new fsa(b_init, mime_parser, NULL, memory);
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1473 uu_parser = new fsa(uu_init, b64_parser, NULL, memory);
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1474 }
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1475
8
dbe18921f741 integration work on url scanner
carl
parents: 7
diff changeset
1476 url_scanner::~url_scanner() {
16
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1477 delete host_parser;
2ae8d953f1d0 add scanning for bare hostnames
carl
parents: 12
diff changeset
1478 delete tags_parser;
8
dbe18921f741 integration work on url scanner
carl
parents: 7
diff changeset
1479 delete urls_parser;
23
06de5ab6a232 add url decoding stage, allow http:/ single / in yahoo redirector, allow ip address hostnames
carl
parents: 19
diff changeset
1480 delete urld_parser;
8
dbe18921f741 integration work on url scanner
carl
parents: 7
diff changeset
1481 delete html_parser;
dbe18921f741 integration work on url scanner
carl
parents: 7
diff changeset
1482 delete mime_parser;
dbe18921f741 integration work on url scanner
carl
parents: 7
diff changeset
1483 delete b64_parser;
67
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1484 delete uu_parser;
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1485 }
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1486
8
dbe18921f741 integration work on url scanner
carl
parents: 7
diff changeset
1487 void url_scanner::scan(u_char *buffer, size_t length) {
67
a39c813e8f7b add uuencode decoding
carl
parents: 52
diff changeset
1488 uu_parser->push(buffer, length);
6
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1489 }
cea50d98a6cf start work on content url scanner
carl
parents:
diff changeset
1490