Advertisement
Guest User

Untitled

a guest
May 7th, 2015
391
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by deZender.Net
  5. * @ deZender (PHP5 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 1.1.6.0
  8. * @ Author : DeZender
  9. * @ Release on : 02.06.2013
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. class RestRequest {
  15. private $url = null;
  16. private $secondaryUrl = null;
  17. private $verb = null;
  18. private $api = null;
  19. private $domain = null;
  20. private $ipAddress = null;
  21. private $extra = null;
  22. private $page = null;
  23. private $requestLength = null;
  24. private $acceptType = null;
  25. public $requestBody = null;
  26. public $responseBody = null;
  27. public $responseInfo = null;
  28. public $error = null;
  29. public $errorNum = null;
  30.  
  31. public function __construct($url = null, $verb = 'GET', $requestBody = null, $extra = false, $page = null) {
  32. $baseUrl = 'http://50.28.102.240/~imobi/license/api.php';
  33.  
  34. if (!empty( $url )) {
  35. $this->url = (true ? $url : $baseUrl);
  36. $this->secondaryUrl = 'http://www.imobitrax.com/license/api.php';
  37. $this->verb = $verb;
  38. $this->error = null;
  39. $this->api = rawurlencode( mcrypt_encrypt( MCRYPT_BLOWFISH, '$(pw,{HCRd}93K0IGr', ']sN3G~)iq*;m+%2Z9W', MCRYPT_MODE_ECB ) );
  40. }
  41.  
  42. $this->domain = $this->getDomain( );
  43. $this->ipAddress = $this->getIP( );
  44. $this->requestBody = $requestBody;
  45. $this->extra = $extra;
  46. .........................................................
  47. .........................
  48. ..........
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement