I dunno if it works. My friend told me the link, and requested me to make this shit.
Compile it yourself cuz I'm lazy to upload it:
Code:
using System;
using System.Net;
using System. IO;
using System.Text.RegularExpressions;
using System.Collections.Generic;
internal static class Program
{
private static WebClient client = new WebClient();
private static List<string> generatedAccs = new List<string>();
public static void Main()
{
Console.Title = "Minecraft account generator - by Raydenman from mpgh.net";
Console.Write("Number of accounts to generate: ");
string number = Console.ReadLine();
if (IsNumeric(number) != true)
{
// Not a number ...
Main();
return;
}
for (var i = 0; i < Convert.ToInt32(number); i++)
{
Console.WriteLine(genAcc());
}
Console.WriteLine();
Console.WriteLine(number + " accounts generated successfully!");
Console.Write("Would you like to save them in a text file on your Desktop? (y/n) ");
string reply = Console.ReadLine();
if (reply.ToLower() == "y")
{
SaveToTextFile();
}
}
public static string genAcc()
{
try
{
string strpage = client.DownloadString("https://minecraftoriginal.com.br/gerador/J3S984MSjrT92sSA.php");
MatchCollection mc = Regex.Matches(strpage, "([A-Za-z0-9_.+-])+@[A-Za-z-0-9]+\\.[a-za-z0-9]{2,10}:[A-Za-z0-9]{3,}");
generatedAccs.Add(mc[0].ToString());
return mc[0].ToString();
}
catch
{
return genAcc();
}
}
public static void SaveToTextFile()
{
if (!(File.Exists(Environment.GetFolderPath(Environment.SpecialFolder.Desktop) + "\\MinecraftAccounts.txt")))
{
File.Create(Environment.GetFolderPath(Environment.SpecialFolder.Desktop) + "\\MinecraftAccounts.txt").Dispose();
}
for (var i = 0; i < generatedAccs.Count; i++)
{
StreamWriter sw = new StreamWriter(Environment.GetFolderPath(Environment.SpecialFolder.Desktop) + "\\MinecraftAccounts.txt", true);
sw.WriteLine(generatedAccs[i] + Environment.NewLine);
sw.Close();
}
}
public static bool IsNumeric(object Expression)
{
double retNum;
bool isNum = Double.TryParse(Convert.ToString(Expression), System.Globalization.NumberStyles.Any, System.Globalization.NumberFormatInfo.InvariantInfo, out retNum);
return isNum;
}
}