<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xmlns:tt="http://teletype.in/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>hywho</title><generator>teletype.in</generator><description><![CDATA[Web development]]></description><link>https://teletype.in/@hywho?utm_source=teletype&amp;utm_medium=feed_rss&amp;utm_campaign=hywho</link><atom:link rel="self" type="application/rss+xml" href="https://teletype.in/rss/hywho?offset=0"></atom:link><atom:link rel="next" type="application/rss+xml" href="https://teletype.in/rss/hywho?offset=10"></atom:link><atom:link rel="search" type="application/opensearchdescription+xml" title="Teletype" href="https://teletype.in/opensearch.xml"></atom:link><pubDate>Wed, 10 Jun 2026 16:01:39 GMT</pubDate><lastBuildDate>Wed, 10 Jun 2026 16:01:39 GMT</lastBuildDate><item><guid isPermaLink="true">https://teletype.in/@hywho/sql_xenforo</guid><link>https://teletype.in/@hywho/sql_xenforo?utm_source=teletype&amp;utm_medium=feed_rss&amp;utm_campaign=hywho</link><comments>https://teletype.in/@hywho/sql_xenforo?utm_source=teletype&amp;utm_medium=feed_rss&amp;utm_campaign=hywho#comments</comments><dc:creator>hywho</dc:creator><title>Сброс пароля пользователя через SQL-запрос [Xenforo] </title><pubDate>Mon, 06 May 2024 14:57:47 GMT</pubDate><media:content medium="image" url="https://img4.teletype.in/files/34/b6/34b6bd13-35d4-41cb-8e04-14d2e2acc8bd.png"></media:content><description><![CDATA[<img src="https://img3.teletype.in/files/a3/79/a37943f3-e8c8-4309-9d64-1389c4536b1a.jpeg"></img>Для сброса пароля Вам нужно зайти в phpmyadmin и найти вкладку SQL]]></description><content:encoded><![CDATA[
  <figure id="h8fA" class="m_custom">
    <img src="https://img3.teletype.in/files/a3/79/a37943f3-e8c8-4309-9d64-1389c4536b1a.jpeg" width="672" />
  </figure>
  <p id="MSnp">Для сброса пароля Вам нужно зайти в phpmyadmin и найти вкладку SQL</p>
  <figure id="DR0D" class="m_original">
    <img src="https://img3.teletype.in/files/65/21/6521c31a-62d7-445b-a44c-493b1b20585b.png" width="655" />
  </figure>
  <section>
    <pre data-lang="sql" id="gvJV">UPDATE xf_user_authenticate
SET data = BINARY
CONCAT(
CONCAT(
CONCAT(&#x27;a:3:{s:4:&quot;hash&quot;;s:40:&quot;&#x27;, SHA1(CONCAT(SHA1(&#x27;Здесь пишем новый пароль&#x27;), SHA1(&#x27;salt&#x27;)))),
CONCAT(&#x27;&quot;;s:4:&quot;salt&quot;;s:40:&quot;&#x27;, SHA1(&#x27;salt&#x27;))
),
&#x27;&quot;;s:8:&quot;hashFunc&quot;;s:4:&quot;sha1&quot;;}&#x27;
),
scheme_class = &#x27;XenForo_Authentication_Core&#x27;
WHERE user_id = Здесь uid вашего пользователя;</pre>
  </section>
  <p id="iFnm">Вот пример SQL запроса, основном у главного администратора uid равен 1</p>
  <figure id="i3Qu" class="m_custom">
    <img src="https://img3.teletype.in/files/21/96/2196fbfd-8ff5-4b8d-b9d7-8f4a6a93fd1c.png" width="679" />
  </figure>
  <p id="moZr">Если на Вашем аккаунте стоит двухфакторная аутентификация то в файле config.php пропишите эту строку</p>
  <section>
    <pre id="ntK3">$config[&#x27;enableTfa&#x27;] = false;</pre>
  </section>

]]></content:encoded></item></channel></rss>