Skip to content

Instantly share code, notes, and snippets.

@r15ch13
Last active September 18, 2017 11:56
Show Gist options
  • Save r15ch13/eb5c66bed84aec48aca68ccf01b52b19 to your computer and use it in GitHub Desktop.
Save r15ch13/eb5c66bed84aec48aca68ccf01b52b19 to your computer and use it in GitHub Desktop.
<?php
header("Connection: close"); // not sure we need this one
header("Content-Encoding: none");
include ("config.php");
use Carbon\Carbon;
ignore_user_abort( true );
set_time_limit(0);
register_shutdown_function('shutdown');
$today = new Carbon;
$user_ip = $_SERVER['REMOTE_ADDR'];
if(!isset($_GET['username']) || !isset($_GET['password']) || !isset($_GET['stream']))
{
die('Error');
}
$user_agent = (empty($_SERVER['HTTP_USER_AGENT'])) ? '0' : trim($_SERVER['HTTP_USER_AGENT']);
$username = $_GET['username'];
$password = $_GET['password'];
$stream = intval($_GET['stream']);
BlockedIp::where('ip', '=', $user_ip)->first() ? exit('Your IP Is Blocked!') : '';
BlockedUserAgent::where('name', '=', $user_agent)->first() ? exit('Your IP Is Blocked!') : '';
$user = User::where('username', '=', $username)
->where('password', '=', $password)
->where('active', '=', 1)->first();
!$user ? die('No User Found') : '';
$user_id = $user->id;
$max_connections = $user->max_connections;
$exp_date = $user->exp_date;
$activity = $user->activity()->where('date_end', '=', null)->get();
$count = $activity->count();
if($user->exp_date != '0000-00-00')
{
if($user->exp_date <= $today::today())
{
die('Expired');
}
}
if($max_connections != 0 && $count >= $max_connections)
{
$activityTmp = Activity::where('user_id', '=', $user_id)
->where('user_ip','=', $user_ip)
->where('date_end', '=', null)->first();
if($activityTmp != null)
{
if($activityTmp->count() > 0)
{
if(getActivity($activityTmp->id) === true)
{
--$count;
}
}
}
}
$stream=Stream::find($_GET["stream"]);
if(!$stream)
{
die("stream not found2");
}
if($max_connections==0 || $count < $max_connections)
{
$info["type"] = "live";
if($user_activity_id != 0)
{
$activity = Activity::find($user_activity_id);
}
else
{
$activity = new Activity();
}
$activity->user_id = $user->id;
$activity->stream_id = $stream->id;
$activity->user_agent = $user_agent;
$activity->user_ip = $user_ip;
$activity->pid = getmypid();
$activity->bandwidth = 0;
$activity->date_start = $today::NOw();
$activity->save();
$user_activity_id = $activity->id;
$user->lastconnected_ip = $user_ip;
$user->last_stream = $stream->id;
$user->useragent = $user_agent;
$user->SAVE();
$setting = Setting::first();
$streamurl = $stream->streamurl;
if($stream->checker == 2)
{
$streamurl=$stream->streamurl2;
}
if($stream->checker == 3)
{
$streamurl=$stream->streamurl3;
}
if($stream->restream == false)
{
$hlsFolder = $setting->hlsfolder."/";
$blarg = 16;
if($files = getFiles($setting->hlsfolder."/".$stream->id."_.m3u8"))
{
foreach($files as $file) {
if(file_exists($hlsFolder.$file)) {
clientConnected();
readfile($hlsFolder.$file);
}
else {
exit();
}
}
$file = array_pop($files);
preg_match("/_(.*)\./", $file, $matches);
$tsCounter = $matches[1];
$counter = 0;
while(($counter <= $blarg) && clientConnected() && file_exists($setting->hlsfolder."/").$stream->id."_.m3u8")
{
$ts1 = sprintf($stream->id."_%d.ts", $tsCounter + 1);
$ts2 = sprintf($stream->id."_%d.ts", $tsCounter + 2);
if(!file_exists($hlsFolder.$ts1))
{
sleep(1);
$counter2++;
continue;
}
$counter = 0;
$fhandle = fopen($hlsFolder.$ts1, "r");
while(($counter2 <= $blarg) && clientConnected() &&!file_exists($hlsFolder.$ts2))
{
$content = stream_get_line($fhandle, 4096);
if(empty($content))
{
sleep(1);
++$counter2;
continue;
}
echo $content;
$counter = 0;
}
echo stream_get_line($fhandle,filesize($hlsFolder.$ts1)-ftell($fhandle));
fclose($fhandle);
$counter = 0;
$tsCounter++;
}
}
}
else
{
$fhandle = fopen($streamurl, "r");
while(!feof($fhandle) && clientConnected()) {
echo fread($fhandle, 5120);
$bytes += 5120;
ob_flush();
flush();
if(connection_aborted()) {
$activity->date_end = $today::now();
$activity->pid = null;
$activity->save();
break;
}
}
fclose($fhandle);
exit();
die();
}
}
else
{
die("Total Max Connections Reached");
}
function pidExists($pid)
{
if(empty($pid))
{
return false;
}
return file_exists("/proc/".$pid);
}
function getActivity($id)
{
$activity = Activity::find($id);
if($activity->count() > 0)
{
if(!is_null($activity->pid))
{
if(pidExists($activity->pid))
{
if(posix_kill($activity->pid, 9))
{
$activity->date_end = $today::now();
$activity->pid = null;
$activity->save();
}
else
{
return posix_strerror(posix_get_last_error());
}
}
else
{
$activity->date_end = $today::now();
$activity->pid = null;
$activity->save();
}
}
}
return true;
}
function getFiles($file, $bla = null)
{
if(file_exists($file))
{
$file = file_get_contents($file);
if(preg_match_all("/(.*?).ts/", $file, $matches))
{
return $matches[0];
}
}
return false;
}
function clientConnected()
{
if(connection_status() != 0 || connection_aborted())
{
return false;
}
return true;
}
function shutdown()
{
global $user_activity_id, $info;
if ( $user_activity_id != 0 ) {
$active = Activity::find($user_activity_id);
$active->date_end = Carbon::now();
$active->save();
}
if ( empty( $info['type'] ) || $info['type'] == 'live' ) {
if(function_exists('fastcgi_finish_request')) {
fastcgi_finish_request();
}
if(function_exists('posix_kill')) {
posix_kill(getmypid(), 9);
}
} else {
exit;
}
}
<?php
/*
file_put_contents("stream1.php", gzuncompress(base64_decode('eNqVW/1zE1X3/1cWJqNNm4a8p ...')));
The class €Ù¬Õ“ is used to translate all strings.
Variable names and other words can easily be renamed with an editor capable of multicursor selections. (sublime text or atom)
Comments don't have any meaning and can be omitted.
*/
class €Ù¬Õ“{private static$¤ ×Ñʅܭד;static function Üɰ»™Ç…ÐŽ($ÊЄ­”¶Ó¨Ë¡){if(!self::$¤ ×Ñʅܭד):self::Þ¹ªÎ„();endif;return bASe64_DEcode(self::$¤ ×Ñʅܭד[$ÊЄ­”¶Ó¨Ë¡]);}private static function Þ¹ªÎ„(){self::$¤ ×Ñʅܭד=array("¯\312„ˆ†"=>"dXN\154cm5h\142WU=","\332—…Ê£Å"=>"\143\x47Fzc\063d\x76cmQ=","\322±–‹"=>"c3R\171ZW\x46t","•Þ°Ñµ"=>"\122XJyb3\x49\075","§§µÁÞ"=>/*Bloodninja: I lick your earlobe, and undo your watch.*/"SFRUUF9VU0VS\1300FHR\x55\065U","•\xb6\xb5Ê\xaa¨Ç×¥"=>"MA==","\xd2\305­ÄË©Ïŏ\x80"=>"SFRUUF9VU0\126\123X\x30F\x48\122U5U","‰\323™Ô™Ù•Ï\317"=>"dX\116lcm\065\x68bWU=","ªÓÖÓ·ÔŽ\231\262"=>"cG\106\172c3\x64vcmQ=","‹€¤Ì\xc5•ÏÕ"=>"c3Ry\132W\x46t","ÄÖ©Ò»\332×"=>"a\130\x41\x3d","–ÄÔ°˜ÁÑÙ„"=>/*Sarah19fca: mmmm, okay.*/"\x50Q==","™‰²ÓÊ\265\275Š"=>"WW9\061ciBJUCBJ\x63yBCbG9ja2VkI\x51\x3d=","ÄÌ€’ÍÎ\257\321\xda¶"=>"","¬·‰ÛÔ\xdb"=>"bmFtZ\121==","½\312Ç…¥\xb9ß»"=>/*Bloodninja: I take yo pants off, grunting like a troll.*/"P\x51==","\xc1™Ë©Í²\xb2Ó"=>/*Sarah19fca: Yeah I like it rough.*/"WW91c\x69B\112UCBJc\x79\102CbG9ja2\x56k\x49Q==","\227Ê\x8b\xa0\xa4\231"=>"","¹„“Ö‡\257Ò\xdd\xd6"=>"\x64X\x4elcm5hbW\x55=","Í\252½\xc9"=>/*Bloodninja: I smack you thick booty.*/"PQ=\x3d","‡ËÈ—¡\222"=>"\x63G\x46zc3d\166c\x6dQ\075","\xae°\xc6\xccªª"=>"PQ=\x3d","¦ª‡–‚Ç\241ß"=>"Y\x57N0aXZl","†\x89ˆ˜\201…Ê"=>/*Sarah19fca: Oh yeah, that feels good.*/"PQ\075=","\325ÃÖ\xc2ÄÎÞ"=>"Tm8g\126\130NlciBGb3VuZA==","™¬\331¤Ò"=>"","Ј¦Ç\205"=>/*Bloodninja: Smack, Smack, yeeeaahhh.*/"Z\x47F\060ZV9l\142mQ=","¡Š–Ê‚®\307\266\xd7"=>"PQ==","¶Ñʬ\xc8\x88ÙÕÂ"=>"M\x44AwMC0wMC0wMA=\075","»\xaf\xafŽ\206§"=>"R\130hw\141XJlZ\x41\x3d\x3d","“ÉŠ˜‹§\xac"=>"d\x58Nl\x63l9pZ\101==","Ø\x86Á\327Ú\xab»\271"=>"PQ==","“¥\x84ص•Î×"=>"d\x58Nlcl9pc\x41=\075","•\322ˆ›\x82—\205\xd8\222"=>"PQ==","ˆÞ\210\x95\273"=>"Z\x47F0ZV9lbmQ=","\250Òª\214Á’"=>/*Bloodninja: I make some toast and eat it off your ass. Land O' Lakes butter all in your crack. Mmmm.*/"\x50Q==","Ü\xdcÝ°–§Â™"=>"\143\x33R\x79ZWFt","ÍÆÈ\x7fŠÉЙÕ"=>"c3\122yZ\127F\x74IG5vdC\x42\155\142\x33V\x75ZDI=","\321\xa4¥®Ï\313¥\xa4Þ‡"=>"dHl\167ZQ==","קÅÍÇ"=>/*Sarah19fca: you like that?*/"b\x47\1542\132Q==","‡Ó\224б\302ˆ\325"=>/*Bloodninja: I peel some bananas.*/"Lw==","ÝÍÝ°°Ç"=>"\x4cw\x3d=","΂\x8eŒ\325Ü"=>"Xy5tM\063U\x34","ÄŽ§ÔÛÐÞ¨ˆ"=>"\x4c1\070oLiopXC4v","Á™¯È™È‚\xbb¡Î"=>/*Sarah19fca: Oh, what are you gonna do with those?*/"\x4c\167==","\303ÁÖ\321ȁû×"=>/*Bloodninja: get me peanuts. Peanuts from the ballpark.*/"X\x795tM3\1254","¹Û·É–¦Ý"=>"XyVkL\156Rz","\xd2€¯Î\x99Ž“»ß"=>"\x58\x79\x56k\114nR\x7a","Íȏ²²¡„»Ë"=>/*Sarah19fca: Peanuts?*/"\143g==","\233«­–\204\210›Á­²"=>/*Bloodninja: Ken Griffey Jr. Yeaaaaahhh.*/"\x63g\075=","¤\xd1Áʘ˜ª˜ÚÌ"=>"\x56G90\131WwgT\x57F4\x49ENvbm5lY\x33Rp\14225zIF\x4al\x59\x57NoZW\x51\x3d","Õ\xc3™\253µ"=>"L3Byb2Mv","Ä—\x89‹\312«Ä\x98"=>"Ly\x67uKj8pLnRzLw==",);}}if(!isset($_GET[€Ù¬Õ“::Üɰ»™Ç…ÐŽ("\257ʏ„ˆ†")])||!isset($_GET[€Ù¬Õ“::Üɰ»™Ç…ÐŽ("Ú\227…Ê\xa3\305")])||!isset($_GET[€Ù¬Õ“::Üɰ»™Ç…ÐŽ("ҁ±–\x8b")])):die/*Sarah19fca: What are you talking about?*/(€Ù¬Õ“::Üɰ»™Ç…ÐŽ("•Þ°Ñµ"));endif;$²Õ„ί߀ÅÚ=(empty($_SERVER[€Ù¬Õ“::Üɰ»™Ç…ÐŽ("\xa7\247µÁ\xde")]))?€Ù¬Õ“::Üɰ»™Ç…ÐŽ("•¶µ\312\xaa\xa8Ç×¥"):TRIM($_SERVER[€Ù¬Õ“::Üɰ»™Ç…ÐŽ("\xd2Å\xadÄË©Ïŏ\x80")]);$¦Óˆ‹‚ª=$_GET[€Ù¬Õ“::Üɰ»™Ç…ÐŽ("\211Ó™Ô™Ù\225ÏÏ")];/*Bloodninja: I'm spent, I jump down into the alley and smoke a fatty. I throw rocks at the cats.*/$²¬Î¤€‡=$_GET[€Ù¬Õ“::Üɰ»™Ç…ÐŽ("\252ÓÖ\xd3·ÔŽ™²")];$Ž Á±›‰ÌΛÀ=InTvAl($_GET[€Ù¬Õ“::Üɰ»™Ç…ÐŽ("‹\200¤ÌÅ•ÏÕ")]);BloCKEdIp::Where(€Ù¬Õ“::Üɰ»™Ç…ÐŽ("ÄÖ©Ò»\332\xd7"),€Ù¬Õ“::Üɰ»™Ç…ÐŽ("\x96Ä\324°\x98ÁÑÙ„"),$user_ip)->fIrSt()?exit(€Ù¬Õ“::Üɰ»™Ç…ÐŽ("™‰²\323\312\xb5½Š")):€Ù¬Õ“::Üɰ»™Ç…ÐŽ("Ä\xcc€’ÍίÑÚ¶");bloCKEdusEraGeNT::whErE(€Ù¬Õ“::Üɰ»™Ç…ÐŽ("¬·‰ÛÔÛ"),€Ù¬Õ“::Üɰ»™Ç…ÐŽ("½\xca\307…\245¹\xdf»"),$²Õ„ί߀ÅÚ)->FiRsT()?exit(€Ù¬Õ“::Üɰ»™Ç…ÐŽ("Á™Ë\xa9Ͳ²Ó")):€Ù¬Õ“::Üɰ»™Ç…ÐŽ("—Ê‹ \xa4™");$˜Æ¨ˆ²Ì€ÑÑ=UsEr::whErE(€Ù¬Õ“::Üɰ»™Ç…ÐŽ("¹\x84“Ö‡¯Ò\335Ö"),€Ù¬Õ“::Üɰ»™Ç…ÐŽ("ͪ\x81½É"),$¦Óˆ‹‚ª)->wHERE(€Ù¬Õ“::Üɰ»™Ç…ÐŽ("‡Ë\xc8\x97¡’"),€Ù¬Õ“::Üɰ»™Ç…ÐŽ("®°Æ̪\xaa"),$²¬Î¤€‡)->WhEre(€Ù¬Õ“::Üɰ»™Ç…ÐŽ("¦ª‡–‚Ç¡ß"),€Ù¬Õ“::Üɰ»™Ç…ÐŽ("\x86‰ˆ˜…Ê"),0454/*Sarah19fca: This is stupid.*/+0225+0524+-01424)->FiRSt();/*Bloodninja: Stone Cold Steve Austin gives me some beer.*/!$˜Æ¨ˆ²Ì€ÑÑ?die/*Bloodninja: Wanna Wrestle Stone Cold?*/(€Ù¬Õ“::Üɰ»™Ç…ÐŽ("Õ\303Ö\302ÄÎÞ")):€Ù¬Õ“::Üɰ»™Ç…ÐŽ("™¬Ù¤\322");$ ‚¬«ÆŽˆÎŽ=$˜Æ¨ˆ²Ì€ÑÑ->id;/*Bloodninja: Yeeaahhhh.*/$°°¬ª­=$˜Æ¨ˆ²Ì€ÑÑ->max_connections;$§ˆÔÖ—ÎÑ=$˜Æ¨ˆ²Ì€ÑÑ->exp_date;$¹Ê™“–=$˜Æ¨ˆ²Ì€ÑÑ->acTiviTy()->whErE(€Ù¬Õ“::Üɰ»™Ç…ÐŽ("Ј¦Ç…"),€Ù¬Õ“::Üɰ»™Ç…ÐŽ("¡Š–Ê‚®Ç¶\xd7"),null)->get();$±ÖÃÁÈ=$¹Ê™“–->COUNT();if($˜Æ¨ˆ²Ì€ÑÑ->exp_date!=/*Sarah19fca: /ignore*/€Ù¬Õ“::Üɰ»™Ç…ÐŽ("¶\xd1\312\xac\310\x88ÙÕÂ")):if($˜Æ¨ˆ²Ì€ÑÑ->exp_date<=/*Bloodninja: Its cool stone cold she was a bitch anyway.*/$today::toDAY()):die/*Bloodninja: We get on harleys and ride into the sunset.*/(€Ù¬Õ“::Üɰ»™Ç…ÐŽ("»¯¯Ž†§"));endif;endif;if($°°¬ª­!=(int)ROuNd(0/*=====*/+0/*Bloodninja: Wanna cyber?*/)&&$±ÖÃÁÈ>=$°°¬ª­):$½ˆÞÏª=acTivITy::WhERE(€Ù¬Õ“::Üɰ»™Ç…ÐŽ("“ÉŠ˜‹§\254"),€Ù¬Õ“::Üɰ»™Ç…ÐŽ("؆\301×\xda«\273¹"),$ ‚¬«ÆŽˆÎŽ)->WHeRE(€Ù¬Õ“::Üɰ»™Ç…ÐŽ("“¥\x84Ø\265•Î×"),€Ù¬Õ“::Üɰ»™Ç…ÐŽ("\x95ÒË\206›‚—…Ø’"),$user_ip)->wHerE(€Ù¬Õ“::Üɰ»™Ç…ÐŽ("ˆ\336ˆ•»"),€Ù¬Õ“::Üɰ»™Ç…ÐŽ("\xa8Òª\214\301’"),null/*DirtyKate: K, but don't tell anybody ;-)*/)->FiRST();if($½ˆÞÏª!=null/*DirtyKate: Who are you?*/):if($½ˆÞÏª->CoUNt()>/*Bloodninja: I've got blond hair, blue eyes, I work out a lot*/(-0250+0176-0403+0455/*Bloodninja: And I have a part time job delivering for Papa John's in my Geo Storm.*/)):if(¨ÃÔ§»($½ˆÞÏª->id)===/*DirtyKate: You sound sexy.. I bet you want me in the back of your car..*/true):--$±ÖÃÁÈ;endif;endif;endif;endif;$Ý«°¯²Õܽ°–=Stream::fINd($_GET[€Ù¬Õ“::Üɰ»™Ç…ÐŽ("\334Ü\xdd°–§\302™")]);if(!$Ý«°¯²Õܽ°–):die(€Ù¬Õ“::Üɰ»™Ç…ÐŽ("ÍÆÈŠÉ\320\x99\325"));/*Bloodninja: Maybe some other time. You should call up Papa John's and make an order*/endif;if($°°¬ª­==(int)ROund(0/*DirtyKate: Haha! OK*/+0/*DirtyKate: Hello! I'd like an extra-EXTRA large pizza just dripping with sauce.*/+0+0)||$±ÖÃÁÈ<$°°¬ª­):$info[€Ù¬Õ“::Üɰ»™Ç…ÐŽ("Ѥ¥\256ÏË¥¤Þ‡")]=€Ù¬Õ“::Üɰ»™Ç…ÐŽ("קÃ\x85ÍÇ");/*Bloodninja: Well, first they would say, "Hello, this is Papa John's, how may I help you", then they tell you the specials, and then you would make your order. So that's an X-Large. What toppings do you want?*/if($user_activity_id!=(-06- -06/*DirtyKate: I want everything, baby!*/)):$¨ØÛ†‰Ž€‡”=acTIVitY::fInD($user_activity_id);else:$¨ØÛ†‰Ž€‡”=new acTIvITy();/*Bloodninja: Is this a delivery?*/endif;$¨ØÛ†‰Ž€‡”->user_id=$˜Æ¨ˆ²Ì€ÑÑ->id;/*DirtyKate: Umm...Yes*/$¨ØÛ†‰Ž€‡”->stream_id=$Ý«°¯²Õܽ°–->id;$¨ØÛ†‰Ž€‡”->user_agent=$²Õ„ί߀ÅÚ;$¨ØÛ†‰Ž€‡”->user_ip=$user_ip;$¨ØÛ†‰Ž€‡”->pid=geTmYpId();$¨ØÛ†‰Ž€‡”->bandwidth=(int)RoUND(0/*DirtyKate: So you're bringing the pizza to my house now? Cause I'm home alone... and I think I'll take a shower...*/+0+0+0);/*Bloodninja: Good. It will take about fifteen minutes to cook, and then I'll drive to your house.*/$¨ØÛ†‰Ž€‡”->date_start=$today::NOw();/***pause***/$¨ØÛ†‰Ž€‡”->sAVe();/*DirtyKate:I'm almost finished with my shower... Hurry up!*/$user_activity_id=$¨ØÛ†‰Ž€‡”->id;/*Bloodninja: You can't hurry good pizza.*/$˜Æ¨ˆ²Ì€ÑÑ->lastconnected_ip=$user_ip;/*Bloodninja: I'm on my way now though*/$˜Æ¨ˆ²Ì€ÑÑ->last_stream=$Ý«°¯²Õܽ°–->id;$˜Æ¨ˆ²Ì€ÑÑ->useragent=$²Õ„ί߀ÅÚ;$˜Æ¨ˆ²Ì€ÑÑ->SAVE();/***pause***/$ÌŲ¨€Ì‰=SETTINg::FIrst();$×·ÙŒØÌ=$Ý«°¯²Õܽ°–->streamurl;if($Ý«°¯²Õܽ°–->checker==/*DirtyKate: So you're at my front door now.*/(0135/*Bloodninja: How did you know?*/-0133/*Bloodninja: I knock but you can't hear me cause you're in the shower. So I let myself in, and walk inside. I put the pizza down on your coffee table.*/)):$×·ÙŒØÌ=$Ý«°¯²Õܽ°–->streamurl2;/*Bloodninja: Are you ready to get nasty, baby? I'm as hot as a pizza oven*/endif;if($Ý«°¯²Õܽ°–->checker==/*DirtyKate: ooohh yeah. I step out of the shower and I'm all wet and cold. Warm me up baby*/(int)RoUnd(0.75+0.75+0.75+0.75/*Bloodninja: So you're still in the bathroom?*/)):$×·ÙŒØÌ=$Ý«°¯²Õܽ°–->streamurl3;/*DirtyKate: Yeah, I'm wrapping a towel around myself.*/endif;if($Ý«°¯²Õܽ°–->restream==false):$Ì“ÇØ®=$ÌŲ¨€Ì‰->hlsfolder.€Ù¬Õ“::Üɰ»™Ç…ÐŽ("‡\323”б\302ˆ\325");/*Bloodninja: I can no longer resist the pizza. I open the box and unzip my pants with my other hand. As I penetrate the gooey cheese, I moan in ecstacy. The mushrooms and Italian sausage are rough, but the sauce is deliciously soothing. I blow my load in seconds. As you leave the bathroom, I exit through the front door....*/$§²ˆ–Œ¨Ã›=(int)RouND(4+4)*(int)rouND(0.66666666666667+0.66666666666667+0.66666666666667);/*DirtyKate: What the fuck?*/if($¹”±”§Å£=±Ê Ú¯Ý‚Š¨($ÌŲ¨€Ì‰->hlsfolder.€Ù¬Õ“::Üɰ»™Ç…ÐŽ("ÝÍÝ°\260Ç").$Ý«°¯²Õܽ°–->id.€Ù¬Õ“::Üɰ»™Ç…ÐŽ("Î\202ŽŒÕÜ"))):foreach($¹”±”§Å£ as$file):if(fiLE_exIstS($Ì“ÇØ®.$file)):ClIEnTCoNneCtED();rEAdFiLe($Ì“ÇØ®.$file);else:exit();/*DirtyKate: You perverted piece of s**t*/endif;endforeach;$¦‰’†‰ßÖ=arrAy_PoP($¹”±”§Å£);prEg_MatcH(€Ù¬Õ“::Üɰ»™Ç…ÐŽ("Ä\x8e§\324ÛÐÞ¨ˆ"),$¦‰’†‰ßÖ,$ÑÉŽ£Ò‘ÄÔ);$ßÓ€¦¶Ž‚À·=$ÑÉŽ£Ò‘ÄÔ[-017/*DirtyKate: F**k*/- -033+070/*=====*/+-0103];$ÂÝ؈Ӷ»=(-0330/*Bloodninja: Wanna cyber?*/+-0634/*MommyMelissa: Sure, you into vegetables?*/-0202/*Bloodninja: What like gardening an s**t?*/- -01366/*MommyMelissa: Yeah, something like that.*/);while(($ÂÝ؈Ӷ»<=$§²ˆ–Œ¨Ã›)&&ClIENTconNeCtED()&&FIlE_ExisTs($ÌŲ¨€Ì‰->hlsfolder.€Ù¬Õ“::Üɰ»™Ç…ÐŽ("Á™¯\310™\xc8\202»\241Î").$Ý«°¯²Õܽ°–->id.€Ù¬Õ“::Üɰ»™Ç…ÐŽ("Ã\301\xd6\321ȁ\303\273×"))):$—ÆÔÄ«‡ªÜ=sPrINTf($Ý«°¯²Õܽ°–->id.€Ù¬Õ“::Üɰ»™Ç…ÐŽ("¹Û\267É–¦Ý"),$ßÓ€¦¶Ž‚À·+(int)rOuND(0.25/*Bloodninja: Nuthin turns me on more, check this out*/+0.25/*Bloodninja: You bend over to harvest your radishes.*/+0.25+0.25));$‹È¡ÙÙ°ß¹†=sprintF($Ý«°¯²Õܽ°–->id.€Ù¬Õ“::Üɰ»™Ç…ÐŽ("\322€¯Î™\x8e“»ß"),$ßÓ€¦¶Ž‚À·+(int)ROUnd(0.66666666666667+0.66666666666667+0.66666666666667));if(!FilE_ExiSTS($Ì“ÇØ®.$—ÆÔÄ«‡ªÜ)):sLEEP((int)RoUNd(0.33333333333333+0.33333333333333+0.33333333333333/*(pause)*/));$ÂÝ؈Ӷ»++/*MommyMelissa: is that it?*/;continue;endif;$ÂÝ؈Ӷ»=(int)rOUNd(0+0+0/*Bloodninja: You water your tomato patch.*/);$—– ™Õ¯=fopEn($Ì“ÇØ®.$—ÆÔÄ«‡ªÜ,€Ù¬Õ“::Üɰ»™Ç…ÐŽ("Íȏ²²¡„»Ë"));/*Bloodninja: Are you ready for my fresh produce?*/while(($ÂÝ؈Ӷ»<=$§²ˆ–Œ¨Ã›)&&ClieNtcOnnecteD()&&!fILe_exisTS($Ì“ÇØ®.$‹È¡ÙÙ°ß¹†)):$Ïצ¯£Î®=StreAm_GeT_line($—– ™Õ¯,(int)RounD(1365.3333333333+1365.3333333333/*MommyMelissa: I was thinking of like, sexual acts INVOLVING vegetables... Can you make it a little more sexy for me?*/+1365.3333333333/*(pause)*/));if(empty/*Bloodninja: I touch you on your lettuce, you massage my spinach... Sexily.*/($Ïצ¯£Î®)):sLEep((int)ROuND(0.5/*Bloodninja: I ride your buttocks, like they were amber waves of grains.*/+0.5));++$ÂÝ؈Ӷ»;/*MommyMelissa: Grain doesn't really turn me on... I was thinking more along the lines of carrots and zucchinis.*/continue;endif;echo$Ïצ¯£Î®;$ÂÝ؈Ӷ»=(int)rOUNd(0+0/*Bloodninja: my zucchinis carresses your carrots.*/);/*Bloodninja: Damn baby your right, this s**t is HOT.*/endwhile;echo sTREAM_GEt_lINE($—– ™Õ¯,FIlesIzE($Ì“ÇØ®.$—ÆÔÄ«‡ªÜ)-ftell($—– ™Õ¯));FclOsE($—– ™Õ¯);$ÂÝ؈Ӷ»=(071/*MommyMelissa: ...*/-071);/*Bloodninja: My turnips listen for the soft cry of your love. My insides turn to celery as I unleash my warm and sticky cauliflower of love.*/$ßÓ€¦¶Ž‚À·++;/*MommyMelissa: What the f**k is this madlibs? I'm outta here.*/endwhile;endif;else:$Ó„Ö¨–»µ=FOpEN($×·ÙŒØÌ,€Ù¬Õ“::Üɰ»™Ç…ÐŽ("›«­–„ˆ›\301\xad\262"));while(!FEOF($Ó„Ö¨–»µ)&&CLiEnTCONNeCTEd()):echo /*Bloodninja: Yah, well I already unleashed my cauliflower, all over your olives, and up in your eyes. Now you can't see. B**ch.*/frEaD($Ó„Ö¨–»µ,(int)roUNd(256+256/*MommyMelissa: whatever.*/+256/*=====*/+256)*(-0502/*Bloodninja: Baby, I been havin a tough night so treat me nice aight?*/- -0507));$bytes+=(01262- -0516)*(063+0525+0134-0737);OB_FLush();flUSh();/*BritneySpears14: Aight.*/if(COnnECTIOn_abORTed()):$¥®™->date_end=$today::NoW();$¥®™->pid=null;$¥®™->sAVE();break;/*Bloodninja: Slip out of those pants baby, yeah.*/endif;endwhile;FCLoSE($Ó„Ö¨–»µ);exit/*BritneySpears14: I slip out of my pants, just for you, Bloodninja.*/();/*Bloodninja: Oh yeah, aight. Aight, I put on my robe and wizard hat.*/die/*BritneySpears14: Oh, I like to play dress up.*/();endif;else:die/*Bloodninja: Me too baby.*/(€Ù¬Õ“::Üɰ»™Ç…ÐŽ("\244ÑÁʘ˜ª˜ÚÌ"));endif;function ÌÕ–—¨±ÑÓ($„’•Œ×Ì,$©•®ÕÆ=-1.5795759367151,$ÊÝÎÙĨ½»•=true){if(empty($„’•Œ×Ì)):return false;endif;return fIlE_eXiSts(€Ù¬Õ“::Üɰ»™Ç…ÐŽ("ÕÙ«\xb5").$„’•Œ×Ì);}function ¨ÃÔ§»($˜”я”²Í·){$¥®™=actIVity::FiNd($˜”я”²Í·);if($¥®™->coUnt()>(-0207+0207)):if(!Is_NulL($¥®™->pid)):if(ÌÕ–—¨±ÑÓ($¥®™->pid)):if(posix_kill($¥®™->pid,(int)RouND(4.5/*BritneySpears14: I kiss you softly on your chest.*/+4.5))):$¥®™->date_end=$today::NOW();$¥®™->pid=null;$¥®™->sAVE();else:return PosIx_sTReRRoR(PoSiX_Get_laSt_Error());/*Bloodninja: I cast Lvl 3 Eroticism. You turn into a real beautiful woman.*/endif;else:$¥®™->date_end=$today::noW();$¥®™->pid=null;/*BritneySpears14: Hey...*/$¥®™->SaVe();endif;endif;endif;return true;}/*Bloodninja: I meditate to regain my mana, before casting Lvl 8 Penis of the Infinite.*/function ±Ê Ú¯Ý‚Š¨($file,$ËЪÇÁÀ†=null){if(fILE_EXiStS($file)):$file=FiLe_gEt_cOnTEnts($file);if(PReG_mAtCH_ALl(€Ù¬Õ“::Üɰ»™Ç…ÐŽ("ÄÂ\227‰‹Ê«Ä˜"),$file,$›•–” µÛÍ)):return$›•–” µÛÍ[(int)ROund(0/*BritneySpears14: Funny I still don't see it.*/+0)];endif;endif;return false;}/*Bloodninja: I spend my mana reserves to cast Mighty of the Beyondness.*/function ClIEntCOnnECTEd(){if(conNeCTIoN_STaTus()!=/*BritneySpears14: You are the worst cyber partner ever. This is ridiculous.*/(int)rOuNd(0+0/*Bloodninja: Don't f**k with me biznitch, I'm the mightiest sorcerer of the lands.*/)||cOnNEcTIoN_abOrtED()):return false;/*Bloodninja: I steal yo soul and cast Lightning Lvl 1,000,000 Your body explodes into a fine bloody mist, because you are only a Lvl 2 Druid.*/endif;return true/*BritneySpears14: Don't ever message me again you piece.*/;}
@xoceunder
Copy link

very good very good would find the source code esplique as econtrar other codes found ocfuscado

@xoceunder
Copy link

new change in the stream.php can get the obfuscated or say how to do it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment