Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Logowanie w Orange.pl
bpp
post
Post #1





Grupa: Zarejestrowani
Postów: 3
Pomógł: 0
Dołączył: 11.12.2010

Ostrzeżenie: (0%)
-----


Witam, potrzebuje skryptu który zaloguje się w Orange.pl. Użyłem sniffera żeby zobaczyć co jest wysyłane metodą POST i okazuje się, że do serwera nic nie jest wysyłane. Nie wiem jak ten portal funkcjonuje. Znalazłem kilka skryptów w internecie jednak żaden nie działa, bo prawdopodobnie Orange zmieniło parametry POST, których nie da się znaleźć, bo albo Wireshark nie widzi żeby coś było wysyłane, albo nic nie jest wysyłane. Jeśli nie skrypt to proszę chociaż o te parametry. No i czy curl tworzy sobie sam ciastka?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
aart3k
post
Post #2





Grupa: Zarejestrowani
Postów: 72
Pomógł: 10
Dołączył: 2.02.2008
Skąd: Kraków

Ostrzeżenie: (0%)
-----


Wystarczy spojrzeć do html i już wiadomo co jak działa
  1. <form id="loginForm" method="post" action="https://www.orange.pl/start.phtml?_DARGS=/gear/infoportal/header/user-box.jsp"><input type="hidden" name="_dyncharset" value="UTF-8"><ul class="login-form"><li class="first"><label for="login-field">login lub nr telefonu</label><input type="text" id="login-field" name="/ptk/map/infoportal/portlet/header/formhandler/ProxyProfileFormhandler.userLogin" class="text" value=""><input type="hidden" name="_D:/ptk/map/infoportal/portlet/header/formhandler/ProxyProfileFormhandler.userLogin" value=" "></li><li><label for="password-field">hasło</label><input type="password" id="password-field" name="/ptk/map/infoportal/portlet/header/formhandler/ProxyProfileFormhandler.userPassword" class="text" value="asdasd"><input type="hidden" name="_D:/ptk/map/infoportal/portlet/header/formhandler/ProxyProfileFormhandler.userPassword" value=" "></li><li class="error"><span class="error-box">Podaj poprawny login i hasło</span></li><li class="button"><input type="hidden" name="/ptk/map/infoportal/portlet/header/formhandler/ProxyProfileFormhandler.successUrl" value="/start.phtml"><input type="hidden" name="_D:/ptk/map/infoportal/portlet/header/formhandler/ProxyProfileFormhandler.successUrl" value=" "><input type="hidden" name="/ptk/map/infoportal/portlet/header/formhandler/ProxyProfileFormhandler.errorUrl" value="/start.phtml"><input type="hidden" name="_D:/ptk/map/infoportal/portlet/header/formhandler/ProxyProfileFormhandler.errorUrl" value=" "><input type="hidden" name="/ptk/map/infoportal/portlet/header/formhandler/ProxyProfileFormhandler.login" value="loguj"><input type="hidden" name="_D:/ptk/map/infoportal/portlet/header/formhandler/ProxyProfileFormhandler.login" value=" "><ul class="links"><li><a title="przypomnij mi hasło" href="/portal/map/map/passwd_recovery" class="gray-full-box">przypomnij mi hasło</a></li><li><a title="zarejestruj się" href="/portal/map/map/register?step=1" class="gray-full-box">zarejestruj się</a></li></ul><input type="image" title="zaloguj się" src="https://www.orange.pl/binaries-https/map/infoportal/button/zaloguj_sie.gif" value="loguj" class="button"></li></ul><input type="hidden" name="_DARGS" value="/gear/infoportal/header/user-box.jsp"></form>

W firebugu ładniej to wygląda, poza tym i Data Tamper i Firebug znalazły co jest wysyłane postem.

Powodzenia
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 4.10.2025 - 16:52