¡øµÚÈý£¬Èí¼þ½Å±¾²½Öè˵Ã÷¡ø:
Õâ¸ö½Å±¾ÊÇPOSTºÍä¯ÀÀÆ÷Ïë½áºÏÓÃÆðÀ´±È½Ï¼òµ¥£¬ÎªÊ²Ã´ÄØ£¿ºÜ¶àÈË·¢ÏÖÖ±½ÓPOST»òÊÇGETµÃ»ØÀ´ÊÇÔ´Â룬»òÊǷdz£²Ù×÷¡£ÕâÊÇΪʲôÄØ£¿´ð°¸ÔÚÕâÀ
¿´µ½Õâ¸öjsÁË°É ¼ÆËãÒ»¶ÑÒÔºó setcookieÁË£¬Èç¹ûÄ㲻ȥÍê³ÉÕâЩjsдcookie,¾ÍÈÏΪ·Ç·¨ÁË,ÓÃä¯ÀÀÆ÷µ±È»»á×Ô¶¯°ïÄã¼ÆËãÖ´ÐÐ,ÍêÈ«post,¾ÍÒª×Ô¼ºÆƽâjs¡£
ÕâÒ²ÊÇÕâ¸öÍøÕ¾×îÄÑÃеĵط½¡£×ܶøÑÔÖ®£¬ÕâÀï¾Í×îºÃÓÃä¯ÀÀÆ÷ÈÃËû×Ô¶¯Ö´ÐÐJS½á¹ûÀ´£¬Ê¡ÊÂÊ¡Á¦£¬Ò²Ö»ÓÐÎÒÃǵÄÈí¼þ²ÅÓÐÕâÖÖÌرðµÄÓ¦Ó㬶øÇÒÖ»ÓÐYYPOST²ÅÓÐÕâÖÖÌرðµÄ¹¦ÄÜÁË¡£ºÜ¶àJS¶¼¿ÉÒÔÓÃä¯ÀÀÆ÷£¬ÔËÐУ¬È»ºóµÃ³ö½á¹û£¬ÎÒÃÇÔÙÓëÖ®Ïà½áºÏÆðÀ´£¬ÄǾͼòµ¥Ðí¶àÁË¡£
ÍùÏÂÕÒ£¬»á·¢³öÕâ¸öµÇ½µÄ°üÁË¡£²é¿´·ÖÎöÖ»ÒªÒ»²½¿ÉÒÔµ½Î»¡£
http://www.postbbs.com/template/ ... mg/codebg.gif"); color: rgb(102, 102, 102); zoom: 1;">
POST /user/login HTTP/1.1
Host: user.yuemei.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
Accept: application/json, text/javascript, */*; q=0.01
Accept-Language: zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Referer: https://user.yuemei.com/user/login/
Content-Length: 56
Cookie: testcookie=yes; yuemei_city=hangzhou; Hm_lvt_bbb28c93aca8fe7e95a44b2908aabce7=1544509032; Hm_lpvt_bbb28c93aca8fe7e95a44b2908aabce7=1544509039; YUEMEI=fbq7nrallkovbcto4j1fraujf6; _yma=1544509033624; ym_onlyk=1544509031324216; ym_onlyknew=15445090313321; UM_distinctid=1679be989341cf-0b84b4d0bd3a48-41534136-1fa400-1679be9893529f; y_url=1IV4uUhjp8eUtuSMOvArZWAQU7kY0m1HUbFJRiu4MjqzO%2BTRq7UZsJg5QHYa5xWw; CNZZDATA1253703185=754098793-1544507378-https%253A%252F%252Fwww.yuemei.com%252F%7C1544507378
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
username=13825185477&password=cqd96123&json=1&autologin=1
×¥µÄ°ü£¬·Åµ½Èí¼þ¾ÍÊÇÕâÑùµÄ¡£Òª×¢ÒâµÄ¶þµãÊÇÕâ¸öHost: user.yuemei.com:443£¬Õâ²½µÄÒâ˼ÊÇÒòΪ·çпÊÇHTTPSµÄÒ²¾ÍÊÇ443¶Ë¿Ú£¬ÐèÒª×Ô¼ºÈÃÈí¼þµ¼ÈëÐÔָʾ¡£´ÓÕâ¸ö¶Ë¿Ú£¬³ö¾ÍÊǾÍÊÇÒ»¸ö¼ÓÃܶ˿ÚÁË¡£Referer:https://user.yuemei.com/user/login/¾ÍÊÇÕâ¸öµÄÒâ˼¡£×ܶøÑÔÖ®£¬²»Ï붮µÄ£¬¾ÍÓÃÍêÕû·¢°ü£¬È»ºó¸´ÖÆÀ´£¬°´ÏÂÃæ¶Ô±ÈÐ޸ľÍÍ깤ÁË¡£Ò²²»Óö®Ì«¶àµÄ¶«Î÷°É¡£
http://www.postbbs.com/template/ ... mg/codebg.gif"); color: rgb(102, 102, 102); zoom: 1;">
POST /user/login HTTP/1.1
Host: user.yuemei.com:443
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
Accept: application/json, text/javascript, */*; q=0.01
Accept-Language: zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Referer: https://user.yuemei.com/user/login/
Content-Length: 56
Cookie: [ä¯ÀÀÆ÷COOKIE]
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
username={»ñÈ¡ÁбíÖµ}Õ˺ÅÃÜÂë|Õ˺Å|×Ô¶¯{/»ñÈ¡ÁбíÖµ}&password={»ñÈ¡ÁбíÖµ}Õ˺ÅÃÜÂë|ÃÜÂë|×Ô¶¯{/»ñÈ¡ÁбíÖµ}&json=1&autologin=1
ÏÈ´ò¿ªµÇ½ÍøÒ³£¬È»ºóÓÃPOSTµÇ½£¬ÔÙдÈ뻺´æ¡£
¶ÔÓÚÈí¼þÀ´Ëµ£¬Õâ²½ÊÇдÈ뻺´æ£¬POSTµÇ½³É¹¦ºó£¬Ð´Èëä¯ÀÀÆ÷»º´æ£¬ÈÃËû×Ô¶¯¼ÆËã¸Õ²Å˵µÄÄǸösetcookieдÈ뻺´æÈ¥¡£
http://www.postbbs.com/template/ ... mg/codebg.gif"); color: rgb(102, 102, 102); zoom: 1;">
<% keyID=ÉèÖÃä¯ÀÀÆ÷»º´æ38923
{ÉèÖÃä¯ÀÀÆ÷»º´æ}
<»º´æÖµ>[COOKIE»º´æ]</»º´æÖµ>
{/ÉèÖÃä¯ÀÀÆ÷»º´æ}
%>
Èç¹ûÑϸñÒ»µã˵£¬Õâ¸öµÇ½ÐèÒªÒ»¸öÅжϣ¬±ÈÈç˵Õ˺ÅÃÜÂë´íµÄ£¬·âÁ˵ģ¬»òÊdzöÑéÖ¤ÂëµÄ£¬ÄÇÕâ²½Âß¼ÅжϾͺÜÖØÒªÁËÍÛ£¬×ܶøÑÔÖ®Õâ²½¾ÍÊǵǽ²»ÉÏ£¬¾ÍÇл»Õ˺ţ¬Çå¿Õ»º´æ£¬ÔÙ´ÎÌøµ½µÇ½ÉÏÈ¥¡£
http://www.postbbs.com/template/ ... mg/codebg.gif"); color: rgb(102, 102, 102); zoom: 1;">
POST /c/doccase/reply HTTP/1.1
Host: www.yuemei.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
Accept: application/json, text/javascript, */*; q=0.01
Accept-Language: zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Referer: https://www.yuemei.com/c/6305038.html
Content-Length: 158
Cookie: yuemei_city=hangzhou; Hm_lvt_bbb28c93aca8fe7e95a44b2908aabce7=1544509032; Hm_lpvt_bbb28c93aca8fe7e95a44b2908aabce7=1544509104; YUEMEI=fbq7nrallkovbcto4j1fraujf6; _yma=1544509033624; PHPSESSID=6qrgm4jhklbg8qoe78d57gk4e4; ym_onlyk=1544509031324216; ym_onlyknew=15445090313321; UM_distinctid=1679be989341cf-0b84b4d0bd3a48-41534136-1fa400-1679be9893529f; CNZZDATA1253703185=791538052-1544507378-%7C1544507378; y_url=1IV4uUhjp8eUtuSMOvArZWAQU7kY0m1HUbFJRiu4MjqzO%2BTRq7UZsJg5QHYa5xWw; yuemeiinfo=nEWHXAyhiU3htjJaBJTGtlvs7V%2BnXorbPZna9WmAgEjIt2WNdIWe7Ew1lS2eD9wsqeCcOxMalTtgu6SUGMd7hmT%2FOWHbH8%2BQIprGjsWd60q2vvmQXk3tDAMnVkDhBijIwpaOgL%2FfCu%2BkCajVMLRZ2SGBFnivJh6Mp2BIiKhpFkIN4%2Ba%2Fp%2F3LBBMNDpUTeGFr0Vb7v5TXIfaYTcZ1I2vF2xPXMaGNU0rzbg9Gn0AYawo%3D; remember_username=8TS2s1Vr1MKIqKzX2dvk5A%3D%3D
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
id=6305038&cid=0&content=%3Cp%3E%E5%93%87%E7%9C%BC%E7%9D%9B%E5%A5%BD%E5%A4%A7%E5%91%80%EF%BC%8C%E6%98%AF%E4%B8%8D%E6%98%AF%E7%9C%9F%E7%9A%84%3Cbr%3E%3C%2Fp%3E
ÉÏÃæÕâ¸ö¾ÍÊÇ×¥µÄÌá½»ÆÀÂ۵ĴúÂë¡£
id=6305038Õâ¸öÊÇÌû×ÓºÅ
content=%3Cp%3E%E5%93%87%E7%9C%BC%E7%9D%9B%E5%A5%BD%E5%A4%A7%E5%91%80%EF%BC%8C%E6%98%AF%E4%B8%8D%E6%98%AF%E7%9C%9F%E7%9A%84%3Cbr%3E%3C%2Fp%3EÕâ¸öÊÇÆÀÂÛµÄÄÚÈÝ¡£
ÈçÏÂͼËùʾ£¬ÕÒ³ÉÈí¼þµÄ´úÂëÊÇÕâÑùµÄ¡£
Ҫѧ»áÕâ¸öPOST£¬¼òµ¥µÄÍøÕ¾Ò²ÓÐһЩ¿ÓµÄ°É¡£¿´Ñù×ÓûÓмÓÃÜ£¬µ«Ò²Òª×¢Òâд½Å±¾µÄ˳Ðò¡£
×ܽáһЩ¾ÑéÀ´Ëµ£¬Õâ¸ö½Å±¾Äú¿ÉÒÔѧµ½¡£HTTPSµÄPOSTÊÇÔõÑùдµÄ£¬¾ÍÊÇÖÐÕâ¸öHost:www.yuemei.com:443Õâ¸öÊÇÕë¶ÔÍêÕû·¢°ü¶øÑÔ£¬Èç¹ûÊÇÈí¼þµÄÖÇÄÜ·¢°ü£¬¾Í²»ÐèÕâЩÁË¡£
È»ºóÕâÀïÓÐÒ»¸ösetcookieдÈ뻺´æÈ¥¾ÍÊÇ´ò¿ªÒ»¸öä¯ÀÀÆ÷£¬È»ºóдÈ뻺´æ¿ÉÒÔ½â¾öµÄÊÂÁË¡£×öºÃºó¿ÉÒÔÒþ²ØµôÕâ¸öä¯ÀÀÆ÷Ò²ÊÇÎÞËùνµÄ¡£ËùÓÐÎÊÌâÖ»ÒªÏë°ì·¨£¬¶¼¿ÉÒÔ½â¾öµÄ£¬Ö»Êǽâ¾öÆðÀ´£¬³¤Óë¶ÌµÄÎÊÌâÁËÄØ¡£