Jump to content

Recommended Posts

Posted (edited)

@Thiên Chi Kiều Nữmình có dùng cookie để đăng nhập đâu, có $sFormdata chứa json account mà, nhưng mình ko post lên đây, nhưng thực sự cảm ơn Mod, mình sai về phần header đúng ra phải là | chứ ko phải là @crlf , thực sự cảm ơn Mod rất nhiều :167788116751808:

code cho các bạn tham khảo 

Local $csrftoken = '', $aStr = StringSplit('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789', '')
	For $i = 1 To 32
		$csrftoken &= $aStr[Random(1, $aStr[0], 1)]
$sFormSubmit = '';np  json cha thông tin account ti đây
$sHeader='User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1'&"|"
$sHeader&='x-csrftoken: '&$csrftoken&"|"
$sRequest = _HttpRequest(1,'https://shopee.vn/api/v2/authentication/login',$sFormSubmit,'csrftoken='&$csrftoken,'https://shopee.vn/buyer/login',$sHeader)


Edited by quimao
  • Love 1

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.

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.

  • Create New...