Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. <?php
  2.  
  3. $_GET['union'] = 'rb';
  4. $_GET['method'] = 'Property.Modified.GetList';
  5. $_GET['appid'] = "1";
  6. $_GET['start'] = "0";
  7. $_GET['limit'] = "100000";
  8. $_GET['appkey'] = 'ce82d69cd207cff7e71c47df0dda29fe';
  9.  
  10. //ksort($_GET);
  11. $_GET['sign'] = md5(md5(implode("",$_GET)));
  12.  
  13. $params = $_GET;
  14.  
  15. // var_dump($params);
  16.  
  17. $url = 'http://orlof.is/Api/Server.php';
  18.  
  19. $ch = curl_init();
  20. //set the url, number of POST vars, POST data
  21. curl_setopt($ch, CURLOPT_URL,$url);
  22. curl_setopt($ch, CURLOPT_POST,count($params));
  23. curl_setopt($ch, CURLOPT_POSTFIELDS,$params);
  24. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  25. $response = curl_exec($ch);
  26.  
  27. // echo $response;
  28.  
  29. var_dump($url, $params);
  30. var_dump($response);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement