Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php /* */$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$G..

Decoded Output download


if( !defined( 'VIDEOGRABBINGER') ) {
die( "You fucking idiot!");
}
if( !defined( 'KEY') ) {
die( "  !");
}
class empflix {
function __construct() {
$this->source = "http://www.empflix.com/";
$this->pref = "emp";
$this->adult = 1;
$this->domain = "empflix.com";
$this->search = 1;
$this->embed = 1;
$this->embinside = 0;
$this->download = 1;
$this->inside = 0;
$this->thumblimit = 0;
$this->thumb_down_method = 1;
$this->convideoid = 0;
$this->thfrom = 0;
$this->thto = 0;
$this->descr = 0;
$this->tags = 1;
$this->dursearch = 1;
$this->durinside = 0;
$this->tubechars = "utf-8";
$this->dire = "videos/";
$this->ext = "flv";
$this->retro = 0;
$this->pref_stream = "&start";
}
function pager( $CatTube ,$search ,$x ) {
if($CatTube == 'all') {
$url = "browse.php?category=bw&page=".$x;
}elseif($CatTube == 'search') {
$url = "search.php?what=".str_replace( ' ','+',$search )."&page=".$x;
}elseif($CatTube != '') {
$url = "categories/".$CatTube."-".$x.".html";
}
return $url;
}
function tags($rez) {
preg_match('|<span class="infoTitle">Tags:</span>(.*)<span style|sU',$rez,$tags);
return $tags[1];
}
function embed($id) {
$emb = "http://player.empflix.com/video/".$id;
return $emb;
}
function embid($Val) {
preg_match('|id="multiplus(.*)"|sU',$Val,$id);
return $id[1];
}
function thumbs($Val) {
preg_match('|src="(.*)"|sU',$Val,$thumb);
return substr ($thumb[1],0,strrpos($thumb[1],'-'))."-[NUM]l.jpg";
}
function dur($Val) {
preg_match('|<span class="duringTime">(.*)</span>|sU',$Val,$dur);
return $dur[1];
}
function content($content) {
preg_match_all('!<div class="video vmod_2"(.*)src="(.*)"!sU',$content,$m);
return $m[0];
}
function url($Val) {
preg_match('|href="http://www.empflix.com/videos/(.*)"|sU',$Val,$url);
return $url[1];
}
function title($Val) {
preg_match('!<h2>(.*)</h2>!isU',$Val,$title);
return $title[1];
}
function cat() {
$content = contub( "http://www.empflix.com/","categories.php",$this->tubechars );
preg_match_all('|<span class="thumb2">(.*)</span>|sU',$content,$m);
echo '<option value="search"';
if ( in_array("search",$_POST['CatTube']) ) echo ' selected="selected"';
echo ' > </option>';
echo '<option value="all"';
if ( in_array("all",$_POST['CatTube']) OR $_POST['CatTube'] == '') echo ' selected="selected"';
echo ' > ALL</option>';
foreach($m[0] as $v) {
preg_match('|alt="(.*)"|sU',$v,$catname);
preg_match('|href="http://www.empflix.com/categories/(.*)-1.html"|sU',$v,$caturl);
echo '<option value="'.$caturl[1].'"';
if ( in_array($caturl[1],$_POST['CatTube']) ) echo ' selected="selected"';
echo ' >'.$catname[1].' </option>';
}
}
function video( $page,$stream ) {
if( $page == '') return null;
$vidsuc = preg_match('|flashvars.config = escape\("(.*)"\);|sU',$page,$xml);
$reze = con( $xml[1] );
preg_match('|<videoLink>(.*)</videoLink>|sU',$reze,$f);
if ( $vidsuc == 0 ) return null;
if( $stream ) {
$file = $f[1].$this->pref_stream ."=".$stream;
}else {
$file = $f[1];
}
$filevid = htmlspecialchars_decode($file);
return $filevid;
}
};

Did this file decode correctly?

Original Code

<?php /*  */$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$GLOBALS['OOO0000O0']=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5}.$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$GLOBALS['OOO0000O0'].=$GLOBALS['OOO0000O0']{3}.$OOO000000{11}.$OOO000000{12}.$GLOBALS['OOO0000O0']{7}.$OOO000000{5};$GLOBALS['OOO000O00']=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$GLOBALS['O0O000O00']=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14};$GLOBALS['O0O000O00']=$O0O000O00.$OOO000000{3};$GLOBALS['O0O00OO00']=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$GLOBALS['OOO00000O']=$OOO000000{3}.$OOO000000{14}.$OOO000000{8}.$OOO000000{14}.$OOO000000{8};$OOO0O0O00=__FILE__;$OO00O0000=0x1038;eval($GLOBALS['OOO0000O0']('JE8wMDBPME8wMD0kR0xPQkFMU1snT09PMDAwTzAwJ10oJE9PTzBPME8wMCwncmInKTskR0xPQkFMU1snTzBPMDBPTzAwJ10oJE8wMDBPME8wMCwweDUwYik7JE9PMDBPMDBPMD0kR0xPQkFMU1snT09PMDAwME8wJ10oJEdMT0JBTFNbJ09PTzAwMDAwTyddKCRHTE9CQUxTWydPME8wME9PMDAnXSgkTzAwME8wTzAwLDB4MWE4KSwnMklLU0o4Tmx0OXJVaHFnaTQ3dVJWRlRYNVdqd29IeTErZlBheGNFRzBMRG0zT25CYmV6TTZDWmtZL1FzQXZwZD0nLCdBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWmFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6MDEyMzQ1Njc4OSsvJykpO2V2YWwoJE9PMDBPMDBPMCk7'));return;?>TWxHsOPEoC9JvihSIihSIihSCMHl91oEFbwN8aWu+GXCvNuVe8XCAGUKtGtPYxR6vihJAbRM2bUPtGtPbx76ei4x8hVC3GR6vihS2bhJAb9C609JHhR69IR8qw96viRM2bhS2bRzHHrK7lRJvK4VeRTzHihJAbhJvihS2GXu+xRM2bhJAbRM2bUK7iRM2bRM2bhS2LUKozuVORuafgwl4/ocF0oTHLqSHCVcWNF8+CFZLkw6f/huOEVN8Y56FlhJeJwRqiwx9PWXLqqxqjjCxBVXqIHGIxiuo3968K46787xHtuVLURJCgRCI7VcqVFFWXT8cj5T9aWNFEWZfLjEO3wT/Bol8zok7CHGHYyX0bhRtMqSVZqM+/rzAGruxLgZWawNvMWu+xRM2bhJAbRM2brROcHE83rK7iRM2bRM2bRM2Lgb==S4LLWP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LtGeMFuo39l539NqfHN/fwTVLgb6rol9cWCvO5X7ajK+G1NfzWT5vtEf6Hl2QUzvkHkonWTCbWEeLyK/awZ6B5Z86WTHBoEccozA0UP0LURJnjl7OwK9AoCVGUK7ZUK7a5X7CoEbLgb6rWTq0wz2GiNvbHNcBwPIZ5TeCWR6P9zYx5Z86HX93TM8HUPoP9M3qKEcEtK++jT/15X9z5Xx09NqfHlFzw83eXubxXCIiVC7w96qfH87C5EVGXux+ruIc5ZfBtKo+oZF3WTq6WT4vtGqcwNFaHNFxtPosS4Lc5ZfBtKo+iPon9NqfHN/fwTFwhF6n9z2AUZvbHNcBwaYGgb6r146r146rWGFn5k7LwZY+HEcxWTA0tK7b5THcUK7MHl9c5T6+ruIsS4LLWP++9lIfWZV+iR6+9zoLtl9cHlFzwPInHTe3gb6r9lWLWlqC5z2vtlIzWTH1wT865Z+09keEwN8MjlWfoGhn5ZvnWEcGtS6+WXqa5XIcXK+PrKYDru9orROAoCVGUK7b5THcUK7YwTbLgb6r9l9cyEV+iuIawZY0tK7YwTewhF6+rR3qKGIzWTH1wT865Z+09kbAHEcxWTvhjT/miP+nrPxAUkWLWNFBRNcnjM/AoCVGUK7zWXLcUK7ErR3qKEcEtK++9lWLWlqC5z2viu2btKx+oEF6HX9ntN/CwNbsS4LLWP++9lq6oEFfwu2Ltl3qKP7EjTectS6+9NWwhF6n9l70jXhOiGIzWTW1ok7zWT8OtKYPiutn9lq6oEFfwR3qKGCcwlqctl3qKP7EjTectS6+9NWwhF6sS4LvS40xWEc3WXWLWK2vtNf6wTeMoNFajT835ZffoGq1WNFawZ7crK7EjTecrR3qKG9cHlFzwP2xWEc3WXWLWS3qKG6qKG6s~WatT[ANZG~Qflxnmxo

Function Calls

fopen 1
fread 3
strtr 2
fclose 1
urldecode 1
str_replace 1
base64_decode 3

Variables

$O000O0O00 True
$O0O000O00 fgets
$O0O00OO00 fread
$OO00O0000 4152
$OO00O00O0 if( !defined( 'VIDEOGRABBINGER') ) { die( "You fucking id..
$OOO000000 fg6sbehpra4co_tnd
$OOO00000O strtr
$OOO0000O0 base64_decode
$OOO000O00 fopen
$OOO0O0O00 index.php

Stats

MD5 47b545aaf2c501650c73325d7d6f0727
Eval Count 3
Decode Time 154 ms