daily pastebin goal
91%
SHARE
TWEET

Untitled

a guest Jun 18th, 2017 135 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php // Redesign By Salman EL Faris fb.com/salmanseller
  2. set_time_limit(0);
  3. error_reporting(0);
  4. date_default_timezone_set('Asia/Jakarta');
  5. session_start();
  6. require_once('mainconfig.php');
  7. if(!$_SESSION['account'])
  8.     die('( )( )=========D');
  9. if(!$_POST['url']||!$_POST['jumlah']){
  10. }else{
  11.     $sess = $_SESSION['account'];
  12.  
  13.         $pw = $sess['password'];
  14.         $username = $sess['username'];
  15.                 $date = date('Y-m-d');
  16.  
  17. $query = mysql_query("SELECT * FROM members WHERE password = '$pw'");
  18. $jz = mysql_num_rows($query);
  19. $hasil = mysql_fetch_array($query);
  20.  
  21.  
  22. date_default_timezone_set('Asia/Jakarta');
  23. $tanggalnya = date('Y-m-d H:i:s');
  24. if($hasil['waktusumbit_likes'] > $tanggalnya) {
  25. print(json_encode(array('result' => 0, 'content' => '<i class="fa fa-check-circle"></i> <b>GAGAL<br><br>Perhatian ! 1x Submit,Jeda 10 MENIT!'))); }
  26. else {
  27. $datee = date_create($tanggalnya);
  28. date_add($datee, date_interval_create_from_date_string('10 minutes'));
  29.  $simpan = mysql_query("UPDATE members SET waktusumbit_likes = '".date_format($datee, 'Y-m-d H:i:s')."' WHERE password = '$pw'");
  30.     $sess = $_SESSION['account'];
  31.     $c=curl_init('http://api.instagram.com/oembed/?url='.trim($_POST['url']));
  32.     curl_setopt($c,CURLOPT_RETURNTRANSFER,1);
  33.     curl_setopt($c,CURLOPT_SSL_VERIFYPEER,0);
  34.     curl_setopt($c,CURLOPT_USERAGENT,"Mozilla/5.0 (Windows NT 6.1; rv:21.0) Gecko/20100101 Firefox/21.0");
  35.     $x=curl_exec($c);$mama=curl_getinfo($c);curl_close($c);
  36.     if($mama['http_code']<>200) die(json_encode(array('result' => 0, 'content' => 'Photo tidak tersedia')));
  37.     $x=json_decode($x);
  38.     $rand = rand(188888,988888);
  39.     $logsfile = md5(sha1(time().rand().'salsa')).'.log';
  40.     include_once('func.php');
  41.     $media_info = proccess(1, $config['useragent'], 'media/'.$x->media_id.'/info/', $config['cookie']);
  42.  
  43. $key = "879745777";
  44. $type = "like";
  45. $target = $_POST["url"];
  46. $jumlah = $_POST["jumlah"];
  47. $api = "http://premium.rivalpanel.id/privateapi/879745777.php?type=".$type."&apikey=".$key."&target=".$target."&count=".$jumlah;
  48. $ambil = file_get_contents($api);
  49. $rzlt = json_decode($ambil);
  50.     if ($rzlt->pesan =="success") {
  51.     mysql_query("insert into history (uplink,target,second_target,start,ip,date,type,submit,logs,unik) values ('$sess[username]','".trim($_POST['url'])."','".$x->media_id."','".json_decode($media_info[1])->items[0]->like_count."','".$_SERVER['REMOTE_ADDR']."','".date('d/m/Y H:i:s')."','like',".(int)$_POST['jumlah'].",'$logsfile','$rand')");
  52.         print(json_encode(array('result' => 1, 'content' => '<i class="fa fa-check-circle"></i> <b>BERHASIL</b><br> Link : '.trim($_POST['url']).'<br>Jumlah Sumbit : '.$_POST['jumlah'].'<br>Jumlah Awal Likes : '.json_decode($media_info[1])->items[0]->like_count.'<br>')));
  53.     } else {
  54.         die(json_encode(array('result' => 0, 'content' => 'Server maintenance ')));
  55.     }
  56. }
  57. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top