Home  >  Article  >  Backend Development  >  怎么伪造cookies 用curl来获取数据

怎么伪造cookies 用curl来获取数据

WBOY
WBOYOriginal
2016-06-13 12:00:401212browse

如何伪造cookies 用curl来获取数据?
接口是这个:http://sbcx.saic.gov.cn:9080/tmois/wszhcx_pageZhcxMain.xhtml?type=reg&intcls=®Num=12886711&paiType=0

不知如何伪造cookies 用curl来获取数据?
------解决方案--------------------
提交查询条件的同时,需提交验证码
你做到了,就成功了
------解决方案--------------------
先模拟获取浏览器的cookie,url带着参数和cookie参数,再向url请求结果

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn