diff --git a/collat_payload/post_exploit.c b/collat_payload/post_exploit.c index efde069..13b6760 100644 --- a/collat_payload/post_exploit.c +++ b/collat_payload/post_exploit.c @@ -191,6 +191,13 @@ void post_exploit_spawn_ssh_server(SOCKET sock) { //ResumeThread(thread_handle); sprintf(cur_msg, "Remote thread HANDLE: %p\n", thread_handle); send(sock, cur_msg, strlen(cur_msg), 0); + + sprintf(cur_msg, "Collat payload is done! See the payload server instructions for how to connect\n"); + send(sock, cur_msg, strlen(cur_msg), 0); + + // Close the socket so the other side knows we're done + shutdown(sock, SD_BOTH); + closesocket(sock); } // Put your own code in here!