-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
I need to enter the 2fa automatic code before performing the following operation, what should I do?
version_ = str(random.randint(7,13))
model_ = "Infinix"
brand_name_ = "Infinix"
width_ = "720"
height_ = "1280"
adid = str(uuid.uuid4())
my_ip = str(random.randint(200,350))+"."+str(random.randint(600,730))+"."+str(random.randint(604,690))+"."+str(random.randint(140,197))
uat = 'Davik/2.1.0 (Linux; U; Android '+version_+'.0.0; '+brand_name_+' Build/'+''.join(random.choice(string.ascii_uppercase + string.digits) for _ in range(6))+') [FBAN/FB4A;FBAV/'+my_ip+';FBPN/com.facebook.katana;FBLC/en_US;FBBV/'+str(random.randint(700000000,830000000))+';FBCR/null;FBMF/'+brand_name_+';FBBD/'+brand_name_+';FBDV/'+brand_name_+';FBSV/'+version_+'.0.0;FBCA/armeabi-v7a:armeabi;FBDM/{density=3.75,width='+width_+',height='+height_+'};FB_FW/1;]'
head = {'Connection': 'keep-alive', 'Authorization': 'OAuth 275254692598279|585aec5b4c27376758abb7ffcb9db2af', 'Host': 'b-graph.facebook.com', 'X-FB-Connection-Bandwidth': str(random.randint(2e7, 3e7)), 'X-FB-Net-HNI': str(random.randint(2e4, 4e4)), 'X-FB-SIM-HNI': str(random.randint(2e4, 4e4)), 'X-FB-Connection-Quality': 'EXCELLENT', 'X-FB-Connection-Type': 'WIFI.LTE', 'X-Tigon-Is-Retry': 'False', 'User-Agent': uat, 'Accept-Encoding': 'gzip, deflate', 'Content-Type': 'application/x-www-form-urlencoded', 'X-FB-HTTP-Engine': 'Liger', 'Content-Length': '530'}
data = "adid="+adid+"&email="+iid+"&password="+pas+"&cpl=true&credentials_type=password&error_detail_type=button_with_disabled&source=login&format=json&device_id="+adid+"&family_device_id="+adid+"&session_id="+adid+"&generate_session_cookies=1&generate_analytics_claim=1&generate_machine_id=1&locale=en_US&client_country_code=US&advertising_id="+adid+"&fb_api_req_friendly_name=authenticate"
po = requests.post("https://b-graph.facebook.com/auth/login",data=data,headers=head).json()
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels