LOGIN ID PASS 2FA M.FB
user_9934166
plain_text
a month ago
3.9 kB
2
Indexable
Never
#region CODE LOGIN = 2FA RỒI GET COOKIE RequestHTTP requestlogin = new RequestHTTP("", ProxyUrl: proxy); row.Status = "Login ID|PASS|2FA"; string html1 = requestlogin.Get("https://mobile.facebook.com/").Result; if (string.IsNullOrEmpty(html1)) { row.Status = "Lỗi mạng"; return; } string datapost = getdata(html1); string clicklogin = requestlogin.PostAsync("https://mobile.facebook.com/login/device-based/login/async/?refsrc=deprecated&lwv=100", $"&email={pro.UID}&prefill_contact_point={pro.UID}&encpass={pro.Password}" + datapost); if (clicklogin.Contains("DOCTYPE")) { row.Status = "Sai pass!!!"; return; } string html2 = requestlogin.Get("https://mobile.facebook.com/checkpoint/?__req=4").Result; datapost = getdata(html2); if (!string.IsNullOrEmpty(pro.SecrectKey)) { string code = ""; var tfa = new TwoFactorAuth(); code = tfa.GetCode(pro.SecrectKey.Replace(" ", "").ToUpper()); row.Status = $"CODE : {code}"; string clicksend2fa = requestlogin.PostAsync("https://mobile.facebook.com/login/checkpoint/", $"&checkpoint_data=&approvals_code={code}&submit%5BSubmit+Code%5D=Submit+Code" + datapost); row.Status = $"Nhập Code : {code}"; string clicksavedevice = requestlogin.PostAsync("https://mobile.facebook.com/login/checkpoint/", $"&checkpoint_data=&name_action_selected=save_device&submit%5BContinue%5D=Continue" + datapost); while (clicksavedevice.Contains("checkpointSubmitButton") || clicksavedevice.Contains("submit[Continue]") || clicksavedevice.Contains("submit[This was me]")) { if (clicksavedevice.Contains("secure_account_learn_more")) { row.Status = "CP LOGIN!"; return; } row.Status = "Click Đây là tôi"; clicksavedevice = requestlogin.PostAsync("https://mobile.facebook.com/login/checkpoint/", $"&checkpoint_data=&submit%5BContinue%5D=Continue" + datapost); clicksavedevice = requestlogin.PostAsync("https://mobile.facebook.com/login/checkpoint/", $"&checkpoint_data=&submit%5BThis+was+me%5D=This+was+me" + datapost); clicksavedevice = requestlogin.PostAsync("https://mobile.facebook.com/login/checkpoint/", $"&checkpoint_data=&name_action_selected=save_device&submit%5BContinue%5D=Continue" + datapost); } } string cookie = requestlogin.GetCookie(); if (cookie.Contains("checkpoint") || !cookie.Contains("c_user")) { row.Status = "Login thất bại"; return; } row.Status = $"Đăng nhập thành công"; pro.Cookie = cookie; #endregion