Rev 3368 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3368 | Rev 3412 | ||
---|---|---|---|
Line 125... | Line 125... | ||
125 | { |
125 | { |
126 | char read_data[512], pass_b64[256]; |
126 | char read_data[512], pass_b64[256]; |
127 | ReadFile(0, 512, #read_data, "/sys/network/mail.dat"); |
127 | ReadFile(0, 512, #read_data, "/sys/network/mail.dat"); |
128 | if (!read_data) |
128 | if (!read_data) |
129 | { |
129 | { |
130 | //strcpy(#email_text, "eiroglif@yandex.ru"); //temporarily, for testing |
130 | strcpy(#email_text, "eiroglif@yandex.ru"); //temporarily, for testing |
131 | strcpy(#email_text, "example@mail.com"); |
131 | //strcpy(#email_text, "example@mail.com"); |
132 | //strcpy(#pass_text, "rostov"); |
132 | strcpy(#pass_text, "rostov"); |
133 | } |
133 | } |
134 | else |
134 | else |
135 | { |
135 | { |
136 | strcpy(#pass_b64, #read_data+strchr(#read_data, '\n')+1); |
136 | strcpy(#pass_b64, #read_data+strchr(#read_data, '\n')+1); |
137 | base64_decode stdcall (#pass_b64, #pass_text, strlen(#pass_b64)); |
137 | base64_decode stdcall (#pass_b64, #pass_text, strlen(#pass_b64)); |