Simple to use Python to make remote video surveillance Trojan, simple programming ideas I will not blow!

Source: Internet
Author: User
Tags imap email account python script

Summary:

From the Internet to see the remote use of Python to send a blog, this time I want to use Python to achieve remote video surveillance, it looks both tall and easy to do. First of all, let's talk about the overall idea, we want to do the mobile phone send mail, Python script received a specific message information, analog mouse operation click on the Video Call button on QQ to achieve the purpose of video surveillance.

We need two QQ number, one on the computer side login, one on the mobile phone login, Python script needs the account and password is your computer side. Third-party libraries required for code: Imaplib,pyautogui

Imaplib is a third-party library of Python, we use it to implement the operation of the mail, Pyautogui also need to install the third-party library, we use it to simulate the mouse operation.

Put your QQ email account number and password in the code

Precautions:

Learn how Python is not clearly recommended to join the Exchange group
No.: 548377875
The group has like-minded small partners, mutual help,
There are good learning tutorials in the group!

First QQ mailbox must open IMAP service, the relevant steps can Baidu, open IMAP service will have an authorization code, fill in the password when do not write your QQ password, to write this authorization code.

Judgment when I stole a lazy, as long as it is my e-mail, regardless of the content of the message will be a video call with me, that is, you can fill in the mail, as long as you specify the account sent can, this I recommend you use Sina Mailbox, Because QQ mailbox send things always reported as spam and can not be sent successfully

There is also a condition that when you run this script on your computer, you must open and maximize the chat window you want to make a video call (you can use the handle optimization). Just like this:

For example, I want to talk to the small meatball video, I will open the small ball Chat window, and maximize. This way the program can be run to ensure that the mouse to the correct point to the Video Call button. Next, as long as you use your mobile phone to send a message to QQ on the computer, the computer will soon be with you video call. The code is not good, just completed a specific function, hoping to learn python you have a little fun.

Simple to use Python to make remote video surveillance Trojan, simple programming ideas I will not blow!

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.