ÓÃC#£¨C++£©Socketºǫ́±àд×Ô¼ºµÄIIS·þÎñÆ÷´úÌæIIS
±¾ÎÄ´¥¼°µ½Socket TCP/IP±à³Ì·½ÃæµÄ֪ʶ£¬ÆäʵÕâÊǺܼòµ¥µÄÄÚÈÝ£¬´ó¼Ò¿´²»Ã÷µÄµØ·½´ó¿ÉÒÔÏÈÍù϶Á£¬ÒÔºóÔÙ¿´Ò»±é£¬¿ÉÄÜ»á¾õµÃºÜ¼òµ¥¡£
ºÜ¶àÈËдÍøÕ¾ÓùßÁËIISºÍTomcatÕâЩ¸ß¼¶µÄºǫ́À´×öÍøÕ¾ºǫ́·þÎñ£¬È»¶ø£¬ÔÚÕâЩºǫ́»¹Ã»ÓÐÎÊÊÀ֮ǰ£¬ÈËÃÇÊÇÔõô±àдÍøÕ¾µÄÄØ£¿ËûÃǵײ㹲ͬ×ñÊصÄ×¼ÔòºÍ±ê×¼ÓÖÊÇʲôÄØ£¿
Õâ¾ÍÊÇhttpÐÒéºÍhtml¡¢js¡¢css±ê×¼¡£ÕâЩ¶¼Êǹú¼ÊͳһµÄ±ê×¼£¬ºÍ.net¡¢java¡¢phpÕâЩÓïÑÔÍêȫûÓйØϵµÄ¡£±ÈÀýÈçÏÂÃæÒ»¶Î´úÂ룺
<html>
<body>
<form runat="server" id="form1">
<%
string str_response="hello world";
........................................
Response.Write(str_response);
%>
<asp:Button ID="bn_1" runat="Server" Text="µã»÷"/>
</form>
</body>
</html>
³¤³¤µÄÒ»¶Î´úÂë×îÖջᱻ½âÎö³ÉÏÂÃæÕâÑù
<html>
<body>
<form id="form1" action="">
hello world
<input type="submit" value="µã»÷" name="bn_1"/>
</form>
</body>
</html>
IIS°ïÖúÎÒÃÇ£¬½«<%%>ÀïÃæµÄÄÚÈÝת»¯³ÉÒªÊä³öµÄÄÚÈÝ£¬Í¬Ê±½«<asp:ÕâЩ±êÇ©£¬×ª»¯ÎªÏàÓ¦µÄ±êÇ©£¨ÕâÀïÊÇ<input>±êÇ©£©£¬ÕâЩÔÚhtmlÀïÃæÊǷDZê×¼µÄ±êÇ©£¬ÊôÓÚiis¹æ¶¨µÄ±êÇ©£¬iisÓÐÕâ¸öÔðÈÎÈ¥½«ÕâЩ±êǩת»¯Îª±ê×¼µÄ±êÇ©·µ»Ø¸ø¿Í»§¡£
ÉÏÃæÕâЩÊÇ»ù´¡£¬ÏàÐźܶà±àд¹ýÍøÕ¾µÄÈ˶¼ÖªµÀÊÇÔõôһ»ØÊ£¬ÏÂÃæ»Øµ½ÕýÌâ¡£
ÏÂÃæÕâ¶Î´úÂë¿ÉÄÜ´ó¼Ò¾ÍºÜÉÙ½Ó´¥ÁË£º
GET /siteserver/mypage.youlike?h_username=myname HTTP/1.1
Accept: */*
Accept-Language: zh-cn
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152;
.NET CLR 3.5.30729)
Host: 127.0.0.1:45632
Content-Length: 93
Connection: Keep-Alive
Cache-Control: no-cache
ÆäʵÕâºÜ¼òµ¥£¬Õâ¾ÍÊÇ¿Í»§¶ËIE´ò¿ªÒ»¸öÍøÖ·http://127.0.0.1:45632/siteserver/mypage.youlike?h_username=myname£¬http://127.0.0.1:45632Õâ¸öÍøÕ¾µÄºǫ́ÊÕµ½µÄÈ«²¿ÐÒé´úÂë¡£
ÕâЩ×Ö·û´®Óû»ÐзûÏà¸ô¡£
ÆäÖÐ127.0.0.1:45632ÊÇÒ»¸ö±ê×¼µÄÕ¾µãµÄµØÖ·£¬127.0.0.1ÊǣɣУ¬45632ÊÇ·þÎñ¶Ë¼àÌýµÄ¶Ë¿Ú¡£
User-Ag
Ïà¹ØÎĵµ£º
ÔõÑù¼ÓÔØÆäËûµÄÓ¦ÓóÌÐò?
Èý¸öSDKº¯Êý winexec,
shellexecute,createprocess¿ÉÒÔʹÓá£WinExec×î¼òµ¥£¬Á½¸ö²ÎÊý£¬Ç°Ò»¸öÖ¸¶¨Â·¾¶£¬ºóÒ»¸öÖ¸¶¨ÏÔʾ·½Ê½.ºóÒ»¸ö²ÎÊýÖµµÃ
˵һÏ£¬±ÈÈçÄàÓÃ
SW_SHOWMAXMIZED·½Ê½È¥¼ÓÔØÒ»¸öÎÞ×î´ó»¯°´Å¥µÄ³ÌÐò£¬¾ÍÊÇNeterm,calcµÈµÈ£¬¾Í²»»á³öÏÖÕý³£µÄ´°Ì壬µ«ÊÇÒѾ±»¼Óµ½ÈÎÎñÁбíÀï
ÁË¡ ......
À´ÁËcsdnºÜ¾ÃÁË£¬¶¼Ã»Ð´¹ýÎÄÕ£¬Óеã¹ýÒⲻȥ£¬ÓÚÊDZÆ×Å×Ô¼ºÕâ¸öÀÁÈËдÁËÒ»ÏÂһЩ±£ÁôÔÚ¸öÈ˱ʼDZ¾ÉϵÄСµãµÎ£¬Ï£Íû²»»áÎóµ¼´ó¼Ò¡£¡£¡£¡£¡£Ò»ÏÂÖ»ÊDZʼÇÖеÄһС²¿·Ö£¬ÒÔºóÓпÕÔÚ¼ÌÐø·ÅÉÏÀ´¡£¡£¡£¡£¡£¡£
1 Ð麯ÊýÊÇΪÁ˼̳нӿںÍĬÈÏÐÐΪ¡£´¿Ð麯ÊýÖ»ÊǼ̳нӿڣ¬ÐÐΪ±ØÐëÖØж¨Òå¡£
2 ¼¯ºÍ¶à¼¯µÄÇø±ð£ºsetÖ§³ÖΨ ......
#include<stdio.h>
#include<stdlib.h>
#define MAX 41
static int i=0;
int main(void)
{
FILE *fp;
char words[MAX];
if((fp=fopen("words","a+"))==NULL)
{
fprintf(stdout,"Can't open \" word\" file\n");
exit(1);
}
puts("Enter words to add to the file,press the enter.");
......
1. ´ò¿ªÐµĴ°¿Ú²¢´«ËͲÎÊý£º
¡¡¡¡´«ËͲÎÊý£º
response.write("£¼script£¾window.open(’*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"’)£¼/script£¾")
¡¡¡¡½ÓÊÕ²ÎÊý£º
string a = Request.QueryString("id");
string b = Request.QueryString( ......