{"id":70461,"date":"2020-03-01T10:39:00","date_gmt":"2020-03-01T02:39:00","guid":{"rendered":"https:\/\/nemarov.com\/?p=70461"},"modified":"2021-05-19T22:13:10","modified_gmt":"2021-05-19T14:13:10","slug":"%d1%81%d0%be%d0%b7%d0%b4%d0%b0%d0%b5%d0%bc-%d0%b1%d0%be%d1%82%d0%b0-%d0%bf%d0%be%d0%b4-%d1%81%d0%be%d0%b2%d1%80%d0%b5%d0%bc%d0%b5%d0%bd%d0%bd%d1%83%d1%8e-icq-%d1%87%d0%b0%d1%81%d1%82%d1%8c-3","status":"publish","type":"post","link":"https:\/\/nemarov.com\/?p=70461","title":{"rendered":"\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0431\u043e\u0442\u0430 \u043f\u043e\u0434 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e ICQ (\u0447\u0430\u0441\u0442\u044c 3)"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-70462\" src=\"https:\/\/nemarov.com\/wp-content\/uploads\/2020\/03\/icq.png\" alt=\"\" width=\"280\" height=\"107\" \/><br \/>\n<a href=\"https:\/\/nemarov.com\/?p=33721\">\u0422\u0443\u0442 \u0447\u0430\u0441\u0442\u044c 2<\/a><br \/>\n\u0414\u043b\u044f \u043f\u043e\u0441\u044b\u043b\u043a\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u0432 \u0433\u0440\u0443\u043f\u043f\u043e\u0432\u043e\u0439 \u0447\u0430\u0442 \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f:<br \/>\nICQ_BOTTOKEN: 001.0000000000.0000000000:749000000 (\u0441\u043c <a href=\"https:\/\/nemarov.com\/?p=33721\">\u0442\u0443\u0442 \u0447\u0430\u0441\u0442\u044c 2<\/a>)<br \/>\nICQ_IDCHAT = @740000000<\/p>\n<p>\u041f\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043f\u0440\u043e ICQ Bot API \u043c\u043e\u0436\u043d\u043e <a href=\"https:\/\/icq.com\/botapi\/\">\u0442\u0443\u0442<\/a><\/p>\n<blockquote><p>\u0418\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f API<br \/>\n29.01.2020:<br \/>\n\u0414\u043e\u0431\u0430\u0432\u0438\u043b\u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0432 \u043f\u043e\u043b\u0435 chatId \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u043d\u0438\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438\u043b\u0438 \u0447\u0430\u0442\u0430.<\/p><\/blockquote>\n<p>\u0420\u0430\u043d\u0435\u0435, \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f chatId, \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u043b\u0441\u044f \u043a\u0432\u0435\u0441\u0442, \u0442\u0435\u043f\u0435\u0440\u044c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0437\u043d\u0430\u0442\u044c \u043d\u0438\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438\u043b\u0438 \u0447\u0430\u0442\u0430.<\/p>\n<p>\u0412\u043e\u0442 \u0441\u0430\u043c\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0439 \u043a\u043e\u0434 \u043d\u0430 php \u0434\u043b\u044f \u043f\u043e\u0441\u044b\u043b\u043a\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439:<\/p>\n<pre>\r\n\/\/ ICQ-Bot, \u043f\u043e\u0441\u044b\u043b\u0430\u0435\u043c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u0438\u043b\u0438 \u0432 \u0433\u0440\u0443\u043f\u043f\u043e\u0432\u043e\u0439 \u0447\u0430\u0442\r\n$msg = \"\u041f\u0440\u0438\u0432\u0435\u0442! \u042d\u0442\u043e \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435.\";\r\n$ICQ_BOTTOKEN = \"001.0000000000.0000000000:749000000\"; \/\/Bot token\r\n$ICQ_IDCHAT = \"@740000000\"; \/\/ChatID, \u043d\u0438\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\r\n\/\/ $ICQ_IDCHAT = \"AaLE2gDip1ZYY1112s\"; \/\/ChatID, \u043d\u0438\u043a \u0433\u0440\u0443\u043f\u043f\u043e\u0432\u043e\u0433\u043e \u0447\u0430\u0442\u0430\r\n$icq_msg = rawurlencode(str_replace(\"@\", \" \", $msg));\r\n$icq_full_url = \"https:\/\/api.icq.net\/bot\/v1\/messages\/sendText?token=\".$ICQ_BOTTOKEN.\"\\&chatId=\".$ICQ_IDCHAT.\"\\&text=\".$icq_msg;\r\npassthru(\"\/usr\/bin\/wget -q -O- $icq_full_url > \/dev\/null 2>&1 &\");\r\n<\/pre>\n<p>\u041a\u043e\u0434 \u0434\u043b\u044f bash \u043c\u044b \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u0443\u0440\u043e\u043a\u0435 \u043f\u043e bash (:ok:)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0422\u0443\u0442 \u0447\u0430\u0441\u0442\u044c 2 \u0414\u043b\u044f \u043f\u043e\u0441\u044b\u043b\u043a\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u0432 \u0433\u0440\u0443\u043f\u043f\u043e\u0432\u043e\u0439 \u0447\u0430\u0442 \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f: ICQ_BOTTOKEN: 001.0000000000.0000000000:749000000 (\u0441\u043c \u0442\u0443\u0442 \u0447\u0430\u0441\u0442\u044c 2) ICQ_IDCHAT = @740000000 \u041f\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043f\u0440\u043e ICQ Bot API \u043c\u043e\u0436\u043d\u043e \u0442\u0443\u0442 \u0418\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f API 29.01.2020: \u0414\u043e\u0431\u0430\u0432\u0438\u043b\u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0432 \u043f\u043e\u043b\u0435 chatId \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u043d\u0438\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438\u043b\u0438 \u0447\u0430\u0442\u0430. \u0420\u0430\u043d\u0435\u0435, \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f chatId, \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u043b\u0441\u044f \u043a\u0432\u0435\u0441\u0442, \u0442\u0435\u043f\u0435\u0440\u044c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0437\u043d\u0430\u0442\u044c \u043d\u0438\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438\u043b\u0438 \u0447\u0430\u0442\u0430. \u0412\u043e\u0442 \u0441\u0430\u043c\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0439 \u043a\u043e\u0434 \u043d\u0430 php \u0434\u043b\u044f&#8230; <a href=\"https:\/\/nemarov.com\/?p=70461\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 &raquo;<\/a><\/p>\n","protected":false},"author":2135,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"class_list":["post-70461","post","type-post","status-publish","format-standard","hentry","category-20"],"_links":{"self":[{"href":"https:\/\/nemarov.com\/index.php?rest_route=\/wp\/v2\/posts\/70461","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nemarov.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nemarov.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nemarov.com\/index.php?rest_route=\/wp\/v2\/users\/2135"}],"replies":[{"embeddable":true,"href":"https:\/\/nemarov.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=70461"}],"version-history":[{"count":0,"href":"https:\/\/nemarov.com\/index.php?rest_route=\/wp\/v2\/posts\/70461\/revisions"}],"wp:attachment":[{"href":"https:\/\/nemarov.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=70461"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nemarov.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=70461"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nemarov.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=70461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}