当前位置:首页 » 操作系统 » qq网站源码

qq网站源码

发布时间: 2022-02-10 21:00:51

Ⅰ QQ源代码

这个,貌似只有腾讯公司的才知道吧,代码不公开,反编译是违法的……

Ⅱ 谁知道QQ源代码是多少在线急求!

QQ源代码?除非你和腾讯的开发关系很好或者出巨资收购腾讯,否则腾讯怎么会把源代码公开给你。

Ⅲ 谁有QQ源代码

同求~~~~

Ⅳ QQ源代码是什么

就是一些html,css,js等代码,大部分是英文单词、< >之类的

Ⅳ QQ网源代码

第一个是窗口弹出代码,网络搜索就有一大把
那个窗口是用JSP写的
弹出代码是用JS写的

第二个是广告浮动代码,网络一搜也是一大把
一般都是用JS来写的

不是ASP过时了,而是JSP\php能实现的功能更佳强大,后台程序用PHP\JSP来编写的话会更安全。

但是相对来说ASP还是比较简单点。

如果你懂HTML的话,可以直接跳过ASP学PHP比较好,因为你看看现在比较大型一点的网站都没有用ASP编写的了。

Ⅵ 挂QQ的网页源代码[ASP/PHP/JS]

说明:此代码适合你做网站用,普通朋友可以不用理这个东西!
ASP:
CODE:
[Copy
to
clipboard]
<%
dim
objXMLHTTP,
qq,
pwd
qq
=
"10000"
pwd
=
"123456"
set
objXMLHTTP
=
Server.CreateObject("MSXML2.XMLHTTP.5.0")
objXMLHTTP.open
"POST",
"_blank>http://211.139.167.71/waptest/TWF/qqportal/rela/updateuserinfo.jsp",
false
objXMLHTTP.setRequestHeader
"Content-Type",
"application/x-www-form-urlencoded"
objXMLHTTP.setRequestHeader
"Connection",
"Keep-Alive"
objXMLHTTP.send("qq="&qq&"&pwd="&pwd&"&FromWhere=register")
if
InStr(objXMLHTTP.responseText,
"验证失败")
then
response.write
"登录失败"
else
response.write
"登录成功"
end
if
set
objXMLHTTP
=
nothing
%>
PHP:
CODE:
[Copy
to
clipboard]
<php
$qq
=
"100000";
//qq号码
$pwd
=
"123456";
//密码
$ch
=
curl_init();
curl_setopt($ch,
CURLOPT_URL,
"_blank>http://211.139.167.71/waptest/TWF/qqportal/rela/updateuserinfo.jsp");
curl_setopt($ch,
CURLOPT_FOLLOWLOCATION,
1);
//这行是设定curl是否跟随header发送的location,
重要
curl_setopt($ch,
CURLOPT_POST,
1);
//curl_setopt($ch,
"Connection",
"Keep-Alive");
curl_setopt($ch,
CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch,
CURLOPT_POSTFIELDS,
"qq=".$qq."&pwd=".$pwd."&FromWhere=register");
$return
=
curl_exec($ch);
curl_close($ch);
echo
strstr($return,
"postfield")
?
"登录失败"
:
"登录成功";
?>
js:
CODE:
[Copy
to
clipboard]
<script
type="text/javascript">
var
qq
=
"100000";
//qq号码
var
pwd
=
"123456";
//密码
if
(window.XMLHttpRequest)
{
var
x
=
new
XMLHttpRequest();
}
else
{
var
MSXML
=
new
Array('MSXML2.XMLHTTP.5.0',
'MSXML2.XMLHTTP.4.0',
'MSXML2.XMLHTTP.3.0',
'MSXML2.XMLHTTP',
'Microsoft.XMLHTTP');
for(var
n
=
0;
n

MSXML.length;
n
++)
{
try
{
var
objXMLHTTP
=
new
ActiveXObject(MSXML[n]);
break;
}
catch(e)
{
}
}
}
objXMLHTTP.open("POST",
"_blank>http://211.139.167.71/waptest/TWF/qqportal/rela/updateuserinfo.jsp",
false);
objXMLHTTP.setRequestHeader("Content-Type",
"application/x-www-form-urlencoded");
objXMLHTTP.setRequestHeader("Connection",
"Keep-Alive");
objXMLHTTP.send("qq="
+
qq
+
"&pwd="
+
pwd
+
"&FromWhere=register");
if
(objXMLHTTP.responseText.indexOf("验证失败")

0)
{
alert("登录失败");
}
else
{
alert("等录成功");
}
</script>

Ⅶ 求QQ挂机的php网站源码,要免费的。

<php
$qq = "100000"; //qq号码
$pwd = "123456"; //密码
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://地址");
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); //这行是设定curl是否跟随header发送的location,
curl_setopt($ch, CURLOPT_POST, 1);
//curl_setopt($ch, "Connection", "Keep-Alive");
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_POSTFIELDS, "qq=".$qq."&pwd=".$pwd."&FromWhere=register");
$return = curl_exec($ch);
curl_close($ch);
echo strstr($return, "postfield") ? "登录失败" : "登录成功";
?>

1、需curl模块支持,2、登陆后,你的好友将会看到你在线

Ⅷ 哪里可以获得腾讯QQ软件的源代码

http://www.pudn.com/downloads138/sourcecode/windows/csharp/detail590747.html这个希望对你有帮助

Ⅸ 怎么获得QQ源代码

</b></b></b></b></b></b></b></b></b></b></b></b></b></b></b></b></b></b></b></b></b></b></b></b></b></b></b></b></b></b></b></b></b></b></b></b></b></b>return
(unsigned
char
*)
send_im_tail;
}

//
处理普通的
QQ
消息

void
MyQQ::qq_process_recv_normal_im(unsigned
char
*
data,
unsigned
char
**
cur
sor,
int
len)
{
int
bytes;
qq_recv_normal_im_common
*common;
qq_recv_normal_im_unprocessed
*im_unprocessed;

if
(*cursor
>=
(data
+
len
-
1))
{
return;
}
else
common
=
(qq_recv_normal_im_common
*)malloc(sizeof(qq_recv_normal_im_commo
n));

bytes
=
qq_normal_im_common_read(data,
cursor,
len,
common);
if
(bytes
<
0)
{
return;
}

switch
(common->normal_im_type)
{
case
QQ_NORMAL_IM_TEXT:
qq_process_recv_normal_im_text
(data,
cursor,
len,
common);
break;
case
QQ_NORMAL_IM_FILE_REJECT_UDP:
//qq_process_recv_file_reject
(data,
cursor,
len,
</b></b>//
common->sender_uid,
gc);
break;
case
QQ_NORMAL_IM_FILE_APPROVE_UDP:
//qq_process_recv_file_accept
(data,
cursor,
len,
//
common->sender_uid,
gc);
break;
case
QQ_NORMAL_IM_FILE_REQUEST:
//qq_process_recv_file_request
(data,
cursor,
len,
//
common->sender_uid,
gc);
break;
case
QQ_NORMAL_IM_FILE_CANCEL:
//qq_process_recv_file_cancel
(data,
cursor,
len,
//
common->sender_uid,
gc);
break;
case
QQ_NORMAL_IM_FILE_NOTIFY:
//qq_process_recv_file_notify
(data,
cursor,
len,
//
common->sender_uid,
gc);
break;
default:
return;
}
//
normal_im_type

g_free
(common->session_md5);
}

