模拟登陆正当教务系统

qq_28017545 2015-06-28 04:02:03
大学生一枚,各位大神,帮忙看一下,这是我模拟登陆教务系统的代码,运行之后都是显示
Object moved to here.
在线等
qq:1024432129


<?php
$tname=bt1;
$tbtns=bt1;
$tnameXw=yhdl;
$tbtnsXw=yhdl|xwxsdl;
$txtYhm=20133818;
$txtXm=lc5211314;
$txtMm=lc5211314;
$rblJs=学生;
$btnDl=登陆;
$cookie_jar = tempnam('./tmp','cookie');
$curlpost = "__VIEWSTATE=dDwtMTQxNDAwNjgwODt0PDtsPGk8MD47PjtsPHQ8O2w8aTwyMT47aTwyMz47aTwyNT47aTwyNz47PjtsPHQ8cDxsPGlubmVyaHRtbDs+O2w8XDxsaVw+XDxzcGFuIGNsYXNzPSd0eXBlJ1w+XDwvc3Bhblw+XDxhIGhyZWY9J2dnc20uYXNweD9mYnNqPTIwMTUtMDYtMDIgMDk6Mjk6MDUmeXhxeD0yMDE1LTA3LTAyJyB0YXJnZXQ9J19ibGFuaycgICBcPuWFs+S6juWcqDIwMTTnuqfmnKznp5HnlJ/kuK3lvIDlsZXmi6nkvJjovazmjaLkuJPkuJrnmoTpgJrnn6VcPC9hXD5cPHNwYW4gY2xhc3M9J25ldydcPm5ld1w8L3NwYW5cPlw8c3BhbiBjbGFzcz0ndGltZSdcPjIwMTUtMDYtMDIgXDwvc3Bhblw+XDwvbGlcPlw8bGlcPlw8c3BhbiBjbGFzcz0ndHlwZSdcPlw8L3NwYW5cPlw8YSBocmVmPSdnZ3NtLmFzcHg/ZmJzaj0yMDE1LTAzLTE5IDA4OjEyOjI1Jnl4cXg9MjAxNS0wNy0xMCcgdGFyZ2V0PSdfYmxhbmsnICAgXD4yMDE0LTIwMTXlrablubTnrKzkuozlrabmnJ/mgLvor77ooahcPC9hXD5cPHNwYW4gY2xhc3M9J25ldydcPm5ld1w8L3NwYW5cPlw8c3BhbiBjbGFzcz0ndGltZSdcPjIwMTUtMDMtMTkgXDwvc3Bhblw+XDwvbGlcPlw8bGlc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hbPkuo7lpKflrabnlJ/nu7zlkIjntKDotKjlrabliIborqTlrprnmoTlrp7mlr3nu4bliJkoMjAxMue6p+WPiuS7peWQjuWtpueUnylcPC9hXD5cPHNwYW4gY2xhc3M9J25ldydcPm5ld1w8L3NwYW5cPlw8c3BhbiBjbGFzcz0ndGltZSdcPjIwMTMtMDUtMjIgXDwvc3Bhblw+XDwvbGlcPjs+Pjs7Pjt0PHA8bDxpbm5lcmh0bWw7PjtsPDs+Pjs7Pjs+Pjs+Pjs+sfEVjCXAWHaRc6FKp60Gnu4Fgco=&tname=$tname&tbtns=$tbtns&tnameXw=$tnameXw&tbtnsXw=$tbtnsXw&txtYhm=$txtYhm&txtXm=$txtXm&txtMm=$txtMm&rblJs=$rblJs&btnDl=$btnDl";
$ch=curl_init();
curl_setopt($ch, CURLOPT_URL, 'http://218.87.136.227/default6.aspx');
curl_setopt($ch, CURLOPT_RETURNTRANSFER,0);


curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie_jar);
curl_setopt($ch, CURLOPT_POSTFIELDS, $curlpost);
$ar=curl_exec($ch);
curl_close($ch);


$curl="http://218.87.136.227/xs_main.aspx?xh=20133818";
$ch = curl_init($curl);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,0);


curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);

curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie_jar);
$arr=curl_exec($ch);
curl_close($ch);
...全文
287 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

21,887

社区成员

发帖
与我相关
我的任务
社区描述
从PHP安装配置,PHP入门,PHP基础到PHP应用
社区管理员
  • 基础编程社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