End Google Ads 201810 - BS.net 01 --> hi all,

I am using

static /*const*/ char alphabet[] = "abcdefghijklmnopqrstuvwxyz" "ABCDEFGHIJKLMNOPQRSTUVWXYZ" "0123456789"; static /*const*/ int alphabet_size = sizeof(alphabet) - 1; CString str_val=_T("");void brute_impl(char * str, int index, int max_depth){ int i; for (i = 0; i < alphabet_size; ++i) { str[index] = alphabet[i]; if (index == max_depth - 1) { str_val.Format("%s", str); //check the password here } else { brute_impl(str, index + 1, max_depth); } }} void brute_sequential(int max_len){ char * buf = new char[max_len + 1]; //buf = malloc(max_len + 1); int i=0; while(buf[i] != NULL) { if(i==max_len+1) break; buf[i]='\0'; i++; } CString str=_T(""); str.Format("size of array is %d\n", i); for (i = 1; i