Editing Psi/PasswordRecover

From JaWiki (Jabber/XMPP wiki)
Jump to: navigation, search

Warning: The database has been locked for maintenance, so you will not be able to save your edits right now. You may wish to copy and paste your text into a text file and save it for later.

The administrator who locked it offered this explanation: MediaWiki upgrading

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
 
== Декодирование пароля на Perl ==
 
== Декодирование пароля на Perl ==
В качестве аргументов инлайну на Perl нужно указать JID и хэш из тега    <password type="QString">, который находится в файле ~/.psi/profiles/default/accounts.xml
+
  <!DOCTYPE accounts (View Source for full doctype...)>
 
+
- <accounts version="0.16.361 (2014-05-02)" xmlns="http://psi-im.org/options">
Например:
+
- <accounts>
perl -le '($jid,$pw)=@ARGV;$pw=~s/..(..)/chr hex$1/ge; print substr($pw^$jid,0,length$pw)' leksey@ya.ru 000100020003007e
+
- <a0>
 
+
- <tls>
 +
  <override-certificate type="QByteArray" />
 +
  <override-domain type="QString" />
 +
  </tls>
 +
- <roster-cache>
 +
- <a0>
 +
  <subscription type="QString">none</subscription>
 +
- <groups type="QStringList">
 +
  <item>General</item>
 +
  </groups>
 +
  <ask type="QString">subscribe</ask>
 +
  <name type="QString">everr@xmpp.jp</name>
 +
  <jid type="QString">null</jid>
 +
  </a0>
 +
- <a1>
 +
  <subscription type="QString">both</subscription>
 +
  <groups type="QStringList" />
 +
  <ask type="QString" />
 +
  <name type="QString">BroFromStreet</name>
 +
  <jid type="QString">bigbrotherlevel@xmpp.jp</jid>
 +
  </a1>
 +
- <a2>
 +
  <subscription type="QString">both</subscription>
 +
- <groups type="QStringList">
 +
  <item>General</item>
 +
  </groups>
 +
  <ask type="QString" />
 +
  <name type="QString">papacontrol</name>
 +
  <jid type="QString">papacontrol711@xmpp.jp</jid>
 +
  </a2>
 +
- <a3>
 +
  <subscription type="QString">both</subscription>
 +
  <groups type="QStringList" />
 +
  <ask type="QString" />
 +
  <name type="QString">pdk@xmpp.ru</name>
 +
  <jid type="QString">pdk@xmpp.ru</jid>
 +
  </a3>
 +
- <a4>
 +
  <subscription type="QString">both</subscription>
 +
  <groups type="QStringList" />
 +
  <ask type="QString" />
 +
  <name type="QString">kinder_036@xmpp.jp</name>
 +
  <jid type="QString">kinder_036@xmpp.jp</jid>
 +
  </a4>
 +
  </roster-cache>
 +
- <scram>
 +
  <salted-password type="QString" />  
 +
  <store-salted-password type="bool">false</store-salted-password>
 +
  </scram>
 +
- <custom-auth>
 +
  <use type="bool">false</use>
 +
  <authid type="QString" />
 +
  <realm type="QString" />
 +
  </custom-auth>
 +
  <proxy-id type="QString" />
 +
  <keep-alive type="bool">true</keep-alive>
 +
  <require-mutual-auth type="bool">false</require-mutual-auth>
 +
  <last-with-priority type="bool">false</last-with-priority>
 +
  <port type="int">5222</port>
 +
  <ignore-SSL-warnings type="bool">true</ignore-SSL-warnings>
 +
  <connect-after-sleep type="bool">false</connect-after-sleep>
 +
  <stun-username type="QString" />
 +
  <compress type="bool">true</compress>
 +
- <stun-hosts type="QStringList">
 +
  <item>stun.jabber.ru:5249</item>
 +
  <item>stun.habahaba.im</item>
 +
  <item>stun.ekiga.net</item>
 +
  <item>provserver.televolution.net</item>
 +
  <item>stun1.voiceeclipse.net</item>
 +
  <item>stun.callwithus.com</item>
 +
  <item>stun.counterpath.net</item>
 +
  <item>stun.endigovoip.com</item>
 +
  <item>stun.ideasip.com</item>
 +
  <item>stun.internetcalls.com</item>
 +
  <item>stun.noc.ams-ix.net</item>
 +
  <item>stun.phonepower.com</item>
 +
  <item>stun.phoneserve.com</item>
 +
  <item>stun.rnktel.com</item>
 +
  <item>stun.softjoys.com</item>
 +
  <item>stun.sipgate.net</item>
 +
  <item>stun.sipgate.net:10000</item>
 +
  <item>stun.stunprotocol.org</item>
 +
  <item>stun.voipbuster.com</item>
 +
  <item>stun.voxgratia.org</item>
 +
  </stun-hosts>
 +
  <host type="QString" />
 +
  <priority-depends-on-status type="bool">true</priority-depends-on-status>
 +
  <pgp-secret-key-id type="QString" />
 +
  <use-host type="bool">false</use-host>
 +
  <auto type="bool">false</auto>
 +
  <ssl type="QString">auto</ssl>
 +
  <last-status-message type="QString" />
 +
  <automatic-resource type="bool">false</automatic-resource>
 +
  <password type="QString">001b00000014000e000c0042005e005c007000530051</password>
 +
  <security-level type="int">0</security-level>
 +
  <id type="QString">{9860c7bc-5a60-49be-ba0b-aa74bd152ab9}</id>
 +
  <ignore-global-actions type="bool">false</ignore-global-actions>
 +
  <jid type="QString">vagabund@jabber.org</jid>
 +
  <reconn type="bool">true</reconn>
 +
  <last-status type="QString">online</last-status>
 +
  <enabled type="bool">true</enabled>
 +
  <log type="bool">true</log>
 +
  <legacy-ssl-probe type="bool">false</legacy-ssl-probe>
 +
  <stun-host type="QString">stun.jabber.ru:5249</stun-host>
 +
  <bytestreams-proxy type="QString" />
 +
  <pgp-pass-phrase type="QString" />
 +
  <priority type="int">55</priority>
 +
  <ibb-only type="bool">false</ibb-only>
 +
  <resource type="QString">Psi+</resource>
 +
  <allow-plain type="QString">over encryped</allow-plain>
 +
  <always-visible-contacts type="QStringList" />
 +
  <name type="QString">jabber.org</name>
 +
  <stun-password type="QString" />
 +
  <auto-same-status type="bool">true</auto-same-status>
 +
  </a0>
 +
- <a1>
 +
- <tls>
 +
  <override-certificate type="QByteArray" />
 +
  <override-domain type="QString" />
 +
  </tls>
 +
- <roster-cache>
 +
- <a0>
 +
  <subscription type="QString">both</subscription>
 +
  <groups type="QStringList" />
 +
  <ask type="QString" />
 +
  <name type="QString" />
 +
  <jid type="QString">mrkrd@xmpp.jp</jid>
 +
  </a0>
 +
- <a1>
 +
  <subscription type="QString">both</subscription>
 +
  <groups type="QStringList" />
 +
  <ask type="QString" />
 +
  <name type="QString" />
 +
  <jid type="QString">bestrip@wtfismyip.com</jid>
 +
  </a1>
 +
- <a2>
 +
  <subscription type="QString">both</subscription>
 +
  <groups type="QStringList" />
 +
  <ask type="QString" />
 +
  <name type="QString" />
 +
  <jid type="QString">lertyq@dukgo.com</jid>
 +
  </a2>
 +
- <a3>
 +
  <subscription type="QString">none</subscription>
 +
  <groups type="QStringList" />
 +
  <ask type="QString" />
 +
  <name type="QString" />
 +
  <jid type="QString">mistery.shop@jabber.ru</jid>
 +
  </a3>
 +
- <a4>
 +
  <subscription type="QString">both</subscription>
 +
  <groups type="QStringList" />
 +
  <ask type="QString" />
 +
  <name type="QString" />
 +
  <jid type="QString">givi89@fuckav.in</jid>
 +
  </a4>
 +
  </roster-cache>
 +
- <scram>
 +
  <salted-password type="QString" />
 +
  <store-salted-password type="bool">false</store-salted-password>
 +
  </scram>
 +
- <custom-auth>
 +
  <use type="bool">false</use>
 +
  <authid type="QString" />
 +
  <realm type="QString" />
 +
  </custom-auth>
 +
  <proxy-id type="QString" />
 +
  <keep-alive type="bool">true</keep-alive>
 +
  <require-mutual-auth type="bool">false</require-mutual-auth>
 +
  <last-with-priority type="bool">false</last-with-priority>
 +
  <port type="int">5222</port>
 +
  <ignore-SSL-warnings type="bool">true</ignore-SSL-warnings>
 +
  <connect-after-sleep type="bool">false</connect-after-sleep>
 +
  <stun-username type="QString" />
 +
  <compress type="bool">true</compress>
 +
- <stun-hosts type="QStringList">
 +
  <item>stun.jabber.ru:5249</item>
 +
  <item>stun.habahaba.im</item>
 +
  <item>stun.ekiga.net</item>
 +
  <item>provserver.televolution.net</item>
 +
  <item>stun1.voiceeclipse.net</item>
 +
  <item>stun.callwithus.com</item>
 +
  <item>stun.counterpath.net</item>
 +
  <item>stun.endigovoip.com</item>
 +
  <item>stun.ideasip.com</item>
 +
  <item>stun.internetcalls.com</item>
 +
  <item>stun.noc.ams-ix.net</item>
 +
  <item>stun.phonepower.com</item>
 +
  <item>stun.phoneserve.com</item>
 +
  <item>stun.rnktel.com</item>
 +
  <item>stun.softjoys.com</item>
 +
  <item>stun.sipgate.net</item>
 +
  <item>stun.sipgate.net:10000</item>
 +
  <item>stun.stunprotocol.org</item>
 +
  <item>stun.voipbuster.com</item>
 +
  <item>stun.voxgratia.org</item>
 +
  </stun-hosts>
 +
  <host type="QString" />
 +
  <priority-depends-on-status type="bool">true</priority-depends-on-status>
 +
  <pgp-secret-key-id type="QString" />
 +
  <use-host type="bool">false</use-host>
 +
  <auto type="bool">false</auto>
 +
  <ssl type="QString">auto</ssl>
 +
  <last-status-message type="QString" />
 +
  <automatic-resource type="bool">false</automatic-resource>
 +
  <password type="QString">005a00530045005500570445</password>
 +
  <security-level type="int">0</security-level>
 +
  <id type="QString">{43ff8000-1193-45b8-9427-0cfb5b43e3f7}</id>
 +
  <ignore-global-actions type="bool">false</ignore-global-actions>
 +
  <jid type="QString">kavabanda@xmpp.jp</jid>
 +
  <reconn type="bool">true</reconn>
 +
  <last-status type="QString">online</last-status>
 +
  <enabled type="bool">true</enabled>
 +
  <log type="bool">true</log>
 +
  <legacy-ssl-probe type="bool">false</legacy-ssl-probe>
 +
  <stun-host type="QString">stun.jabber.ru:5249</stun-host>
 +
  <bytestreams-proxy type="QString" />
 +
  <pgp-pass-phrase type="QString" />
 +
  <priority type="int">55</priority>
 +
  <ibb-only type="bool">false</ibb-only>
 +
  <resource type="QString">Psi+</resource>
 +
  <allow-plain type="QString">over encryped</allow-plain>
 +
  <always-visible-contacts type="QStringList" />
 +
  <name type="QString">По умолчанию</name>
 +
  <stun-password type="QString" />
 +
  <auto-same-status type="bool">true</auto-same-status>
 +
  </a1>
 +
  </accounts>
 +
- <proxy>
 +
  <Auto_Updater type="QString" />
 +
  <Default type="QString" />
 +
  </proxy>
 +
- <order type="QStringList">
 +
  <item>{9860c7bc-5a60-49be-ba0b-aa74bd152ab9}</item>
 +
  <item>{43ff8000-1193-45b8-9427-0cfb5b43e3f7}</item>
 +
  </order>
 +
  </accounts>
  
 
== На python ==
 
== На python ==

Please note that all contributions to JaWiki (Jabber/XMPP wiki) may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see JaWiki (Jabber/XMPP wiki):Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)