i am having a hard to trying to write a .exe such as calc.exe from a recv Buffer to the file thats created with CreateFile , here is my loop
does anyonr know the correct way?Code:while(recv(sock,Buffer,sizeof(Buffer),0) > 0) { printf("%s\n","writing contents to file"); WriteFile(f,Buffer,sizeof(Buffer),&written,0); Sleep(50); }



LinkBack URL
About LinkBacks




