I am attempting to recreate the HTML login form for a GoDaddy Reseller site so I can embed it in another website but not having much luck.
Login Form: https://idp.secureserver.net/login.aspx?ci=9106&spkey=SPSWNET-130506071814002&prog_id=domainspricedright
For example, if you try to copy and paste the entire DOM element into a blank page and try logging in with it, you get redirected to the login page on the reseller site where you have to enter you credentials again.
I also tried stripping the form down to the bare essentials to see if that would help. This would be the ideal form but doesn't work either:
<form name="Form1" method="post" action="https://idp.secureserver.net/login.aspx?spkey=SPMYA4-130117123532002&target=https%3a%2f%2fmya.secureserver.net%2fDefault.aspx%3fci%3d12819%26prog_id%3ddomainspricedright&prog_id=domainspricedright">
<label for="Login$userEntryPanel2$UsernameTextBox">Username or Customer #:</label>
<input name="Login$userEntryPanel2$UsernameTextBox" type="text" maxlength="30" id="Login_userEntryPanel2_UsernameTextBox">
<label for="Login$userEntryPanel2$PasswordTextBox">Password:</label>
<input name="Login$userEntryPanel2$PasswordTextBox" type="password" maxlength="255" id="Login_userEntryPanel2_PasswordTextBox">
<input type="submit" value="Login" />
</form>
Using Fiddler, I see several redirects are made but this is the initial raw request when the form is submitted (assume customer ID is 38452911330):
Host: idp.secureserver.net
Connection: keep-alive
Content-Length: 1091
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Origin: https://idp.secureserver.net
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36
Content-Type: application/x-www-form-urlencoded
Referer: https://idp.secureserver.net/login.aspx?spkey=SPMYA4-130117123532002&target=https%3a%2f%2fmya.secureserver.net%2fDefault.aspx%3fci%3d12819%26prog_id%3ddomainspricedright%26&prog_id=domainspricedright
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.8
Cookie: ShopperId0=sdqgraaclcxaaigiigthkieanimacgag; currency=USD; SplitTesting1592=1191-4=157; language1592=en-US; language412521=en-US; flag464513=cflag=us; utag_main=_st:1428290658935$page1:undefined%3Bexp-1436928858981$dc_visit:1$ses_id:1428288906707%3Bexp-session$transaction_id:undefined%3Bexp-session; garage_visit=visit; visitor=vid=0b8fb92b-c8f3-438b-ab78-218e5b6bb977; ATL.SID.IDP=WWsBcOZII2dtHFcfeAvHk7tzWA3Yluv30RaQNONEYnU%3d; gdCassCluster.F/cCGwbuE8=3; SplitValue464513=57; preferences=currency=USD; preferences464513=_sid=oesgljjgscxbliebtczezbqaqhajwiad&gdshop_currencyType=USD; PCSplitValue464513=3; SSOTimeStamp38452911330=635644178212330934; language464513=en-US; market=en-US; traffic=cookies=1&referrer=&sitename=idp.secureserver.net&page=/login.aspx&server=M1PWSSOWEB010&status=200 OK&querystring=spkey=SPMYA4-130117123532002&target=https%3a%2f%2fmya.secureserver.net%2fDefault.aspx%3fci%3d12819%26prog_id%3ddomainspricedright%26&prog_id=domainspricedright&shopper=&privatelabelid=464513&isc=&clientip=24.209.97.109&referringpath=&referringdomain=&split=57&pcsplit=3
Aucun commentaire:
Enregistrer un commentaire