Master in, about curl simulation landing

Source: Internet
Author: User
This post was last edited by dz215136304 on 2013-04-04 10:25:43

Simulated landing weaving dream, version 5.7, has removed the background verification code, do not know why has not been logged on (prompt login success but also jump back to the landing address)


 
  


Reply to discussion (solution)

No one's going to wait for the master.

Wait for the master Ah, no one will

12 lines of code are changed to echo curl_exec ($ch); What did you just see?

12 lines of code are changed to echo curl_exec ($ch); What did you just see?
Change also not, prompt login success, jump to backstage home and then jump to landing page again

12 lines of code are changed to echo curl_exec ($ch); What did you just see?
It seems that the cookie is not available from 16 lines, but it has already generated a cookie (PS: just guessing)

Then you curl_setopt ($ch, Curlopt_header, 1);
Prove it.

Then you curl_setopt ($ch, Curlopt_header, 1);
Prove it.

1http/1.1 302 Found Date:thu, April 12:23:50 GMT server:apache/2.2.21 (Win32) php/5.3.10 x-powered-by:php/5.3.10 Expires:thu, 1981 08:52:00 GMT cache-control:private Pragma:no-cache location:login.php?gotopage=%2fdedecms%2fd Ede%2farticle_add.php%3fchannelid%3d1 content-length:0 content-type:text/html; charset=gb2312



Result of the 18th row modified

Isn't he going to jump here?
Login.php?gotopage=%2fdedecms%2fdede%2farticle_add.php%3fchannelid%3d1

Isn't he going to jump here?
Login.php?gotopage=%2fdedecms%2fdede%2farticle_add.php%3fchannelid%3d1
No, I'm going to jump to the http://localhost/dedecms/dede/article_add.php?channelid=1.

Isn't he going to jump here?
Login.php?gotopage=%2fdedecms%2fdede%2farticle_add.php%3fchannelid%3d1

I need to jump to http://localhost/dedecms/dede/article_add.php?channelid=1 and he mistakenly jumps to the landing page (ie: http://localhost/dedecms/dede/ login.php?gotopage=%2fdedecms%2fdede%2findex.php)

Isn't he going to jump here?
Login.php?gotopage=%2fdedecms%2fdede%2farticle_add.php%3fchannelid%3d1

Need to get the data for http://localhost/dedecms/dede/article_add.php?channelid=1 this page

Dede Verification

Dede verification code has been removed

Waiting for the expert to answer

Waiting for the expert to answer

I'm a soy sauce.

Haha, I can use too few points, reply to make points.

The cookie does not take effect, or the cookie domain is incorrect

If the login after the successful also jump back to the page that should be the problem of cookies ...

If the login after the successful also jump back to the page that should be the problem of cookies ...
It seems to be a cookie. But the cookie has been saved in the file, does the 20th line of code not send the cookie over? Find a way to solve

Haha, I can use too few points, reply to make points.

Haha, I can use too few points, reply to make points. I soy sauce it all.

Continue to seek master continue to seek master

Keep waiting for the master, today

Keep waiting for the master, today

Header ("location:login.php?gotopage=". UrlEncode ($dedeNowurl));

Use this function to try, I use it to check the car violation is no problem ~ ~ ~

 
  

You can't use localhost.

I am, come to learn ...

Dede Landing class made a limit

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.