メインコンテンツ | メニュー

Main Contents

2008年11月17日

Pleskのメールパスワードを探す方法

Pleskで設定しているメールパスワードをデータベースから直接確認する方法。

例: hgoehoge@example.comのパスワードを確認する

$ mysql -u admin -p`cat /etc/psa/.psa.shadow` psa
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 11612026 to server version: 3.23.58

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> select id,name from domains;
+----+------------------------+
| id | name |
+----+------------------------+
| 1 | example.com |
----+------------------------+
1 rows in set (0.00 sec)

mysql> select account_id from dom_id=1 and mail_name='hogehoge';
+------------+
| account_id |
+------------+
| 65 |
+------------+
1 row in set (0.00 sec)

mysql> select password from accounts where id=65;
+----------+
| password |
+----------+
| hagehage |
+----------+
1 row in set (0.00 sec)

hagehage がパスワード

mysqlのバージョンが古くてサブクエリが使えん。

2008年08月25日

ハイレベル通勤電車

日本の満員電車はまだまだ。

  • by shinobe
  • at 12:02
  • in funny

2008年08月17日

地球温暖化の原因は松岡修造

あの暑苦しさで地球の平均気温を押し上げていると思われる。

  • by shinobe
  • at 09:41
  • in funny

2008年07月16日

2008年07月09日

2008年07月07日

ぐぅ~ブックマークレット

エドはるみ風にするブックマークレット
(右クリックしてお気に入りの「リンク」フォールダーに追加...)

  • by shinobe
  • at 14:33
  • in funny

2008年06月25日

Fail Blog

面白いサイト発見。

Fail Blog
http://failblog.org

↓こんなんばっかり

隠し忘れ。


Copyright © NET-ING Co., Ltd.
here