{"id":134,"date":"2008-11-21T00:04:09","date_gmt":"2008-11-20T21:04:09","guid":{"rendered":"http:\/\/ps.sportcomitet.org\/blog\/?p=134"},"modified":"2013-05-07T22:14:16","modified_gmt":"2013-05-07T18:14:16","slug":"cbrosit-smenit-parol-administratora-v-wordpress","status":"publish","type":"post","link":"https:\/\/seriyps.com\/blog\/2008\/11\/21\/cbrosit-smenit-parol-administratora-v-wordpress\/","title":{"rendered":"C\u0431\u0440\u043e\u0441\u0438\u0442\u044c (\u0441\u043c\u0435\u043d\u0438\u0442\u044c) \u043f\u0430\u0440\u043e\u043b\u044c \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430 \u0432 WordPress"},"content":{"rendered":"<p>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b \u044f WordPress, &#8220;\u0437\u043d\u0430\u043c\u0435\u043d\u0438\u0442\u043e\u0439 \u043f\u044f\u0442\u0438\u043c\u0438\u043d\u0443\u0442\u043d\u043e\u0439 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u043e\u0439&#8221;. \u0412 \u043a\u043e\u043d\u0446\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u043f\u0430\u0440\u043e\u043b\u044c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u044f, \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0437\u0430\u0431\u044b\u043b.<br \/>\n\u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435, \u043f\u0440\u0438 \u043f\u0435\u0440\u0432\u043e\u043c \u0436\u0435 \u0440\u0430\u0437\u043b\u043e\u0433\u0438\u043d\u0438\u0432\u0430\u043d\u0438\u0438 \u0432\u0441\u0442\u0430\u043b \u0432\u043e\u043f\u0440\u043e\u0441 \u0432\u043e\u0437\u0432\u0440\u0430\u0442\u0430 \u0432 \u0430\u0434\u043c\u0438\u043d\u043f\u0430\u043d\u0435\u043b\u044c.<br \/>\n\u041d\u0443, \u0435\u0441\u0442\u044c \u0442\u0430\u043c \u0444\u043e\u0440\u043c\u0430 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0430\u0440\u043e\u043b\u044f \u0447\u0435\u0440\u0435\u0437 \u0435-\u043c\u0435\u0439\u043b. \u0412 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435, \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u0430\u044f \u0432\u0435\u0449\u044c, \u043d\u043e \u043d\u0430 \u043c\u043e\u0435\u043c \u0441\u0435\u0440\u0432\u0435 \u043d\u0435\u0442 \u043f\u043e\u0447\u0442\u043e\u0432\u0438\u043a\u0430, \u0442\u0430\u043a \u0447\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u0430\u0440\u043e\u043b\u044c \u043d\u0430 \u043f\u043e\u0447\u0442\u0443 \u044f \u043d\u0435 \u0441\u043c\u043e\u0433.<br \/>\n\u041f\u043e\u043b\u0430\u0437\u0438\u043b \u0432 \u0433\u0443\u0433\u043b\u0435 &#8211; \u043d\u0430\u0448\u0435\u043b \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0442\u0443\u0442 <a href=\"http:\/\/rizloff.com\/notes\/reset-password-wordpress\" target=\"_blank\">http:\/\/rizloff.com\/notes\/reset-password-wordpress<\/a><br \/>\n\u0412 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0445\u043e\u0440\u043e\u0448\u0435\u0435, \u043d\u043e \u043d\u0435 \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u043e\u0435. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430\u0431\u0440\u043e\u0441\u0430\u043b \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0440\u043d\u0435\u0439\u0448\u0438\u0439 php \u0441\u043a\u0440\u0438\u043f\u0442 \u0434\u043b\u044f \u044d\u0442\u043e\u0439 \u0446\u0435\u043b\u0438:<\/p>\n<pre><code lang=\"php\">&lt;?php\n\/\/\u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u043e\u0432\u044b\u0439 \u043f\u0430\u0440\u043e\u043b\u044c \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430\n$new_password=&quot;_\u043d\u043e\u0432\u044b\u0439_\u043f\u0430\u0440\u043e\u043b\u044c_&quot;;\n\n\/*===\u0414\u0430\u043b\u044c\u0448\u0435 \u043d\u0435 \u043c\u0435\u043d\u044f\u0442\u044c!===========*\/\nrequire &#039;wp-config.php&#039;;\nif( !defined(&#039;DB_NAME&#039;) || !defined(&#039;DB_USER&#039;) || !defined(&#039;DB_PASSWORD&#039;) || !defined(&#039;DB_HOST&#039;) ) die( &#039;settings file missing&#039;);\n$mysql_query=&quot;UPDATE `&quot;.$table_prefix.&quot;users` SET user_pass=`&quot;.md5($new_password).&quot;` WHERE ID = 1 ;&quot;;\n$connect_id=mysql_connect(DB_HOST, DB_USER, DB_PASSWORD) or die(mysql_error($connect_id));\n$db=mysql_select_db(DB_NAME ,$connect_id) or die(mysql_error($connect_id));\n$result=mysql_query( $mysql_query, $connect_id) or die(mysql_error($connect_id));\necho &quot;OK!&quot;;\n?&gt;<\/code><\/pre>\n<p><em><strong>\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u043f\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044e:<\/strong><\/em><br \/>\n1. \u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0444\u0430\u0439\u043b &#8220;wp_pass_reset.php&#8221;<br \/>\n2. \u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u0443\u0434\u0430 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0439 \u0432\u044b\u0448\u0435 \u043a\u043e\u0434, \u0437\u0430\u043c\u0435\u043d\u0438\u0432 <span style=\"color: #003300;\">_\u043d\u043e\u0432\u044b\u0439_\u043f\u0430\u0440\u043e\u043b\u044c_<\/span> \u043d\u0430 \u0442\u043e\u0442 \u043f\u0430\u0440\u043e\u043b\u044c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u0430\u043c \u043d\u0443\u0436\u0435\u043d, \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c<br \/>\n3. \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u043d\u0430 \u0441\u0432\u043e\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e, \u0432 \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d WordPress<br \/>\n4. \u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 http:\/\/\u0430\u0434\u0440\u0435\u0441_\u0431\u043b\u043e\u0433\u0430\/wp_pass_reset.php<br \/>\n5. \u0415\u0441\u043b\u0438 \u043f\u043e\u044f\u0432\u0438\u043b\u043e\u0441\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 OK, \u043c\u043e\u0436\u043d\u043e \u043b\u043e\u0433\u0438\u043d\u0438\u0442\u044c\u0441\u044f \u0432 \u0432\u0430\u0448\u0435\u043c WordPress \u043f\u043e \u043d\u043e\u0432\u043e\u043c\u0443 \u043f\u0430\u0440\u043e\u043b\u044e.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b \u044f WordPress, &#8220;\u0437\u043d\u0430\u043c\u0435\u043d\u0438\u0442\u043e\u0439 \u043f\u044f\u0442\u0438\u043c\u0438\u043d\u0443\u0442\u043d\u043e\u0439 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u043e\u0439&#8221;. \u0412 \u043a\u043e\u043d\u0446\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u043f\u0430\u0440\u043e\u043b\u044c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u044f, \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0437\u0430\u0431\u044b\u043b. \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435, \u043f\u0440\u0438 \u043f\u0435\u0440\u0432\u043e\u043c \u0436\u0435 \u0440\u0430\u0437\u043b\u043e\u0433\u0438\u043d\u0438\u0432\u0430\u043d\u0438\u0438 \u0432\u0441\u0442\u0430\u043b \u0432\u043e\u043f\u0440\u043e\u0441 \u0432\u043e\u0437\u0432\u0440\u0430\u0442\u0430 \u0432 \u0430\u0434\u043c\u0438\u043d\u043f\u0430\u043d\u0435\u043b\u044c. \u041d\u0443, \u0435\u0441\u0442\u044c \u0442\u0430\u043c \u0444\u043e\u0440\u043c\u0430 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0430\u0440\u043e\u043b\u044f \u0447\u0435\u0440\u0435\u0437 \u0435-\u043c\u0435\u0439\u043b. \u0412 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435, \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u0430\u044f \u0432\u0435\u0449\u044c, \u043d\u043e \u043d\u0430 \u043c\u043e\u0435\u043c \u0441\u0435\u0440\u0432\u0435 \u043d\u0435\u0442 \u043f\u043e\u0447\u0442\u043e\u0432\u0438\u043a\u0430, \u0442\u0430\u043a \u0447\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u0430\u0440\u043e\u043b\u044c \u043d\u0430 \u043f\u043e\u0447\u0442\u0443 \u044f \u043d\u0435 \u0441\u043c\u043e\u0433. \u041f\u043e\u043b\u0430\u0437\u0438\u043b \u0432 \u0433\u0443\u0433\u043b\u0435 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31,26],"tags":[78,82],"class_list":["post-134","post","type-post","status-publish","format-standard","hentry","category-php","category-web","tag-wordpress","tag-sbros-parolya"],"_links":{"self":[{"href":"https:\/\/seriyps.com\/blog\/wp-json\/wp\/v2\/posts\/134","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/seriyps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/seriyps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/seriyps.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/seriyps.com\/blog\/wp-json\/wp\/v2\/comments?post=134"}],"version-history":[{"count":6,"href":"https:\/\/seriyps.com\/blog\/wp-json\/wp\/v2\/posts\/134\/revisions"}],"predecessor-version":[{"id":137,"href":"https:\/\/seriyps.com\/blog\/wp-json\/wp\/v2\/posts\/134\/revisions\/137"}],"wp:attachment":[{"href":"https:\/\/seriyps.com\/blog\/wp-json\/wp\/v2\/media?parent=134"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/seriyps.com\/blog\/wp-json\/wp\/v2\/categories?post=134"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/seriyps.com\/blog\/wp-json\/wp\/v2\/tags?post=134"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}