Sign in to follow this  
0xwarning

Learn C# | Crackers/Checkers

Recommended Posts

Learn C#   |  Crackers/Checkers

 

I will provide you with some techniques you may or may not know.

I hope this will help you increase your cpm or your tools functionality.

 

Anyway lets get started.

 

[hide]

 

Disclaimer i am sorry if this is poorly written and somethings don't seem right.

Im just very high.

Also the code can not just be c & p it will require you to have some knowledge or to know how to google shit.

 

Threading

 

Many people may not already know that using a thread pool can increase productivity in your tool.

Thread thread = new Thread(new ThreadStart(Function)); // As You Can See Its just like normal threading
ThreadPool.SetMinThreads(100, 100); // But Except you can expand your Worker Threads and Completion Threads
       //MinThreads      ^^^, ^^^ Completion Threads

It is not recomended to use 200+ threads unless you have a decent rig or rdp

 

Usually people will

//Have The Thread Started
//Or
//Start The Thread Here

//Most popular way people do threading
//Is Using Parallel Options

ParallelOptions parallelOptions = new ParallelOptions
{
MaxDegreeOfParallelism = 200
};

// You Would need to set MaxDegreeOfParallelism to a number higher than the ammount of threads you are using
// example

//ThreadPool.SetMinThreads(100, 100); so (int, int) left side is minumim worker threads
ParallelOptions parallelOptions = new ParallelOptions
{
MaxDegreeOfParallelism = 200 // So if we set a max ammount so we can make the program more stable
};

To also expand on the method provided above

you want something now to filter through the lists being accounts to seriels

// What i would do is make parrallel loop through the list
// so we would use a foreach    
// the reason why i put  is because thats what we are working with. 

Parallel.ForEach(list, parallelOptions, delegate(string[] AccList)// Varible
{
try
{

//if Successful then try to display them in console 
                                        //or in a list box if you are using forms
    
}
catch
{
                                      //if there is a error log it either txt or messagebox
}
                                 //but dont forget to stop the current thread
}); 

If you are using forms try this

because it will stop the form from being unresponsive and freeze when threading

var list = new List();
list = File.ReadAllLines(AppDomain.CurrentDomain.BaseDirectory + "combo.txt").ToList();

Task.Run(() =>
{
    Parallel.For(0, list.Count, new ParallelOptions() { MaxDegreeOfParallelism = 300 }, i =>
    {
        try
        {
            //try webrequest
            Console.Writeline("Success: " + list[i]);
        }
        catch (webexception exc)
        {
            //catch fail exception
            Console.WriteLine("Failed: " + list[i]);
        }
    });
});

Im cutting this guide short but i will eloborate on more usefull code in a new thread

If you learned something or enjoyed my thread

You know what to do

[/hide]

Share this post


Link to post
Share on other sites

0xwarning

Learn C#   |  Crackers/Checkers

 

I will provide you with some techniques you may or may not know.

I hope this will help you increase your cpm or your tools functionality.

 

Anyway lets get started.

 

[align=center]

Share this post


Link to post
Share on other sites

Nice one! Looks like your are helping others

Share this post


Link to post
Share on other sites

Appreciate the tutorial buddy!

Share this post


Link to post
Share on other sites

Learn C#   |  Crackers/Checkers

 

I will provide you with some techniques you may or may not know.

I hope this will help you increase your cpm or your tools functionality.

 

Anyway lets get started.

 

[align=center]

And the other one

Share this post


Link to post
Share on other sites

let me take a look +like :)

Share this post


Link to post
Share on other sites

Learn C#   |  Crackers/Checkers

 

I will provide you with some techniques you may or may not know.

I hope this will help you increase your cpm or your tools functionality.

 

Anyway lets get started.

 

[align=center]

 

thank you so much bro

Share this post


Link to post
Share on other sites

Thanks for the tutorial man :thinking:

Share this post


Link to post
Share on other sites

Thanks for this.

Usually, I use VB.Net, but I'll try to learn how to use c# i guess.

I HOPE this a step by step guide with at least some examples of code.

Share this post


Link to post
Share on other sites

hope to learn something

Share this post


Link to post
Share on other sites

nice work its about time i tryed to learn this....

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this