<?xml version="1.0" encoding="utf-8" ?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:tt="http://teletype.in/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"><title>hywho</title><subtitle>Web development</subtitle><author><name>hywho</name></author><id>https://teletype.in/atom/hywho</id><link rel="self" type="application/atom+xml" href="https://teletype.in/atom/hywho?offset=0"></link><link rel="alternate" type="text/html" href="https://teletype.in/@hywho?utm_source=teletype&amp;utm_medium=feed_atom&amp;utm_campaign=hywho"></link><link rel="next" type="application/rss+xml" href="https://teletype.in/atom/hywho?offset=10"></link><link rel="search" type="application/opensearchdescription+xml" title="Teletype" href="https://teletype.in/opensearch.xml"></link><updated>2026-06-10T16:01:40.336Z</updated><entry><id>hywho:sql_xenforo</id><link rel="alternate" type="text/html" href="https://teletype.in/@hywho/sql_xenforo?utm_source=teletype&amp;utm_medium=feed_atom&amp;utm_campaign=hywho"></link><title>Сброс пароля пользователя через SQL-запрос [Xenforo] </title><published>2024-05-06T14:57:47.967Z</published><updated>2024-05-06T14:57:47.967Z</updated><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img4.teletype.in/files/34/b6/34b6bd13-35d4-41cb-8e04-14d2e2acc8bd.png"></media:thumbnail><summary type="html">&lt;img src=&quot;https://img3.teletype.in/files/a3/79/a37943f3-e8c8-4309-9d64-1389c4536b1a.jpeg&quot;&gt;Для сброса пароля Вам нужно зайти в phpmyadmin и найти вкладку SQL</summary><content type="html">
  &lt;figure id=&quot;h8fA&quot; class=&quot;m_custom&quot;&gt;
    &lt;img src=&quot;https://img3.teletype.in/files/a3/79/a37943f3-e8c8-4309-9d64-1389c4536b1a.jpeg&quot; width=&quot;672&quot; /&gt;
  &lt;/figure&gt;
  &lt;p id=&quot;MSnp&quot;&gt;Для сброса пароля Вам нужно зайти в phpmyadmin и найти вкладку SQL&lt;/p&gt;
  &lt;figure id=&quot;DR0D&quot; class=&quot;m_original&quot;&gt;
    &lt;img src=&quot;https://img3.teletype.in/files/65/21/6521c31a-62d7-445b-a44c-493b1b20585b.png&quot; width=&quot;655&quot; /&gt;
  &lt;/figure&gt;
  &lt;section&gt;
    &lt;pre data-lang=&quot;sql&quot; id=&quot;gvJV&quot;&gt;UPDATE xf_user_authenticate
SET data = BINARY
CONCAT(
CONCAT(
CONCAT(&amp;#x27;a:3:{s:4:&amp;quot;hash&amp;quot;;s:40:&amp;quot;&amp;#x27;, SHA1(CONCAT(SHA1(&amp;#x27;Здесь пишем новый пароль&amp;#x27;), SHA1(&amp;#x27;salt&amp;#x27;)))),
CONCAT(&amp;#x27;&amp;quot;;s:4:&amp;quot;salt&amp;quot;;s:40:&amp;quot;&amp;#x27;, SHA1(&amp;#x27;salt&amp;#x27;))
),
&amp;#x27;&amp;quot;;s:8:&amp;quot;hashFunc&amp;quot;;s:4:&amp;quot;sha1&amp;quot;;}&amp;#x27;
),
scheme_class = &amp;#x27;XenForo_Authentication_Core&amp;#x27;
WHERE user_id = Здесь uid вашего пользователя;&lt;/pre&gt;
  &lt;/section&gt;
  &lt;p id=&quot;iFnm&quot;&gt;Вот пример SQL запроса, основном у главного администратора uid равен 1&lt;/p&gt;
  &lt;figure id=&quot;i3Qu&quot; class=&quot;m_custom&quot;&gt;
    &lt;img src=&quot;https://img3.teletype.in/files/21/96/2196fbfd-8ff5-4b8d-b9d7-8f4a6a93fd1c.png&quot; width=&quot;679&quot; /&gt;
  &lt;/figure&gt;
  &lt;p id=&quot;moZr&quot;&gt;Если на Вашем аккаунте стоит двухфакторная аутентификация то в файле config.php пропишите эту строку&lt;/p&gt;
  &lt;section&gt;
    &lt;pre id=&quot;ntK3&quot;&gt;$config[&amp;#x27;enableTfa&amp;#x27;] = false;&lt;/pre&gt;
  &lt;/section&gt;

</content></entry></feed>