Advertisement
Guest User

Untitled

a guest
May 10th, 2017
852
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 KB | None | 0 0
  1. static void rewrite()
  2. {
  3. StringBuilder newFile = new StringBuilder();
  4. //can probably just read from the file
  5. string[] accountList = { "Hatheseahendd3Eh3@mebenz.pw",
  6. "Itonarinasedc86h3@mebenz.pw",
  7. "AtaranalitoupFnh3@mebenz.pw",
  8. "Aleatehendiseo6h3@mebenz.pw",
  9. "EnesaneralonuIB8h3@mebenz.pw",
  10. "OnisesouhatexX72h3@mebenz.pw",
  11. "OreranitalatqI3Bh3@mebenz.pw",
  12. "OuhetenengedlK66h3@mebenz.pw",
  13. "SehanehelentdWz4h3@mebenz.pw",
  14. "MehentesisiniNO0h3@mebenz.pw",
  15. "RemehihethanxAjQh3@mebenz.pw",
  16. "Ineraneahetok18h3@mebenz.pw",
  17. "SetiremewavemB4Fh3@mebenz.pw",
  18. "Sethenedisoubgkh3@mebenz.pw",
  19. "LehendedenonhK2h3@mebenz.pw",
  20. "EathinedenorhBdh3@mebenz.pw",
  21. "SteseamewahazVQkh3@mebenz.pw",
  22. "StoutonengingN17h3@mebenz.pw",
  23. "HestedatanonfO3Nh3@mebenz.pw",
  24. "Tohesterenonx3rh3@mebenz.pw",
  25. "Hithanoriteawkoh3@mebenz.pw",
  26. "OnerenesorasbWlGh3@mebenz.pw",
  27. "EritenaninalcTloh3@mebenz.pw",
  28. "Sterisenalesq2uh3@mebenz.pw" };
  29.  
  30. string[] iniNames = { "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35" };
  31.  
  32. for (int i = 0; i < iniNames.Length; i++)
  33. {
  34. string temp = "";
  35. string[] file = File.ReadAllLines(@"C:\Users\Dima\Desktop\Blasters Kerning\New folder\b-" + iniNames[i] + ".ini");
  36. foreach (string line in file)
  37. {
  38. Console.WriteLine(line);
  39. if (line.Contains("ACC="))
  40. {
  41. temp = line.Replace(line, "ACC=" + accountList[i]);
  42. newFile.Append(temp + "\r\n");
  43. continue;
  44. }
  45. newFile.Append(line + "\r\n");
  46. }
  47. File.WriteAllText(@"C:\Users\Dima\Desktop\Blasters Kerning\New folder\b-" + iniNames[i] + ".ini", newFile.ToString());
  48. }
  49. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement