Jump to content
willboy

Link yahoo

Recommended Posts

Salut. Lucrez la un programel in visual.net care schimba parola la mess, dar nu stiu care este linkul de schimbare a parolei. Pe cel de logare l-am gasit dar pe cel care schimba nu. Am incercat asta dar nu merge "https://edit.yahoo.com/config/change_pw?.opw=parola&.pw1=parola9&.pw2=parola9&.commit=Save"

Link to comment
Share on other sites

Nu exista un link, si pentru schimbare trebuie facute mai multe requesturi care sa pastreze si cookie-urile. Parola va trebui prima oara pentru logare, apoi va fi necesara verificarea sa inainte de schimbarea propriu-zisa. In jur de 3-4 request-uri GET/POST cred.

Link to comment
Share on other sites

Login-ul l-am facut asa si merge: MsgBox("Introdu ID", MsgBoxStyle.Information, "ID")

If vbOK Then

TextBox1.Select()

Return

End If

End If

If TextBox2.Text = "" Then

MsgBox("Introdu parola", MsgBoxStyle.Information, "Parola")

If vbOK Then

TextBox2.Select()

Return

End If

End If

If TextBox3.Text = "" Then

MsgBox("Introdu parola noua", MsgBoxStyle.Information, "Parola")

If vbOK Then

TextBox3.Select()

Return

End If

End If

Dim url As String

url = ("https://login.yahoo.com/config/login?login=" & TextBox1.Text & "&passwd=" & TextBox2.Text & "&.done=http://edit.yahoo.com/config/change_pw")

WebBrowser1.Navigate(url)

dar mai departe nu mai stiu cum se face sa schimb parola..

Link to comment
Share on other sites

A, super, decat pastrezi cookie de la request-ul anterior apoi mai faci unul prin POST cookie-ul respectiv. Nu stiu daca merge cu WebBrowser sa setezi date prin GET si POST, dar trebuie sa mearga, ceilalti parametrii de la Navigate trebuie sa fie. Si cred ca se poate lua si cookie din WebBrowser. Foloseste si tu WinSock :)

Link to comment
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.



×
×
  • Create New...