The code is as follows:
Agent = "mozilla/5.0 (Windows NT 6.1; WOW64) applewebkit/537.36 (khtml, like Gecko) chrome/38.0.2125.122 safari/537.36 SE 2.X METASR 1.0 "; $snoopy->referer = "http://agent.fang.com/"; $snoopy->rawheaders["Pragma"] = "No-cache"; $snoopy->maxredirs = 2;//Redirect Number $snoopy->offsiteok = false; $snoopy->user = "esf-agen42249"; $snoopy->pass = "dlesf2010"; $submit _ url = "Http://agent.fang.com/DealLoginAjax.aspx"; $submit _vars["str_username"] = "esf-agen42249"; $submit _vars["Str_ Userpwd "] =" dlesf2010 "; $submit _vars[" str_imgcode "] =" Please enter the verification code "; $snoopy->submit ($submit _url, $submit _vars); $ Snoopy->setcookies (), if ($snoopy->fetch ("http://b.agent.fang.com/magent/HomePage.aspx")) {Print_r ($snoopy- >headers);p Rint_r ($snoopy->cookies), Echo ("
//print_r ($snoopy->results);//Cannot get login to see the page}elseecho "error:". $snoopy->error. " \ n ";? >
Ask the big God to point out, as if the login failed to get the main interface after login
Reply to discussion (solution)
You can't read a document without playing. Don't play at least you should look at the HTTP request data first?
Normal login, see HTTP data transfer:
Remote address:111.40.195.21:80request url:http://agent.fang.com/dealloginajax.aspx?str_username=esf-agen42249 &str_userpwd= 571c041891354cc5b51725f0b37170f80efb4f27ba8c897e4ff67ebe17b4ce599f28ac5f7eceeb5ff2d9755c62a57db74f206d3c52ccb79b71c24e385 8f29ac7d49dfb8d77192529ac387b4e9c6426ecf70f3003ce348dcd6bd4d1af84e9293164516745c654d2c9bc0089c80f02ba5f69aeaac1e142c8af8e 000ac7b1a4a278&str_imgcode=%e8%af%b7%e8%be%93%e5%85%a5%e9%aa%8c%e8%af%81%e7%a0%81request Method:GETStatus code:200 OK
Str_username=esf-agen42249&str_userpwd= 571c041891354cc5b51725f0b37170f80efb4f27ba8c897e4ff67ebe17b4ce599f28ac5f7eceeb5ff2d9755c62a57db74f206d3c52ccb79b71c24e385 8f29ac7d49dfb8d77192529ac387b4e9c6426ecf70f3003ce348dcd6bd4d1af84e9293164516745c654d2c9bc0089c80f02ba5f69aeaac1e142c8af8e 000ac7b1a4a278&str_imgcode=%e8%af%b7%e8%be%93%e5%85%a5%e9%aa%8c%e8%af%81%e7%a0%81
Did you see it clearly? Get landed?
You can't read a document without playing. Don't play at least you should look at the HTTP request data first?
Normal login, see HTTP data transfer:
Remote address:111.40.195.21:80request url:http://agent.fang.com/dealloginajax.aspx?str_username=esf-agen42249 &str_userpwd= 571c041891354cc5b51725f0b37170f80efb4f27ba8c897e4ff67ebe17b4ce599f28ac5f7eceeb5ff2d9755c62a57db74f206d3c52ccb79b71c24e385 8f29ac7d49dfb8d77192529ac387b4e9c6426ecf70f3003ce348dcd6bd4d1af84e9293164516745c654d2c9bc0089c80f02ba5f69aeaac1e142c8af8e 000ac7b1a4a278&str_imgcode=%e8%af%b7%e8%be%93%e5%85%a5%e9%aa%8c%e8%af%81%e7%a0%81request Method:GETStatus code:200 OK
Str_username=esf-agen42249&str_userpwd= 571c041891354cc5b51725f0b37170f80efb4f27ba8c897e4ff67ebe17b4ce599f28ac5f7eceeb5ff2d9755c62a57db74f206d3c52ccb79b71c24e385 8f29ac7d49dfb8d77192529ac387b4e9c6426ecf70f3003ce348dcd6bd4d1af84e9293164516745c654d2c9bc0089c80f02ba5f69aeaac1e142c8af8e 000ac7b1a4a278&str_imgcode=%e8%af%b7%e8%be%93%e5%85%a5%e9%aa%8c%e8%af%81%e7%a0%81
Did you see it clearly? Get landed?
Thank you very much for ╰ (*´︶ ' *) ╯ how to get this message: Request url:http://agent.******
F12 review Element, network
F12 review Element, network
Log in directly after the jump, how to pause to view?
Halo (=_=) Knot Sticker Score Why didn't you send it? How to change?