|
|
|
|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 129
Members: 0
Total: 129
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
please decode my file |
|
Posted: Fri Oct 26, 2012 12:16 am |
|
|
sarvnaa |
Beginner |
|
|
Joined: Sep 30, 2012 |
Posts: 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Posted: Mon Oct 29, 2012 9:19 am |
|
|
demon |
Moderator |
|
|
Joined: Sep 22, 2010 |
Posts: 485 |
|
|
|
|
|
|
|
decoded
Code: | <?php
$domain = preg_replace("/^(.*\\.)?([^.]*\..*)$/", "$2", $_SERVER["HTTP_HOST"]);
$licensed = "bharatchannels.com";
if (stristr($domain, $licensed)) {
$thisss = "good";
} else {
die("Domain $domain is not licensed please contact sales@modmyscript.com");
}
if ($video["source_id"] == 3) {
define("PHPMELODY", true);
include("admin/src/youtube.php");
$video_data = get_info("http://www.youtube.com/watch?v=" . $video["yt_id"]);
if (strpos($video_data[0], "xml") !== FALSE) {
$arr_length = count($video_data);
for ($i = 0; $i < $arr_length; $i++) {
$video_data[$i] = str_replace(array(
"\n",
"\t",
"\r"
), "", $video_data[$i]);
if (preg_match("/<yt:noembed/", $video_data[$i]) != 0) {
$status = "UNEMBEDABLE";
break;
}
if (preg_match("/<yt:private/", $video_data[$i]) != 0) {
$status = "PRIVATE";
break;
}
if (preg_match("/<media:restriction(.*?)>/", $video_data[$i]) != 0) {
$status = "RESTRICTED";
break;
}
if (preg_match("/<yt:state name='(restricted|deleted|rejected|failed)' reasonCode='(.*?)'(.*)>(.*?)<\/yt:state>/", $video_data[$i], $matches) != 0) {
$status = ($matches[1] == "deleted") ? "DELETED" : "RESTRICTED";
$reason = $video["uniq_id"] . ": " . $matches[count($matches) - 1];
break;
}
}
} else {
$status = "DELETED";
}
if (!$status) {
$status = VS_OK;
}
$smarty->assign("VS_STATUS", $status);
}
?> |
|
|
_________________ Go BIG or go HOME ! |
|
|
|
|
www.waraxe.us Forum Index -> PHP script decode requests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|
|
|