Jump to content
UBot Underground

[Help Needed] Http Post Twitter Avatar Change


Recommended Posts

 Now When I use the below code it works just fine (SCG Socket Recorder)

 

   set(#poster$plugin function("HTTP post.dll""$http post""https://twitter.com/i/profiles/update_profile_image""authenticity_token={#authenticitytoken}&fileName=b.jpg&height=256&mediaId=589855740078268416&offsetLeft=0&offsetTop=0&page_context=home&scribeContext%5Bcomponent%5D=profile_image_upload&scribeElement=upload&section_context=home&uploadType=avatar&width=256""Mozilla/5.0 (Windows NT 6.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36""https://twitter.com/""", 20), "Global")

 

But, as soon as i try to edit the mediaID & file name this no longer works..

So how would one go about finding the "mediaID" before you try to upload the avatar?

 

 

set(#mediaids$plugin function("HTTP post.dll""$xpath parser index"#poster"//input[@name=\'media_ids\']",0,  "value"), "Global")

set(#mediaids, $plugin function("File Management.dll", "$Find Regex First", #poster, "(?<=\"media_ids\":\").*(?=\"\})"), "Global")

 

Don't work because its trying to find these inside #poster before they exist.

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.

Guest
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.

Loading...
×
×
  • Create New...