C# Coding Examples [Learn C#] [Get AuthToken/Token/CustomCookies][Cracker/Checkers]

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Seçkin Üye
Katılım
17 Mar 2020
Mesajlar
298
Tepki puanı
26
Ödüller
5
Yaş
27
6 HİZMET YILI
Im back with another thread.

Today learn how to get a auth token from a site.




Step One



First Find A Site



CTRL+SHIFT+I Then Navigate to Network



Step Two



You should Notice Something Will Popup in networks tab



Like
Bağlantıları görmek için lütfen Giriş Yap




Sort through them until you find something that looks like a login (Only way i can explain)



Step Three



Open Up
Bağlantıları görmek için lütfen Giriş Yap


Fill in The Info

Like
Bağlantıları görmek için lütfen Giriş Yap




Press Send And See if it works.



If it does Continue to Step 4



Step Four



Not Providing Full Source Or You will Not Learn



Now make a using statement with HttpRequest Like Below.

using (HttpRequest httpRequest = new HttpRequest())
{

}
Step Five



To add custom headers

Some Services Require certain headers (See Step Seven)

httpRequest.AddHeader("Header", "Value");
Step Six



Now We Can Find Cookies And Search For Specific Ones For Example See Below

string Cookie = httpRequest.Get("
Bağlantıları görmek için lütfen Giriş Yap
", (RequestParams)null).Cookies.ToString().Replace("XSRF-TOKEN=", "Token=").Replace("USERSESSID=", "\nSESSION ID=").Replace("bpva=", "\nBPVA="); // Analyse The Cookes You Need
Colorful.Console.WriteLine(Cookie, Color.Green); // Now We Need To See Them
Step Seven (Analyse The Request Properly)



Since I Do Not Want to spoonfeed you guys.

You need to learn



The Data you need to do the login should be at the bottom of the network tab

Bağlantıları görmek için lütfen Giriş Yap




Some Headers Are Required to login to certain sites so you need to make sure to add headers that are needed.

You can use postman to help you simulate the request

Bağlantıları görmek için lütfen Giriş Yap






Cookies Tab in the network tab will provide you with some cookies you may need to login to major sites (twitch, etc...)

You may need a Session ID Cookie Or A Auth Cookie

Bağlantıları görmek için lütfen Giriş Yap




Overall



There will be more threads coming soon.

Im sorry this thread is short and less indepth but i will make it up to you guys soon.




Leave Suggestions On What i Should Do A Tutorial On Next
 
Uzman Üye
Katılım
19 Nis 2020
Mesajlar
292
Tepki puanı
7
Ödüller
2
Yaş
38
6 HİZMET YILI
I’ll deal with this a bit later. You're doing fine
 
私は気にしない
Süper Üye
Katılım
4 Nis 2018
Mesajlar
960
Çözümler
4
Tepki puanı
142
Ödüller
10
Sosyal
8 HİZMET YILI
Thank for sharing bro
 
The goal of all life is DEATH
Süper Üye
Katılım
9 Mar 2018
Mesajlar
860
Çözümler
6
Tepki puanı
73
Ödüller
7
8 HİZMET YILI
wow thank you for sharing ;) keep it up
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Üst