这里的post内容是什么啊?怎么用VB模拟啊?
网址是http://172.18.4.241:8080/(cqdx50jhcrscozyu1uhqgd55)/default2.aspx
这是网页的源码,因为是内网的。所以。。。。。。
怎么模拟POST?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
<HEAD>
<title>欢迎使用正方教务管理系统!请登录</title><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv="Content-Language" content="gb2312">
<meta content="all" name="robots">
<meta name="author" content="作者信息">
<meta name="Copyright" content="版权信息">
<meta name="description" content="站点介绍">
<meta name="keywords" content="站点关键词">
<link rel="stylesheet" href="style/base/jw.css" type="text/css" media="all">
<link rel="stylesheet" href="style/standard/jw.css" type="text/css" media="all"> <!--[if IE 6]>
<SCRIPT src="style/js/ie6comm.js"></SCRIPT>
<SCRIPT>
DD_belatedPNG.fix('img');
</SCRIPT>
<![endif]-->
<script language="javascript">
window.onload = function (){
var url = window.location.href;
var parent = window.parent;
var length = parent.frames.length;
var win = parent.frames["zhuti"];
if(length > 0 && win != undefined){
parent.location.href = url;
}
document.getElementById("TextBox1").focus();
}
</script>
<style>
.fangshua { FONT-WEIGHT: bold; FONT-SIZE: 14px; COLOR: red }
</style>
</HEAD>
<body class="login_bg">
<form name="form1" method="post" action="default2.aspx" id="form1">
<input type="hidden" name="__VIEWSTATE" value="dDwtMTAzOTYzNjY2ODs7Pp9jNuPzqlz71gDLfIfIIra+zl+1" />
<div class="login_main">
<div class="login_logo"><h2><img src="logo/logo_school.png"></h2>
<h3><img src="logo/logo_jw.png"></h3>
</div>
<div class="login_left"><img class="login_pic" src="logo/login_pic.png"></div>
<div class="login_right">
<dl>
<dt class="uesr">
<label id="lbYhm">用户名:</label>
</dt>
<dd>
<input name="TextBox1" type="text" id="TextBox1" tabindex="1" class="text_nor" style="width:130px;" /></dd>
<dt class="passw">
<label id="lbMm">密 码:</label>
</dt>
<dd>
<input name="TextBox2" type="password" id="TextBox2" tabindex="2" class="text_nor" style="width:130px;" /></dd>
<dt></dt>
<dd>
<table id="RadioButtonList1" border="0">
<tr>
<td><input id="RadioButtonList1_0" type="radio" name="RadioButtonList1" value="部门" tabindex="3" /><label for="RadioButtonList1_0">部门</label></td><td><input id="RadioButtonList1_1" type="radio" name="RadioButtonList1" value="教师" tabindex="3" /><label for="RadioButtonList1_1">教师</label></td><td><input id="RadioButtonList1_2" type="radio" name="RadioButtonList1" value="学生" checked="checked" tabindex="3" /><label for="RadioButtonList1_2">学生</label></td><td><input id="RadioButtonList1_3" type="radio" name="RadioButtonList1" value="访客" tabindex="3" /><label for="RadioButtonList1_3">访客</label></td>
</tr>
</table></dd>
<dt></dt>
<dd>
<input type="submit" name="Button1" value="" id="Button1" class="btn_dl" /><input type="submit" name="Button2" value="" id="Button2" class="btn_cz" onclick="window.close();return false;" /><input name="lbLanguage" type="text" id="lbLanguage" style="DISPLAY: none" />
<p><br>
<A style="DISPLAY: none" href="xsxjxtdl.aspx" target="_blank">
<span id="lbSelect">学生学籍信息查询系统</span></A><span id="cs" class="fangshua"></span></p>
</dd>
</dl>
</div>
<div class="login_copyright">
<span>©1999-2010 <a href="http://www.zfsoft.com" target="_blank">杭州正方软件股份有限公司</a> <span>版权所有</span> 联系电话:0571-89902828</span>
</div>
</div>
</form>
</body>
</HTML>
抓包,然后模拟。 用firefox的httpfox抓包看
补充:VB , 网络编程