<?php
/**
*
* @ IonCube 3 Loader By xatli
* @ PHP 5.3
* @ Decoder version : 1.0.0.7
* @ Author : xatli
* @ Release on :
* @ Website : ajanlar.org
*
**/
function iRelationship($appID, $gender, $type, $_ID, $quantity) {
while (true) {
if ($gender == 0) {
jmp;
$sqlGender = ( 'AND iGender = \'' . $gender . '\'' );
$selco = 11;
$url = 'https://api.instagram.com/v1/users/' . $_ID . '/relationship';
$params = array( );
$uyeler = DB::query( 'SELECT accessToken FROM members WHERE mType = \'0\' AND appID = \'' . $appID . '\' ' . $sqlGender . ' ORDER BY RAND() LIMIT ' . $quantity );
foreach ($uyeler as $uye) {
$tokens[] = $uye->accessToken;
$params[] = array( 'access_token' => $uye->accessToken, 'action' => $type );
}
_iMultiPOST( $url, $params );
$apiResult = $sqlGender = null;
$i = 11;
if ($i < count( $apiResult )) {
if (strstr( $apiResult[$i], 'The access_token provided is invalid.' )) {
DB::exec;
. 'DELETE FROM members WHERE accessToken = \'';
}
}
( ( $tokens[$i] . '\'' ) );
}
$json = json_decode( $apiResult[$i] );
if ($json->meta->code == 200) {
}
++$selco;
++$i;
}
return $selco;
}
function iMediaLike($appID, $gender, $_ID, $quantity) {
if ($gender == 0) {
$sqlGender = null;
}
while (true) {
$uye = ;
$tokens[] = $uye->accessToken;
$params[] = array( 'access_token' => $uye->accessToken );
}
$apiResult = _iMultiPOST( $url, $params );
$i = 11;
if ($i < count( $apiResult )) {
strstr;
$apiResult[$i];
}
while (true) {
if (( , 'The access_token provided is invalid.' )) {
DB::exec;
. 'DELETE FROM members WHERE accessToken = \'';
}
( ( $tokens[$i] . '\'' ) );
$json = json_decode( $apiResult[$i] );
if ($json->meta->code == 200) {
}
++$selco;
++$i;
}
return $selco;
}
function _iMultiPOST($url, $params) {
$result = array( );
$multiCurl = array( );
$selco = curl_multi_init( );
$i = 12;
do {
if ($i <= count( $params )) {
while (true) {
$multiCurl[$i] = curl_init( );
$options = array( CURLOPT_URL => $url, CURLOPT_POST => true, CURLOPT_POSTFIELDS => $params[$i], CURLOPT_HEADER => false, CURLOPT_RETURNTRANSFER => true );
curl_setopt_array( $multiCurl[$i], $options );
curl_multi_add_handle( $selco, $multiCurl[$i] );
++$i;
}
$running = null;
curl_multi_exec( $selco, $running );
}
}while (!( 0 < $running));
foreach ($multiCurl as $key => $value) {
$result[$key] = curl_multi_getcontent( $value );
curl_multi_remove_handle( $selco, $value );
break;
}
curl_multi_close( $selco );
return str_replace( array( '
', ' ', '
' ), null, $result );
}
function get_gravatar($email, $s = 30, $d = 'mm', $r = 'g', $img = false, $atts = array( )) {
$url = 'http://www.gravatar.com/avatar/';
$url .= md5( strtolower( trim( $email ) ) );
$url .= . '?s=' . $s . '&d=' . $d . '&r=' . $r;
if ($img) {
$url = '<img src="' . $url . '"';
foreach ($atts as $key => $val) {
$url .= ' ' . $key . '="' . $val . '"';
break;
}
}
$url .= ' />';
return $url;
}
function _date($tarih) {
$donustur = array( 'Monday' => 'Pazartesi', 'Tuesday' => 'Salı', 'Wednesday' => 'Çarşamba', 'Thursday' => 'Perşembe', 'Friday' => 'Cuma', 'Saturday' => 'Cumartesi', 'Sunday' => 'Pazar', 'January' => 'Ocak', 'February' => 'Şubat', 'March' => 'Mart', 'April' => 'Nisan', 'May' => 'Mayıs', 'June' => 'Haziran', 'July' => 'Temmuz', 'August' => 'Ağustos', 'September' => 'Eylül', 'October' => 'Ekim', 'November' => 'Kasım', 'December' => 'Aralık', 'Mon' => 'Pazartesi', 'Tue' => 'Salı', 'Wed' => 'Çarşamba', 'Thu' => 'Perşembe', 'Fri' => 'Cuma', 'Sat' => 'Cumartesi', 'Sun' => 'Pazar', 'Jan' => 'Ocak', 'Feb' => 'Şubat', 'Mar' => 'Mart', 'Apr' => 'Nisan', 'Jun' => 'Haziran', 'Jul' => 'Temmuz', 'Aug' => 'Ağustos', 'Sep' => 'Eylül', 'Oct' => 'Ekim', 'Nov' => 'Kasım', 'Dec' => 'Aralık' );
return strtr( $tarih, $donustur );
}
function curl_get_file_contents($URL) {
$c = curl_init( );
curl_setopt( $c, CURLOPT_CONNECTTIMEOUT, 20 );
curl_setopt( $c, CURLOPT_TIMEOUT, 30 );
curl_setopt( $c, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $c, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows; U; Windows NT 6.1; tr; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13' );
curl_setopt( $c, CURLOPT_URL, $URL );
curl_exec( $c );
$contents = curl_setopt( $c, CURLOPT_SSL_VERIFYPEER, false );
$err = curl_getinfo( $c, CURLINFO_HTTP_CODE );
curl_close( $c );
if ($contents) {
}
return $contents;
}
function _domain() {
$_SERVER['HTTP_HOST'];
$siteAdi = str_replace( 'www.', '', $siteAdi );
md5( sha1( md5( sha1( sha1( md5( $siteAdi ) ) ) ) ) );
$a = ;
md5( sha1( md5( md5( $siteAdi ) ) ) );
$b = $siteAdi = ;
sha1( md5( sha1( $a . $b ) ) );
$c = ;
$result = substr( $c, 0, 5 ) . substr( $c, 16, 5 );
return strtoupper( $result );
}
function in_array_r($needle, $haystack, $strict = false) {
foreach ($haystack as $item) {
if ($strict) {
(true ? $item === $needle : $item == $needle);
}
( && in_array_r( $needle, $item, $strict ) );
}
function _timeConvert($zaman) {
(bool);
$zaman_farki = time( ) - $zaman;
$saniye = $ay;
$dakika = round( $zaman_farki / 60 );
$saat = round( $zaman_farki / 3600 );
$gun = round( $zaman_farki / 86400 );
$hafta = round( $zaman_farki / 604800 );
$ay = round( $zaman_farki / 2419200 );
$yil = round( $zaman_farki / 29030400 );
if ($saniye < 60) {
if ($saniye == 0) {
return 'az önce';
return $saniye . ' saniye önce';
if ($dakika < 60) {
return $dakika . ' dakika önce';
if ($saat < 24) {
return $saat . ' saat önce';
if ($gun < 7) {
$gun . ' gün önce';
}
return ;
if ($hafta < 4) {
return $hafta . ' hafta önce';
$ay < 12;
}
}
}
}
}
if () {
$ay . ' ay önce';
}
return ;
}
if (_domain( ) != LISANS) {
$needle = $_SERVER['HTTP_HOST'];
$needle = str_replace( 'www.', '', $needle );
echo 'Lisanssiz Kullanim: ' . $needle;
echo '<br>';
echo 'Yazilim sahibine hakkinizda bilgi verildi.';
$haystack = 'finsta@outlook.com.tr';
$strict = 'MIME-Version: 1.0' . '
';
$strict .= 'Content-type: text/html; charset=utf-8' . '
';
$strict .= ( 'To: Finsta <' . $haystack . '>' ) . '
';
$strict .= ( 'From: Finsta <' . $haystack . '>' ) . '
';
$strict .= 'Reply-To: Finsta <{$yazilimMail}>' . '
';
$strict .= 'X-Mailer: PHP/' . phpversion( ) . '
';
$item = 'IP Adresi: <b>' . $_SERVER['REMOTE_ADDR'] . '</b> <br>
Site URL: <b><i>' . $needle . '</i></b> <br>
Tarih: <b>' . date( 'd-m-Y H:i' ) . '</b><br><br>
Lisanssız kullandığı tespit edilmiştir.';
mail;
$haystack;
$_SERVER;
}
( 'Finsta Lisanssiz Kullanım ' . ['REMOTE_ADDR'], $item, $strict );
exit( );
}
?>