It mens force: How to chat like a hacker mojo-webqq

Source: Internet
Author: User

The hackers in the movie do not want to chat in our lives, with QQ, the client, are through the command line to chat and communicate, presumably to enhance the grid bar. (at the end of the article there is welfare ~)

This article KEVINSVIP

Find an interesting project today: using MOJOQQ to implement command line QQ

Target version is: MOJO-WEBQQ v2.1.4

Project Address: HTTPS://GITHUB.COM/SJDY521/MOJO-WEBQQ

Installation method

It is recommended to use CPANM to install or upgrade the MOJO::WEBQQ module online, if using Docker, see Docker image installation and how to use it

Installing Perl

Before installing, please make sure that Perl is installed on your system, because most of the other platforms may have been preinstalled by default in addition to Windows.

And your Perl version is at least 5.10.1+, recommended 5.14 +

The Perl download page has full detailed installation instructions including Unix/linux, Mac OS X, and Windows multiplatform.

Recommend that you try to choose binaries (binary precompiled) version, installation can be used, more convenient

Attention:

Mojo-centosperl is based on the CentOS system compiled and packaged, suitable for Centos6.5 above the x86_64 system

Mojo-activeperl is based on ActivePerl packaging and is suitable for Linux x86_64 systems, and the system glibc 2.15+

Mojo-strawberryperl is packaged based on Strawberryperl Lite for Windows 32-bit/64-bit systems

installation Cpanm Package Management tool (this step can be ignored if the system already has CPANM installed)

Method a : Installing cpanm via cpan

$ cpan-i App::cpanminus

Method b : Direct online installation cpanm

$ curl-kl https://cpanmin.us | perl-app::cpanminus

The official server is abroad, if you cannot access it, you can choose the following command:

$ Curl http://share-10066126.cos.myqcloud.com/cpanm.pl|perl–app::cpanminus

Use Cpanm Online Installation MOJO::WEBQQ Module (if the module is already installed, perform this step to upgrade the module)

$ CPANM MOJO::WEBQQ

If the download fails during the installation process, it is most likely due to poor access to foreign server networks

In this case, you can try to manually specify a mirror site in the country as follows

$ cpanm--mirror http://mirrors.163.com/cpan/ mojo::webqq

workarounds that may be helpful for installation failure If you have bad luck, pass Cpanm No one-time installation was successful, here are some information that may be useful in installing MOJO::WEBQQ in the process, Cpan or Cpanm will help us to automatically install many other dependent modules

Among the many dependency modules, installation is often prone to problems that are mainly IO::SOCKET::SSL

Io::socket::ssl mainly provides HTTPS support, which may involve the compilation of SSL related libraries during the installation process.

For Linux users, the usual way to compile the installation, the system is missing the necessary compilation and installation environment, it will cause the compilation to fail

For Windows users, because they do not have a good compilation installation environment, it is recommended to use some of the more comprehensive Perl runtime environment

For example, the most recent version of the popular Strawberryperl or ActivePerl includes the MOJO::WEBQQ core dependency module by default

Redhat/centos:

$ yum install-y openssl-devel

Ubuntu:

$ sudo apt-get install Libssl-dev


Take care of it. After compiling and running the environment, go back to step 2 to install MOJO::WEBQQ

SMARTQQ client framework written in Perl, based on Mojolicious, requires Perl version 5.10+, which provides an HTTP protocol-based API interface for other languages or system calls via plugins

Solemn declaration

This project fully follow the original functions provided by QQ, does not contain any damage, theft, etc., the project is fully open source, the purpose is to promote technical exchange study, prohibit any country, enterprises, individuals and other harmful illegal use, otherwise the consequences of their own

Featured Features

§ Support group kick, Ban, set/Cancel Admin, modify group membership card, invite friends to group, group sign in

§ Support for real QQ numbers for friends, groups, and group members

§ Support for new/lost friends, add/exit groups, add/lose group members and other events reminders (not real-time)

§ Support Windows/linux/mac Multi-platform, support Docker image, easy to install and deploy, do not know Perl also can use

§ Provides API interface based on HTTP protocol, simple and rich, easy to integrate with other programming languages

§ A product of the dog's portrait, the code from the inside out more attention to "user experience", plus the owner of excellent character, you know

Plugin List

Full plug-in list <<<<<<


Effect display "Click on plain Text View Code"

Tapping a single line of command will start a smart chat robot, and Perl and you are so elegant. enjoy!

1. &quot; Mojo::webqq->new->load (& #39; showmsg& #39;)->load (& #39; smartreply& #39;)->run () &quot;

1. [15/09/30 15:11:59] [info] Initialize SMARTQQ client parameters ...

2. [15/09/30 15:11:59] [info] Check the verification code ...

3. [15/09/30 15:11:59] [info] Check results: Fortunately, this login does not require a verification code

4. [15/09/30 15:11:59] [info] is getting login QR code ...

5. [15/09/30 15:11:59] [info] QR code has been downloaded to local [/tmp/mojo_webqq_qrcode_xxx.png]

6. [15/09/30 15:12:00] [info] login QR Code has been sent to the mailbox: ******

7. [15/09/30 15:12:00] [info] Wait for the phone QQ scan QR code ...

8. [15/09/30 15:12:43] [INFO] Mobile QQ Scan code success, please click on the phone [allow login smartqq] button ...

9. [15/09/30 15:12:46] [info] Check the security code ...

[15/09/30 15:12:47] [INFO] set Login verification parameters ...

[15/09/30 15:12:47] [info] try to login (2) ...

[15/09/30 15:12:47] [INFO] Login Successful

[15/09/30 15:12:47] [INFO] Update personal information ...

[15/09/30 15:12:47] [INFO] Update friend info ...

[15/09/30 15:12:47] [INFO] Update [Perl Learning Exchange] Information

[15/09/30 15:12:52] [info] Update [mojolicious] Information

[15/09/30 15:12:55] [INFO] start receiving messages ...

18. [15/09/30 14:09:20] [group message] small Ash | Perl Learning communication: MOJO::WEBQQ good

19. [15/09/30 14:10:20] [group message] I-&gterl learning communication: reply

Benefits Egg >>>>> Hack Entry essential Skills--four hot videos, five selected advanced courses, we group together to open the black ~

It mens force: How to chat like a hacker mojo-webqq

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.