{"id":305485,"date":"2020-06-17T15:00:33","date_gmt":"2020-06-17T15:00:33","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=305485"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=305485","title":{"rendered":"\u041a\u043e\u043d\u0432\u0435\u0440\u0442\u0430\u0446\u0438\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u0430 Bash \u0432 \u043a\u043e\u0434 \u0421# \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0421\u041c\u0421 \u0447\u0435\u0440\u0435\u0437 usb \u043c\u043e\u0434\u0435\u043c HUAWEI E3372"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/507086\/\">\u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u043e\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442 \u0421\u041c\u0421 \u0438 \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u043f\u043e\u0441\u043b\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0439 \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u0430 \u043c\u043e\u0436\u0435\u0442 \u0438 \u0440\u044f\u0434\u0430 \u0434\u0440\u0443\u0433\u0438\u0445 \u043f\u0440\u0438\u0447\u0438\u043d, \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0421\u041c\u0421 \u0441\u0442\u0430\u043b\u0430 \u043f\u043e\u0447\u0442\u0438 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0439.<\/p>\n<p>  \u0421\u0442\u0430\u0440\u0435\u043d\u044c\u043a\u0438\u0439 <b>USB \u043c\u043e\u0434\u0435\u043c HUAWEI<\/b> (\u043c\u0430\u0440\u043a\u0443 \u043d\u0435 \u0431\u0443\u0434\u0443 \u0440\u0430\u0437\u0433\u043b\u0430\u0448\u0430\u0442\u044c) \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043b \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e \u0432\u0438\u0441\u0435\u0442\u044c \u043d\u0430 \u043e\u0434\u043d\u043e\u043c COM \u043f\u043e\u0440\u0442\u0443 \u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u0430\u043c\u0438 \u043f\u0435\u0440\u0435\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u043b\u0441\u044f \u043d\u0430 \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u043e\u0440\u0442\u044b, \u0441\u043e\u0432\u0441\u0435\u043c \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u043b\u0441\u044f \u0438 \u0442\u0435\u0440\u044f\u043b \u0430\u043d\u0442\u0435\u043d\u043d\u0443.<\/p>\n<p>  \u0414\u0430 \u0438 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u0441 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439 <b>GSMComm <\/b>\u0431\u044b\u043b\u0430 \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u043e\u0439 \u0438 \u0431\u043e\u043b\u0435\u0437\u043d\u0435\u043d\u043d\u043e\u0439.<\/p>\n<blockquote><p>GSMComm \u2014 \u044d\u0442\u043e \u043f\u0430\u043a\u0435\u0442 \u0434\u043b\u044f \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u043e\u0432 GSM, \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0437\u0430\u0434\u0430\u0447, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441 SMS.<br \/>  <a href=\"https:\/\/www.nuget.org\/packages\/GSMComm\/\" rel=\"nofollow\">www.nuget.org\/packages\/GSMComm<\/a> \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044f \u0432\u0435\u0440\u0441\u0438\u044f 1.21.1 \u043e\u0442 10.10.2015 \u0433\u043e\u0434\u0430. <\/p><\/blockquote>\n<p>  \u041f\u043e\u0438\u0441\u043a \u043f\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u043d\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u043b, \u0447\u0442\u043e \u0435\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b WEB API \u043d\u043e\u0432\u044b\u0445 \u043c\u043e\u0434\u0435\u043c\u043e\u0432 HUAWEI, \u0431\u043e\u043b\u0435\u0435 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e, \u0447\u0435\u043c \u0441\u0442\u0430\u0440\u044b\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u0441 AT \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043c\u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0432 GSMComm.<\/p>\n<p>  \u0412\u044b\u044f\u0441\u043d\u0438\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0435\u0441\u0442\u044c \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u044b\u0439 <b>usb \u043c\u043e\u0434\u0435\u043c HUAWEI E3372<\/b>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0447\u0442\u0438 \u0445\u0430\u043a\u0435\u0440\u0441\u043a\u0438\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u0435\u043d \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0421\u041c\u0421 \u043a\u0430\u043a \u0438\u0437 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 (Curl + Bash), \u0442\u0430\u043a \u0438 \u0438\u0437 \u043a\u043e\u0434\u0430 (Python, Perl), \u0438, \u043a\u0430\u043a \u044f \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u043b, \u0438\u0437 C#.<\/p>\n<p>  \u0421\u0430\u043c\u043e\u0435 \u043f\u0435\u0447\u0430\u043b\u044c\u043d\u043e\u0435, \u0447\u0442\u043e \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f HUAWEI \u043d\u0435 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043d\u0438\u043a\u0430\u043a\u043e\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u043a\u0430\u043a \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0438 \u0432\u0441\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u044b\u0435 \u043c\u0435\u0442\u043e\u0434\u044b \u0438\u043c\u0435\u043b\u0438 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430\u043b\u044c\u043d\u044b\u0439 \u0445\u0430\u0440\u043a\u0442\u0435\u0440 \u0438 \u0437\u0430\u0432\u0438\u0441\u0435\u043b\u0438 \u043e\u0442 \u0441\u0435\u043c\u0435\u0439\u0441\u0442\u0432\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432.<\/p>\n<p>  \u0412 \u043e\u0431\u0449\u0435\u043c, \u043e\u043f\u0438\u0440\u0430\u044f\u0441\u044c \u043d\u0430 \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u044b\u0439 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b, \u043d\u0435 \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u0443\u044e\u0449\u0438\u0439 \u0440\u0430\u0431\u043e\u0442\u0443 \u043a\u043e\u0434\u0430 \u0441 \u043c\u043e\u043c\u0435\u0434\u043e\u043c, \u0431\u044b\u043b \u043f\u0440\u0438\u043e\u0431\u0440\u0435\u0442\u0435\u043d HUAWEI E3372.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u041d\u0435 \u0443\u0433\u043b\u0443\u0431\u043b\u044f\u0441\u044c \u0432 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u044b \u0441 Python \u0438\u043b\u0438 Perl \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0441 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430\u043c\u0438 Bash + Curl.<\/p>\n<p>  \u0412 \u043e\u0431\u0449\u0435\u043c, \u043f\u043e\u0441\u043b\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u043e\u0432 \u0431\u044b\u043b \u043d\u0430\u0439\u0434\u0435\u043d \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0439 \u043a\u043e\u0434 \u043f\u043e\u0434 MS Windows 10 + Git Bash for MS Windows.<\/p>\n<p>  <b>\u0421\u043a\u0440\u0438\u043f\u0442<\/b><\/p>\n<pre><code class=\"bash\">curl -b session.txt -c session.txt http:\/\/192.168.8.1\/html\/index.html &gt; \/dev\/null 2&gt;&amp;1  #TOKEN=$(curl -s -b session.txt -c session.txt http:\/\/192.168.8.1\/html\/smsinbox.html) TOKEN=$(echo $TOKEN | cut -d'&quot;' -f 10) echo $TOKEN &gt; token.txt  NUMBER=$1 MESSAGE=$2  LENGTH=${#MESSAGE} TIME=$(date +&quot;%Y-%m-%d %T&quot;) TOKEN=$(&lt;token.txt)  SMS=&quot;&lt;?xml version='1.0' encoding='UTF-8'?&gt;&lt;request&gt;&lt;Index&gt;-1&lt;\/Index&gt;&lt;Phones&gt;&lt;Phone&gt;$NUMBER&lt;\/Phone&gt;&lt;\/Phones&gt;&lt;Sca\/&gt;&lt;Content&gt;$MESSAGE&lt;\/Content&gt;&lt;Length&gt;$LENGTH&lt;\/Length&gt;&lt;Reserved&gt;1&lt;\/Reserved&gt;&lt;Date&gt;$TIME&lt;\/Date&gt;&lt;\/request&gt;&quot;  echo $SMS  curl -v -b session.txt -c session.txt -H &quot;X-Requested-With: XMLHttpRequest&quot; --data &quot;$SMS&quot; http:\/\/192.168.8.1\/api\/sms\/send-sms --header &quot;__RequestVerificationToken: $TOKEN&quot; --header &quot;Content-Type:text\/xml&quot; --header &quot;Content-Type: application\/x-www-form-urlencoded; charset=UTF-8&quot; --header &quot;Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3&quot;<\/code><\/pre>\n<p>  \u0421\u043a\u0440\u0438\u043f\u0442 \u0443\u0434\u0438\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u043b. \u0418 \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u0443\u0436\u0435 \u0441\u0447\u0430\u0441\u0442\u044c\u0435, \u0442\u0430\u043a \u043a\u0430\u043a \u0434\u0435\u043d\u044c\u0433\u0438 \u0431\u044b\u043b\u0438 \u043f\u043e\u0442\u0440\u0430\u0447\u0435\u043d\u044b \u043d\u0430 \u043c\u043e\u0434\u0435\u043c \u043d\u0435 \u0437\u0440\u044f! <\/p>\n<p>  \u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u043d\u044f\u0442\u044c \u041a\u0410\u041a \u0436\u0435 \u043e\u043d \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u041f\u043e\u0447\u0438\u0442\u0430\u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u043f\u043e Curl \u0438 Bash (\u043d\u0443 \u043f\u043e bash \u044f \u043d\u0435 \u0447\u0438\u0442\u0430\u043b \u0442\u0430\u043a \u0434\u043e\u0433\u0430\u0434\u0430\u043b\u0441\u044f) \u043f\u0440\u043e\u044f\u0441\u043d\u0438\u043b\u0430\u0441\u044c \u0440\u0430\u0431\u043e\u0442\u0430 \u0441\u043a\u0440\u0438\u043f\u0442\u0430. \u041f\u0440\u0438\u0432\u043e\u0436\u0443 \u044d\u0442\u043e\u0442 \u0436\u0435 \u0441\u043a\u0440\u0438\u043f\u0442 \u0441 \u043c\u043e\u0438\u043c\u0438 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u043c\u0438.<\/p>\n<p>  <b>\u0421\u043a\u0440\u0438\u043f\u0442 \u0441 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u043c\u0438<\/b><\/p>\n<pre><code class=\"bash\"># https:\/\/stackoverflow.com\/questions\/28070500\/grab-current-sessions-cookie-with-curl\/28070870 # \u0421\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0444\u0430\u0439\u043b\u0430 session.txt \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u043f\u0446\u0438\u0435\u0439 -b # \u0421\u0434\u0435\u043b\u0430\u0442\u044c GET \u0437\u0430\u043f\u0440\u043e\u0441 \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043a\u0443\u043a\u0438 \u0432 \u043f\u0435\u0440\u0432\u044b\u0439 \u0440\u0430\u0437 \u0438 \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0438\u0445 \u0432 \u0444\u0430\u0439\u043b curl -b session.txt -c session.txt http:\/\/192.168.8.1\/html\/index.html &gt; \/dev\/null 2&gt;&amp;1  # \u0421\u0434\u0435\u043b\u0430\u0442\u044c GET \u0437\u0430\u043f\u0440\u043e\u0441 \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043a\u0443\u043a\u0438 \u0432\u043e \u0432\u0442\u043e\u0440\u043e\u0439 \u0440\u0430\u0437 \u0438 \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0432 \u0444\u0430\u0439\u043b \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b HTML \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e TOKEN \u043a\u0430\u043a \u0441\u0442\u0440\u043e\u043a\u0443 TOKEN=$(curl -b session.txt -c session.txt http:\/\/192.168.8.1\/html\/smsinbox.html)  # \u0418\u0437\u0432\u043b\u0447\u0435\u044c \u0438\u0437 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043c\u0435\u0442\u0430\u0442\u0435\u0433\u0430 \u0438\u0437 &lt;meta name=&quot;csrf_token&quot; content=&quot;b\/XNeODpHCthQXEOEjBNkICn2n7e9v4e&quot;\/&gt; \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0432 \u0442\u0443 \u0436\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e TOKEN TOKEN=$(echo $TOKEN | cut -d'&quot;' -f 10)  # \u041e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 echo &quot;$TOKEN&quot;  # \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043f\u043e\u0434\u0441\u0442\u0440\u043e\u043a\u0443 \u0432 \u0444\u0430\u0439\u043b\u0435 echo $TOKEN &gt; token.txt  # \u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u0432\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438: (1) \u043d\u043e\u043c\u0435\u0440 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430 \u0438 (2) \u0442\u0435\u043a\u0441\u0442 \u0421\u041c\u0421 NUMBER=$1 MESSAGE=$2  # \u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0432 \u0442\u0435\u043a\u0441\u0442\u0435 LENGTH=${#MESSAGE}  # \u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u0438 \u043e\u0442\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e TIME=$(date +&quot;%Y-%m-%d %T&quot;)  # \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0444\u0430\u0439\u043b\u0430 \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e TOKEN=$(&lt;token.txt)  # \u0421\u0444\u043e\u0440\u043e\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u0435\u043a\u0441\u0442 \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0421\u041c\u0421 \u043a\u0430\u043a XML  SMS=&quot;&lt;?xml version='1.0' encoding='UTF-8'?&gt;&lt;request&gt;&lt;Index&gt;-1&lt;\/Index&gt;&lt;Phones&gt;&lt;Phone&gt;$NUMBER&lt;\/Phone&gt;&lt;\/Phones&gt;&lt;Sca\/&gt;&lt;Content&gt;$MESSAGE&lt;\/Content&gt;&lt;Length&gt;$LENGTH&lt;\/Length&gt;&lt;Reserved&gt;1&lt;\/Reserved&gt;&lt;Date&gt;$TIME&lt;\/Date&gt;&lt;\/request&gt;&quot;  # \u041e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u0441 \u0442\u0435\u043a\u0441\u0442\u043e\u043c \u0421\u041c\u0421 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435  echo $SMS  # \u0421\u0434\u0435\u043b\u0430\u0442\u044c POST \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0421\u041c\u0421 curl -v -b session.txt -c session.txt -H &quot;X-Requested-With: XMLHttpRequest&quot; --data &quot;$SMS&quot; http:\/\/192.168.8.1\/api\/sms\/send-sms --header &quot;__RequestVerificationToken: $TOKEN&quot; --header &quot;Content-Type:text\/xml&quot; <\/code><\/pre>\n<p>  \u0421\u043a\u0430\u0436\u0443 \u0447\u0435\u0441\u0442\u043d\u043e, \u0447\u0442\u043e \u0421\u041c\u0421 \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u043e\u043c \u044f \u043d\u0435 \u0441\u043c\u043e\u0433 \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f. \u041f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u0430\u0431\u0440\u0430\u043a\u0430\u0434\u0430\u0431\u0440\u0430. \u0422\u0430\u043a \u0447\u0442\u043e \u044d\u0442\u043e\u0442 \u0432\u043e\u043f\u0440\u043e\u0441 \u043e\u0441\u0442\u0430\u043b\u0441\u044f \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c \u0438 \u0435\u0441\u043b\u0438 <br \/>  \u0443 \u043a\u043e\u0433\u043e-\u0442\u043e \u0435\u0441\u0442\u044c \u0436\u0435\u043b\u0430\u043d\u0438\u0435 \u0437\u0430\u043a\u0440\u044b\u0442\u044c \u0442\u0435\u043c\u0443 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0421\u041c\u0421 \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u043e\u043c \u2014 \u043c\u0438\u043b\u043e\u0441\u0442\u0438 \u043f\u0440\u043e\u0441\u0438\u043c, \u0434\u0435\u0440\u0437\u0430\u0439\u0442\u0435. )))<\/p>\n<p>  \u041f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u043f\u0440\u0438\u043d\u0435\u0441\u043b\u043e \u0441\u0432\u043e\u044e \u043f\u043e\u043b\u044c\u0437\u0443 \u0438 \u043f\u0440\u0438\u0431\u043b\u0438\u0437\u0438\u043b\u043e \u043a \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044e \u043a\u043e\u0434\u0430 \u043d\u0430 C#. <\/p>\n<p>  \u0411\u044b\u043b\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u0447\u0442\u043e \u0432 \u043d\u0435\u043c \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0442\u0430\u043a\u0436\u0435 3 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u043e\u043d\u0438 \u0434\u0435\u043b\u0430\u0442\u044c \u0442\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u0447\u0442\u043e \u0438 \u0431\u043b\u0430\u0433\u043e\u0441\u043b\u043e\u0432\u0435\u043d\u043d\u044b\u0439 Curl. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432 \u043a\u043e\u0434\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d Curl, \u0430 \u043d\u0438\u0436\u0435, \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0439 \u0435\u043c\u0443 C# \u043a\u043e\u0434.<\/p>\n<p>  <b>\u041a\u043e\u0434 \u0421# \u0434\u043b\u044f WinForms<\/b> <\/p>\n<pre><code class=\"css\">private void button1_Click(object sender, EventArgs e) {    var ip = &quot;192.168.8.1&quot;; \/\/ IP \u0430\u0434\u0440\u0435\u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0434\u0430\u0435\u0442 \u043c\u043e\u0434\u0435\u043c \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u043f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438    var phone = &quot;+70000000000&quot;; \/\/ \u041d\u043e\u043c\u0435\u0440 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430    var msg = &quot;\u041f\u0440\u0438\u0432\u0435\u0442!!! \u0421\u041c\u0421 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442!!!&quot;;     var result = SendSMS(ip, phone, msg);    if (result)    {        \/\/TODO  \u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0432 \u0411\u0414, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440    }    else    {        \/\/TODO  \u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0432 \u0411\u0414, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440    } }  private bool SendSMS(string ip, string phone, string msg) {     try     {         \/* curl -b session.txt -c session.txt http:\/\/192.168.8.1\/html\/index.html &gt; \/dev\/null 2&gt;&amp;1 *\/          Cookie firstCookie = null;         Cookie secondCookie = null;         string token = string.Empty;          \/\/\u0412 \u043f\u0435\u0440\u0432\u044b\u0439 \u0440\u0430\u0437 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043a\u0443\u043a\u0438         var cookieContainer = new CookieContainer();         var uri = new Uri($&quot;http:\/\/{ip}\/html\/index.html&quot;);         using (var httpClientHandler = new HttpClientHandler { CookieContainer = cookieContainer })         {             using (var httpClient = new HttpClient(httpClientHandler))             {                 httpClient.GetAsync(uri).Wait();                 var all = cookieContainer.GetCookies(uri);                 firstCookie = all[0];             }         }          \/*         TOKEN=$(curl -s -b session.txt -c session.txt http:\/\/192.168.8.1\/html\/smsinbox.html)         TOKEN=$(echo $TOKEN | cut -d'&quot;' -f 10)         echo $TOKEN &gt; token.txt          *\/  \t    \/\/ \u0418 \u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043a\u0443\u043a\u0438 \u0438\u0437 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0438 \u0438\u0437\u0432\u043b\u0435\u0447\u044c \u0438\u0437 \u043d\u0435\u0435 \u0442\u043e\u043a\u0435\u043d         if (firstCookie != null)         {             var cookieContainer2 = new CookieContainer();             cookieContainer2.Add(firstCookie); \/\/ \u041f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u0432 \u043a\u043e\u043d\u0435\u0439\u043d\u0435\u0440 \u043a\u0443\u043a\u0438 \u0438\u0437 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043a \u0441\u0430\u0439\u0442\u0443             var uri2 = new Uri($&quot;http:\/\/{ip}\/html\/smsinbox.html&quot;);             using (var httpClientHandler = new HttpClientHandler             {                 CookieContainer = cookieContainer2             })             {                 using (var httpClient = new HttpClient(httpClientHandler))                 {                     var html = httpClient.GetStringAsync(uri2).Result; \/\/ \u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 HTML                      var all = cookieContainer2.GetCookies(uri2);                     secondCookie = all[0];                      var doc = new HtmlAgilityPack.HtmlDocument(); \/\/ \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c HtmlAgilityPack \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u0435\u043a\u0441\u0442 HTML \u0432 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043d\u044b\u0439 \u0432\u0438\u0434                      doc.LoadHtml(html);                     var items = doc.DocumentNode.SelectNodes(&quot;\/\/meta&quot;);                     if (items.Count &gt;= 2) \/\/ \u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0432\u0442\u043e\u0440\u043e\u0439 \u043f\u043e \u0441\u0447\u0435\u0442\u0443 meta \u0442\u0435\u0433.                     {                         token = items[1].GetAttributeValue(&quot;content&quot;, &quot;&quot;); \/\/ \u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043c\u0435\u0442\u0430\u0442\u0435\u0433\u0430. \u041d\u0435 \u0441\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0439\u0442\u0435\u043f\u043e\u0447\u0435\u043c\u0443 \u0432\u0442\u043e\u0440\u043e\u0439 \u043c\u0435\u0442\u0430\u0442\u0430\u0433 \u0441 \u0442\u043e\u043a\u0435\u043d\u043e\u043c \u0440\u0430\u0431\u043e\u0447\u0438\u0439 - \u043d\u0435 \u0437\u043d\u0430\u044e )))                     }                 }             }              \/\/ \u041a\u043e\u0433\u0434\u0430 \u0432 \u043d\u0430\u043b\u0438\u0447\u0438\u0438 \u0435\u0441\u0442\u044c \u043a\u0443\u043a\u0438 \u0438 \u0442\u043e\u043a\u0435\u043d \u0434\u0435\u043b\u0430\u0435\u043c \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0443 \u0421\u041c\u0421 \u0447\u0435\u0440\u0435\u0437 \u0437\u0430\u043f\u0440\u043e\u0441 POST             if (!string.IsNullOrEmpty(token))             {                 var msgLength = msg.Length;                 var time = DateTime.Now.ToString(&quot;yyyy-MM-dd HH:mm:ss&quot;); \/\/    TIME=$(date +&quot;%Y-%m-%d %T&quot;)                 var sms = $&quot;&lt;?xml version='1.0' encoding='UTF-8'?&gt;&lt;request&gt;&lt;Index&gt;-1&lt;\/Index&gt;&lt;Phones&gt;&lt;Phone&gt;{phone}&lt;\/Phone&gt;&lt;\/Phones&gt;&lt;Sca\/&gt;&lt;Content&gt;{msg}&lt;\/Content&gt;&lt;Length&gt;{msgLength}&lt;\/Length&gt;&lt;Reserved&gt;1&lt;\/Reserved&gt;&lt;Date&gt;{time}&lt;\/Date&gt;&lt;\/request&gt;&quot;;                  \/*# \u0421\u0434\u0435\u043b\u0430\u0442\u044c POST \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0421\u041c\u0421                   curl -v -b session.txt -c session.txt -H &quot;X-Requested-With: XMLHttpRequest&quot; --data &quot;$SMS&quot;                      http:\/\/192.168.8.1\/api\/sms\/send-sms  --header &quot;__RequestVerificationToken: $TOKEN&quot;  --header &quot;Content-Type:text\/xml&quot;                  *\/                  var uri3 = new Uri($&quot;http:\/\/{ip}\/api\/sms\/send-sms&quot;);                 var client = new RestSharp.RestClient { BaseUrl = uri3 }; \/\/ \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c RestSharp \u0434\u043b\u044f \u0437\u0430\u043f\u0440\u043e\u0441\u0430 (\u0434\u0435\u043b\u043e \u0432\u043a\u0443\u0441\u0430)                 var request = new RestSharp.RestRequest(RestSharp.Method.POST);                 \/\/ \u0424\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u043c \u0441\u0432\u043e\u0439 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u0439 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 - \u043d\u0438\u0447\u0435\u0433\u043e \u043b\u0438\u0448\u043d\u0435\u043d\u0433\u043e \u0432\u0441\u0435 \u043f\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u0443 \u0438\u0437 Curl \t\t\t    request.AddHeader(&quot;__RequestVerificationToken&quot;, token);                 var ses = secondCookie.ToString();                 request.AddCookie(&quot;cookie&quot;, ses);                 request.AddHeader(&quot;Content-Type&quot;, &quot;text\/xml&quot;);                 request.AddHeader(&quot;X-Requested-With&quot;, &quot;XMLHttpRequest&quot;);                 request.AddParameter(&quot;text\/html&quot;, sms, RestSharp.ParameterType.RequestBody);                 RestSharp.IRestResponse response = client.Execute(request);                  if (response.IsSuccessful)                 {                     var xmlDoc = new XmlDocument();                     xmlDoc.LoadXml(response.Content); \/\/ &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;response&gt; OK &lt;\/response&gt;                     var responseElemenets = xmlDoc.GetElementsByTagName(&quot;response&quot;);                     var resultOK = responseElemenets[0].InnerXml.ToLower();                     return resultOK == &quot;ok&quot;; \/\/ \u041d\u0443 \u0432\u043e\u0442 \u0438 \u043f\u0440\u0438\u0437\u043d\u0430\u043a \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0421\u041c\u0421 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e, \u043d\u043e \u0431\u0435\u0437 \u043e\u0442\u0447\u0435\u0442\u0430 \u043e \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0435.                  }             }         }     }     catch (Exception)     {         \/\/TODO \u0432 \u043b\u043e\u0433 \u043e\u0448\u0438\u0431\u043a\u0443;     }      return false; }<\/code><\/pre>\n<p>  \u041a\u0430\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u0443 \u0432\u0430\u0441 \u0432 \u0440\u0443\u043a\u0430\u0445 \u0440\u0430\u0431\u043e\u0447\u0438\u0439 C# \u043a\u043e\u0434 \u0432\u044b \u0432\u0441\u0435\u0433\u0434\u0430 \u043c\u043e\u0436\u0435\u0442\u0435 \u0435\u0433\u043e \u0443\u043b\u0443\u0447\u0448\u0438\u0442\u044c.<\/p>\n<p>  \u0412 \u043c\u043e\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043e\u043d \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043a\u0430\u043a \u0447\u0430\u0441\u044b \u0438 \u0434\u043b\u044f \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0441\u043e\u043b\u0438\u0434\u043d\u043e\u0433\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0421\u041c\u0421 \u0432 \u043c\u0438\u043d\u0443\u0442\u0443 \u0432\u043f\u043e\u043b\u043d\u0435 \u0433\u043e\u0434\u0438\u0442\u0441\u044f. )))<\/p>\n<p>  \u041d\u0430\u0434\u0435\u044e\u0441\u044c \u044d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u0441\u044f \u043f\u0440\u0438\u043d\u0435\u043b\u0441\u0430 \u043f\u043e\u043b\u044c\u0437\u0443 \u0438 \u0432 \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u043c \u0438 \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u0441\u043c\u044b\u0441\u043b\u0430\u0445.<\/p>\n<p>  \u0414\u0443\u0448\u0435\u0432\u043d\u043e \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044e!<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/507086\/\"> https:\/\/habr.com\/ru\/post\/507086\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/507086\/\">\u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u043e\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442 \u0421\u041c\u0421 \u0438 \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u043f\u043e\u0441\u043b\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0439 \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u0430 \u043c\u043e\u0436\u0435\u0442 \u0438 \u0440\u044f\u0434\u0430 \u0434\u0440\u0443\u0433\u0438\u0445 \u043f\u0440\u0438\u0447\u0438\u043d, \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0421\u041c\u0421 \u0441\u0442\u0430\u043b\u0430 \u043f\u043e\u0447\u0442\u0438 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0439.<\/p>\n<p>  \u0421\u0442\u0430\u0440\u0435\u043d\u044c\u043a\u0438\u0439 <b>USB \u043c\u043e\u0434\u0435\u043c HUAWEI<\/b> (\u043c\u0430\u0440\u043a\u0443 \u043d\u0435 \u0431\u0443\u0434\u0443 \u0440\u0430\u0437\u0433\u043b\u0430\u0448\u0430\u0442\u044c) \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043b \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e \u0432\u0438\u0441\u0435\u0442\u044c \u043d\u0430 \u043e\u0434\u043d\u043e\u043c COM \u043f\u043e\u0440\u0442\u0443 \u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u0430\u043c\u0438 \u043f\u0435\u0440\u0435\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u043b\u0441\u044f \u043d\u0430 \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u043e\u0440\u0442\u044b, \u0441\u043e\u0432\u0441\u0435\u043c \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u043b\u0441\u044f \u0438 \u0442\u0435\u0440\u044f\u043b \u0430\u043d\u0442\u0435\u043d\u043d\u0443.<\/p>\n<p>  \u0414\u0430 \u0438 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u0441 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439 <b>GSMComm <\/b>\u0431\u044b\u043b\u0430 \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u043e\u0439 \u0438 \u0431\u043e\u043b\u0435\u0437\u043d\u0435\u043d\u043d\u043e\u0439.<\/p>\n<blockquote><p>GSMComm \u2014 \u044d\u0442\u043e \u043f\u0430\u043a\u0435\u0442 \u0434\u043b\u044f \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u043e\u0432 GSM, \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0437\u0430\u0434\u0430\u0447, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441 SMS.<br \/>  <a href=\"https:\/\/www.nuget.org\/packages\/GSMComm\/\" rel=\"nofollow\">www.nuget.org\/packages\/GSMComm<\/a> \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044f \u0432\u0435\u0440\u0441\u0438\u044f 1.21.1 \u043e\u0442 10.10.2015 \u0433\u043e\u0434\u0430. <\/p><\/blockquote>\n<p>  \u041f\u043e\u0438\u0441\u043a \u043f\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u043d\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u043b, \u0447\u0442\u043e \u0435\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b WEB API \u043d\u043e\u0432\u044b\u0445 \u043c\u043e\u0434\u0435\u043c\u043e\u0432 HUAWEI, \u0431\u043e\u043b\u0435\u0435 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e, \u0447\u0435\u043c \u0441\u0442\u0430\u0440\u044b\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u0441 AT \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043c\u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0432 GSMComm.<\/p>\n<p>  \u0412\u044b\u044f\u0441\u043d\u0438\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0435\u0441\u0442\u044c \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u044b\u0439 <b>usb \u043c\u043e\u0434\u0435\u043c HUAWEI E3372<\/b>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0447\u0442\u0438 \u0445\u0430\u043a\u0435\u0440\u0441\u043a\u0438\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u0435\u043d \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0421\u041c\u0421 \u043a\u0430\u043a \u0438\u0437 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 (Curl + Bash), \u0442\u0430\u043a \u0438 \u0438\u0437 \u043a\u043e\u0434\u0430 (Python, Perl), \u0438, \u043a\u0430\u043a \u044f \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u043b, \u0438\u0437 C#.<\/p>\n<p>  \u0421\u0430\u043c\u043e\u0435 \u043f\u0435\u0447\u0430\u043b\u044c\u043d\u043e\u0435, \u0447\u0442\u043e \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f HUAWEI \u043d\u0435 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043d\u0438\u043a\u0430\u043a\u043e\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u043a\u0430\u043a \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0438 \u0432\u0441\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u044b\u0435 \u043c\u0435\u0442\u043e\u0434\u044b \u0438\u043c\u0435\u043b\u0438 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430\u043b\u044c\u043d\u044b\u0439 \u0445\u0430\u0440\u043a\u0442\u0435\u0440 \u0438 \u0437\u0430\u0432\u0438\u0441\u0435\u043b\u0438 \u043e\u0442 \u0441\u0435\u043c\u0435\u0439\u0441\u0442\u0432\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432.<\/p>\n<p>  \u0412 \u043e\u0431\u0449\u0435\u043c, \u043e\u043f\u0438\u0440\u0430\u044f\u0441\u044c \u043d\u0430 \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u044b\u0439 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b, \u043d\u0435 \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u0443\u044e\u0449\u0438\u0439 \u0440\u0430\u0431\u043e\u0442\u0443 \u043a\u043e\u0434\u0430 \u0441 \u043c\u043e\u043c\u0435\u0434\u043e\u043c, \u0431\u044b\u043b \u043f\u0440\u0438\u043e\u0431\u0440\u0435\u0442\u0435\u043d HUAWEI E3372.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-305485","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/305485","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=305485"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/305485\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=305485"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=305485"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=305485"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}