void
MyQQ::qq_process_recv_normal_im_text(unsigned
char
*
data,
unsigned
char
**

cursor,
int
len,
qq_recv_normal_im_common
*
common)
{
short
gaim_msg_type;
</b></b>char
*name;
char
*msg_with_gaim_smiley;
char
*msg_utf8_encoded;
qq_recv_normal_im_text
*im_text;

if
(*cursor
>=
(data
+
len
-
1))
{
return;
}
else
im_text
=
(qq_recv_normal_im_text
*)malloc(sizeof(qq_recv_normal_im_text));

im_text->common
=
common;

read_packet_w(data,
cursor,
len,
&(im_text->msg_seq));
read_packet_dw(data,
cursor,
len,
&(im_text->send_time));
read_packet_b(data,
cursor,
len,
&(im_text->unknown1));
read_packet_b(data,
cursor,
len,
&(im_text->sender_icon));
read_packet_data(data,
cursor,
len,
(unsigned
char
*)
&
(im_text->unknown2),
3);
read_packet_b(data,
cursor,
len,
&(im_text->is_there_font_attr));
read_packet_data(data,
cursor,
len,
(unsigned
char
*)
&
(im_text->unknown3),
4);
read_packet_b(data,
cursor,
len,
&(im_text->msg_type));

if
(im_text->msg_type
==
QQ_IM_AUTO_REPLY)
{
im_text->is_there_font_attr
=
0x00;

im_text->msg
=
(unsigned
char
*)malloc(1024);
memcpy(im_text->msg,*cursor,
data
+
len
-
*cursor);
}
else
{
if
(im_text->is_there_font_attr)
{
im_text->msg
=
(unsigned
char
*)malloc(1500);
memcpy(im_text->msg,*cursor,
strlen((const
char
*)*cursor));
</b></b>im_text->msg[strlen((const
char
*)*cursor)]
=
0;

}
else
{
im_text->msg
=
(unsigned
char
*)malloc(1024);
memcpy(im_text->msg,*cursor,
data
+
len
-
*cursor);
im_text->msg[data
+
len
-
*cursor]
=
0;
}
}

MessageText
=
im_text->msg;
//
如果需要自动回复

if(Status
==
3)
{
//I_QQAutoReply()
函数获取预先设置的自动回复消息内容,需自己实现

char*
MText
=
I_QQAutoReply();
QQSendTextMessage(common->sender_uid,MText,0x01);
}

//
在主界面中显示消息

//I_QQReceiveMessage((char
*)MessageText,common->sender_uid);
}

int
MyQQ::qq_normal_im_common_read(unsigned
char
*
data,
unsigned
char
**
curs
or,
int
len,
qq_recv_normal_im_common
*
common)
{
int
bytes;

bytes
=
0;
</b></b>
bytes
+=
read_packet_w(data,
cursor,
len,
&(common->sender_ver));
bytes
+=
read_packet_dw(data,
cursor,
len,
&(common->sender_uid));
bytes
+=
read_packet_dw(data,
cursor,
len,
&(common->receiver_uid));

common->session_md5
=
(unsigned
char
*)malloc(QQ_KEY_LENGTH);
memcpy(common->session_md5,*cursor,
QQ_KEY_LENGTH);
bytes
+=
QQ_KEY_LENGTH;
*cursor
+=
QQ_KEY_LENGTH;

bytes
+=
read_packet_w(data,
cursor,
len,
&(common->normal_im_type));

if
(bytes
!=
28)
{

return
-1;
}

return
bytes;
}

热点内容
外存储器硬盘能存储的高清电影数 发布:2024-11-14 12:33:23 浏览:265
python分号作用 发布:2024-11-14 12:31:50 浏览:223
方舟编译器下载要钱吗 发布:2024-11-14 12:29:20 浏览:62
jspoa源码 发布:2024-11-14 12:21:31 浏览:420
不记得了密码怎么办 发布:2024-11-14 12:18:58 浏览:442
python字符串的大小 发布:2024-11-14 12:17:24 浏览:222
源码编辑软件 发布:2024-11-14 12:15:00 浏览:386
java中object 发布:2024-11-14 12:11:48 浏览:636
买车时哪些配置需要另外加钱 发布:2024-11-14 12:10:19 浏览:534
在哪里修改密码和手机号 发布:2024-11-14 12:10:08 浏览:932