示例#1
0
 private function ff05ffc9c5f9ea69229034d7197f0cc5799cd7ac5($iced8cbcfca3c880f0f157e119d1cc6f8691e7e89)
 {
     $iced8cbcfca3c880f0f157e119d1cc6f8691e7e89 .= base64_decode("JkFwcElEPQ==") . SMS_PREFIX . $this->vf7a5e40d67d37281ccc9a94fab8679e140fedbfc . base64_decode("JnZlcnNpb249") . SMS_OC_VERSION . base64_decode("Jm1vZHVsZVZlcnNpb249") . SMS_VERSION . base64_decode("JnN0b3JlaWQ9") . SmsVariables::getShopId();
     $iae8c74e5273dec25096dbae362493a9f609ecfc8 = null;
     $i804d4344e7cb155cfd432a7fa4ae438fb16c026b = 1;
     $i972607b9027c3feac004368e38cd38bf6953b058 = 80;
     $i4f4eb7777b2cea6934cbc170c836a3a3b7a249b3 = 443;
     $i749b5662fab74203c156c8239cf881cf09b52144 = base64_decode("c21zbWlkbGV0LmNvbQ==");
     $i8c8e41e90eed8ead55950f7bea8087a1fc96f2d8 = 5;
     if ($i804d4344e7cb155cfd432a7fa4ae438fb16c026b == 1) {
         $i73eb1e10d733009eea61cfd764d44db56bce19dc = $i4f4eb7777b2cea6934cbc170c836a3a3b7a249b3;
         $i68ef030ce8ce15dbfaeb1e24b34c3582e9525230 = "ssl://" . $i749b5662fab74203c156c8239cf881cf09b52144;
     } else {
         $i68ef030ce8ce15dbfaeb1e24b34c3582e9525230 = $i749b5662fab74203c156c8239cf881cf09b52144;
         $i73eb1e10d733009eea61cfd764d44db56bce19dc = $i972607b9027c3feac004368e38cd38bf6953b058;
     }
     $i385caf14fae47cdfece747cd019e33a93e5cb646 = @fsockopen($i68ef030ce8ce15dbfaeb1e24b34c3582e9525230, $i73eb1e10d733009eea61cfd764d44db56bce19dc, $i69a4474469cb439592cec1eec7225484eb25e173, $i19dcbcc33e58423ae744e83d0328279efc0f7278, $i8c8e41e90eed8ead55950f7bea8087a1fc96f2d8);
     if (!$i385caf14fae47cdfece747cd019e33a93e5cb646) {
         $i385caf14fae47cdfece747cd019e33a93e5cb646 = fsockopen($i749b5662fab74203c156c8239cf881cf09b52144, $i972607b9027c3feac004368e38cd38bf6953b058, $i69a4474469cb439592cec1eec7225484eb25e173, $i19dcbcc33e58423ae744e83d0328279efc0f7278, $i8c8e41e90eed8ead55950f7bea8087a1fc96f2d8);
         if (!$i385caf14fae47cdfece747cd019e33a93e5cb646) {
             $ib43e9fa620f4207bde8fb838602b075f74035999 = curl_init('http://' . $i749b5662fab74203c156c8239cf881cf09b52144 . SMS_API);
             if (!$ib43e9fa620f4207bde8fb838602b075f74035999) {
                 return 2;
             } else {
                 curl_setopt($ib43e9fa620f4207bde8fb838602b075f74035999, CURLOPT_POST, 1);
                 curl_setopt($ib43e9fa620f4207bde8fb838602b075f74035999, CURLOPT_POSTFIELDS, $iced8cbcfca3c880f0f157e119d1cc6f8691e7e89);
                 curl_setopt($ib43e9fa620f4207bde8fb838602b075f74035999, CURLOPT_FOLLOWLOCATION, 1);
                 curl_setopt($ib43e9fa620f4207bde8fb838602b075f74035999, CURLOPT_HEADER, 0);
                 curl_setopt($ib43e9fa620f4207bde8fb838602b075f74035999, CURLOPT_RETURNTRANSFER, 1);
                 $i99dd32cf86ecb2daf3839d8a739626604fb5dbba = curl_exec($ib43e9fa620f4207bde8fb838602b075f74035999);
                 $id7d291881522399a0c1b5928901b59c463e8d4f0 = html_entity_decode($i99dd32cf86ecb2daf3839d8a739626604fb5dbba);
                 curl_close($ib43e9fa620f4207bde8fb838602b075f74035999);
                 $this->v25907b86b504918c158247dc913f4955c406c714 = $id7d291881522399a0c1b5928901b59c463e8d4f0;
                 return 1;
             }
         } else {
             fwrite($i385caf14fae47cdfece747cd019e33a93e5cb646, "POST " . SMS_API . " HTTP/1.0\r\n");
             fwrite($i385caf14fae47cdfece747cd019e33a93e5cb646, "User-Agent: Mozilla/4.0\r\n");
             fwrite($i385caf14fae47cdfece747cd019e33a93e5cb646, "Host: " . $i749b5662fab74203c156c8239cf881cf09b52144 . "\r\n");
             fwrite($i385caf14fae47cdfece747cd019e33a93e5cb646, "Content-type: application/x-www-form-urlencoded; charset=utf-8\r\n");
             fwrite($i385caf14fae47cdfece747cd019e33a93e5cb646, "Content-length: " . strlen($iced8cbcfca3c880f0f157e119d1cc6f8691e7e89) . "\r\n");
             fwrite($i385caf14fae47cdfece747cd019e33a93e5cb646, "\r\n" . $iced8cbcfca3c880f0f157e119d1cc6f8691e7e89 . "\r\n");
             while (!feof($i385caf14fae47cdfece747cd019e33a93e5cb646)) {
                 $i3370cf1df5de924c7d3c960e3caf74875fc88938 = fgets($i385caf14fae47cdfece747cd019e33a93e5cb646, 30000);
                 $iae8c74e5273dec25096dbae362493a9f609ecfc8 .= $i3370cf1df5de924c7d3c960e3caf74875fc88938;
             }
             $i4bf43392d2c84f67f09b1a9166bb779b26635295 = fclose($i385caf14fae47cdfece747cd019e33a93e5cb646);
             $this->v25907b86b504918c158247dc913f4955c406c714 = $iae8c74e5273dec25096dbae362493a9f609ecfc8;
             return 1;
         }
     } else {
         fwrite($i385caf14fae47cdfece747cd019e33a93e5cb646, "POST " . SMS_API . " HTTP/1.0\r\n");
         fwrite($i385caf14fae47cdfece747cd019e33a93e5cb646, "User-Agent: Mozilla/4.0\r\n");
         fwrite($i385caf14fae47cdfece747cd019e33a93e5cb646, "Host: " . $i749b5662fab74203c156c8239cf881cf09b52144 . "\r\n");
         fwrite($i385caf14fae47cdfece747cd019e33a93e5cb646, "Content-type: application/x-www-form-urlencoded; charset=utf-8\r\n");
         fwrite($i385caf14fae47cdfece747cd019e33a93e5cb646, "Content-length: " . strlen($iced8cbcfca3c880f0f157e119d1cc6f8691e7e89) . "\r\n");
         fwrite($i385caf14fae47cdfece747cd019e33a93e5cb646, "\r\n" . $iced8cbcfca3c880f0f157e119d1cc6f8691e7e89 . "\r\n");
         while (!feof($i385caf14fae47cdfece747cd019e33a93e5cb646)) {
             $i3370cf1df5de924c7d3c960e3caf74875fc88938 = fgets($i385caf14fae47cdfece747cd019e33a93e5cb646, 30000);
             $iae8c74e5273dec25096dbae362493a9f609ecfc8 .= $i3370cf1df5de924c7d3c960e3caf74875fc88938;
         }
         $i4bf43392d2c84f67f09b1a9166bb779b26635295 = fclose($i385caf14fae47cdfece747cd019e33a93e5cb646);
         $this->v25907b86b504918c158247dc913f4955c406c714 = $iae8c74e5273dec25096dbae362493a9f609ecfc8;
         return 1;
     }
 }
示例#2
0
 public function loadvariables()
 {
     $id960ddd9e843150fe4875c48e896395edac7ca1d4e3a5f27bcb73c2c4dd9bcef6e86d409d051ad14 = "";
     foreach (SmsVariables::getVariables() as $id960ddd9e843150fe4875c48e896395edac7ca1d8a31cdb91ad25bea0cf23b0dd384a4bd00af6695 => $id960ddd9e843150fe4875c48e896395edac7ca1d2e93e61d67c274d891066238c74ba6322d527b6d) {
         $id960ddd9e843150fe4875c48e896395edac7ca1d4e3a5f27bcb73c2c4dd9bcef6e86d409d051ad14 .= 'text=text.replaceAll("{' . $id960ddd9e843150fe4875c48e896395edac7ca1d8a31cdb91ad25bea0cf23b0dd384a4bd00af6695 . '}", "' . $id960ddd9e843150fe4875c48e896395edac7ca1d2e93e61d67c274d891066238c74ba6322d527b6d . '");';
     }
     return $id960ddd9e843150fe4875c48e896395edac7ca1d4e3a5f27bcb73c2c4dd9bcef6e86d409d051ad14;
 }
 public function loadvariables()
 {
     $i05355412b857f5174e9a2f71b1e936a86ad60cd2c3ed27f3fb44598c00f23ec90812690bc9009083 = "";
     foreach (SmsVariables::getVariables() as $i05355412b857f5174e9a2f71b1e936a86ad60cd27baa31be52215025da340cfec29600d8d2b327c4 => $i05355412b857f5174e9a2f71b1e936a86ad60cd243ef5aef4168652439ef5de195405ced9f0f7952) {
         $i05355412b857f5174e9a2f71b1e936a86ad60cd2c3ed27f3fb44598c00f23ec90812690bc9009083 .= 'text=text.replaceAll("{' . $i05355412b857f5174e9a2f71b1e936a86ad60cd27baa31be52215025da340cfec29600d8d2b327c4 . '}", "' . $i05355412b857f5174e9a2f71b1e936a86ad60cd243ef5aef4168652439ef5de195405ced9f0f7952 . '");';
     }
     return $i05355412b857f5174e9a2f71b1e936a86ad60cd2c3ed27f3fb44598c00f23ec90812690bc9009083;
 }