Is you a hacker?
How to build another qq/wechat/whatsapp/skype/imessage?
Let's go through this!!!!
Materials:
A Linux/unix/windows/mac Computer/server, and do some basic things!
Is you feeling?
Okay, let ' s ride the rocket!
Get materials:1. A Search Engine
duckduckgo.com to search ' OpenFire '
2. Service Software
' OpenFire ' From here http://www.igniterealtime.org/downloads/index.jsp
And the client software spark: ' Spark ' (here for example:download the Http://www.igniterealtime.org/download S/download-landing.jsp?file=openfire/openfire_3.9.3_all.deb, because I deployed it on a debian/ubuntu machine)
3. Packages Installation
For some situations, some other packages such as openjdk-6-JRE should is installed or other packages sudoinstall apache2 openjdk-6-jre mysql-server mysql-client- Then sudo dpkg-i/path/to/openfire_3. 9. 3_all.deb
4. Database Settings
Mysql-uroot- then in the MySQL consolemysql> CREATE DATABASE openfire;
5. Service Deployment
Go to the Web page:
xx.xx.xx.xx:9090
Then you'll see some references guiding your to install. (Choose the outer base database, not the default database. Here MySQL preferred)
Next and Next = then finish.
6. Plugin installation:monitoring Service
Go to the Web page:
xx.xx.xx.xx:9090
Click on the Green "Cross" button on the right.
7. Plugin Settings
Toggle the "Archive one-to-one chats" and/or "Archive Group chats"
8. An instant conversation
(P.S. You'll need to add some one before the conversation one-to-one, of course)
In the case, create a user here:
Then open the client software!!!
' Spark ' sudo sh /path/to/spark/resources/startup. SH &
Then you'll see the user interface as this:
Login!!!
Do the same thing for another account. e.g. another account: ' admin '
Send messages between different clients
From the Page:server, archiving-A, Search archive, we can see their talking record. wow! What a conversation:P
9. Data Tasting
We is not a satisfied with a just reading some thing from Web page.
Here feel what we got!
Mysql-uroot-p# input your passwordmysql> use openfire;mysqlSelect * from ofuser; " something dumped out " MySQL Select * from ofmessagearchive; " Other dumped out "
notice:the table ' ofmessagearchive ' is created because of the enabling of the plugin ' monitor archiving '
Let's see what we got!!
For User:
For the conversation record (archived)
yeah! We see that!
"Next Big":
Client B, middleware, client A
Client A, client B, middleware
Domestic server, middleware, client A
Domestic server, middleware, client A, client B, client C, ...
Domestic server, middleware, client A
Happy hacking!