1
功能:挖出土豆网土豆视频FLV文件实际地址
演示:http://www.51du.cn/tudou.p...
PHP源码:
演示:http://www.51du.cn/tudou.p...
PHP源码:
引用
<?
/*
e.g http://www.51du.cn/tudou.php
*/
ini_set("display_errors",0);
?>
<title>挖土豆-独来读网</title>
<form method="get" action="">土豆播放页地址:<input type="text" value="<? echo $q;?>"&&name="q" /><input type="submit" value="挖土豆喽!" /></form>
<?php
$q=urldecode($_GET['q']);
&&&&if(!empty($_GET['q'])) {
&&&&htmlentities($_GET['q']);
&&&&$html = file_get_contents($q);
&&&&preg_match('/<TITLE>(.*?)- 视频/i',$html,$t);
&&&&preg_match('/iid=(\d+)/',$html,$m);
&&&&$html=file_get_contents('http://www.tudou.com/player/v.php?id='.$m[1]);
&&&&preg_match('/http:(.*?)\.flv/i',$html,$m);
&&&&
&&&&//$flv = $m[1];
&&&&&&&&if (empty($m[1])) {
&&&&&&&&echo "挖不出来,如果输入的地址正确,请再挖挖!";
&&&&&&&&}
&&&&&&&&else {
&&&&&&&&echo "<b>".$t[1]."</b>"."挖出来了,FLV地址是:<br />".$m[0];
&&&&&&&&}
&&&&}
&&&&else {
&&&&echo '请输入观看页面的网址:例如"http://www.tudou.com/programs/view/vZriVsqk-xc/"';
&&&&}
?>
/*
e.g http://www.51du.cn/tudou.php
*/
ini_set("display_errors",0);
?>
<title>挖土豆-独来读网</title>
<form method="get" action="">土豆播放页地址:<input type="text" value="<? echo $q;?>"&&name="q" /><input type="submit" value="挖土豆喽!" /></form>
<?php
$q=urldecode($_GET['q']);
&&&&if(!empty($_GET['q'])) {
&&&&htmlentities($_GET['q']);
&&&&$html = file_get_contents($q);
&&&&preg_match('/<TITLE>(.*?)- 视频/i',$html,$t);
&&&&preg_match('/iid=(\d+)/',$html,$m);
&&&&$html=file_get_contents('http://www.tudou.com/player/v.php?id='.$m[1]);
&&&&preg_match('/http:(.*?)\.flv/i',$html,$m);
&&&&
&&&&//$flv = $m[1];
&&&&&&&&if (empty($m[1])) {
&&&&&&&&echo "挖不出来,如果输入的地址正确,请再挖挖!";
&&&&&&&&}
&&&&&&&&else {
&&&&&&&&echo "<b>".$t[1]."</b>"."挖出来了,FLV地址是:<br />".$m[0];
&&&&&&&&}
&&&&}
&&&&else {
&&&&echo '请输入观看页面的网址:例如"http://www.tudou.com/programs/view/vZriVsqk-xc/"';
&&&&}
?>
网页木马深度剖析以及
Arp反欺骗策略

2007/11/14
13:18
1258















1



