目前版本是OEInboxtool v4.4(通用简化版)20100311。做了许多测试和优化,代码就不贴出来了。喜欢“简单就好”。下面介绍下使用方法。
首先,检查你的系统是否安装有Outlook Express,并且是否可以使用。然后设置你的Outlook Express邮箱,收件时间大概设置为一分钟左右。其它的根据你的需要填写。smtp之类的到网上搜索。
其次,设置本工具,首次运行时提示设置选项。
1)设置循环时间。也就是多长时间提取一次收件箱和执行一次命令,缺省默认是60,相当于两三分钟。如果你在线测试的话,你填1进去,估计一分钟就循环一次。时间不是很准。如果你当场测试,循环时间设置为1即可,如果你外出遥控,建议把时间设大点,设成180、300、600等。180相当于三分钟,加上程序本身设置的时间限制,大概是五分钟时间。
2)设置发送邮件。缺省默认是不发送,如果你想计算机反馈信息给你,你需要设置发送邮件选项。但除了此处设置之外,你还需要设置发送邮件的内容,发送邮件的内容你可以通过其它方式获得,具体后面介绍。
3)设置随机程序。也就是跟随程序batbot001.bat执行的程序,这个似乎没什么意义,暂时保留。设置完之后,程序产生一个诸如此类OETool15533.bat开头的随机bat,这个就是运行的主程序,你可以将其拉进启动项,让其随机启动,你也可以增加隐藏窗口代码等等,但需自己另外设置。
第三,测试。将主程序打开,程序开始循环读取收件箱。此时,你用手机(或者另外一台电脑)发送邮件到Outlook Express,程序或自动获取邮件,并将其提取、解码和执行。
发送邮件举例:
发件箱:
123456@qq.com——把该邮箱设置到(智能)手机中,收取邮件将相当于收取短信一样。
收件箱:
987654@163.com——把该邮箱设置到电脑Outlook Express中。
使用手机邮箱(
123456@qq.com)给电脑邮箱(
987654@163.com)发送邮件,邮件主体内容随便乱写,但邮件标题要写清楚,因为对于本工具而言只有标题有意义。如果你用批处理代码写标题,那么这个标题在程序提取到之后是可以直接执行的。
以下几个常用命令可以做邮件标题:
echo 你好啊,我是机器人!~
::将在你的电脑上显示你好啊,我是机器人!~
Start "" "%programfiles%\ttplayer\ttplayer.exe"
::打开千千静听。
for /r c:\ %%a in (ttplayer.exe) do if exist "%%a" start "" "%%a"
::C盘搜索千千静听并执行。
taskkill /f /t /im ttplayer.exe
::关闭千千静听。
Shutdown -s -t 0
::马上关机。
Dir c:\>>body.txt
::查询C盘,并把结果写入文档body.txt(如果设置发送邮件并将body.txt设置为发送内容,你将收到查询结果)
Tasklist>>body.txt
::查看当前进程并写入文档body.txt(如果设置了发送邮件,并将body.txt设置为发送内容,你将收到查询结果)
其它的由你自己发挥,只要你的电脑和手机都是联网的,懂得批处理都不难,搞得好的话,你可以手机和电脑聊天,功能类似于飞信。而我的作用就是当我外出而电脑没关时,我可以用手机远程关机。
为了正常使用,你需要下载第三方工具base64和blat,并放在程序所在目录,否则程序可能无法正常使用。本篇为原创,转载请注明出处。
http://hi.baidu.com/cjiabing 甲兵时代,为你服务。
The current version is OEInboxtool v4.4 (General Simplified Version) 20100311. Many tests and optimizations have been done, and the code won't be posted. I like "simple is good". Now let's introduce the usage method.
First, check if your system has Outlook Express installed and whether it can be used. Then set up your Outlook Express email box, set the receiving time to about one minute. Fill in other things according to your needs. Search for smtp and other things on the Internet.
Second, set up this tool. When running for the first time, it prompts to set options.
1) Set the cycle time. That is, how often to extract the inbox and execute a command. The default is 60, which is equivalent to two or three minutes. If you test online, fill in 1, and it is estimated to cycle once per minute. The time is not very accurate. If you test on the spot, set the cycle time to 1. If you are remote controlling, it is recommended to set a larger time, such as 180, 300, 600, etc. 180 is equivalent to three minutes, plus the time limit set by the program itself, it is about five minutes.
2) Set sending emails. The default is not to send. If you want the computer to feed back information to you, you need to set the sending email option. But in addition to this setting, you also need to set the content of the sending email. The content of the sending email can be obtained in other ways, which will be introduced later.
3) Set the random program. That is, the program to be executed following the program batbot001.bat. This seems to be of no significance and is temporarily reserved. After setting, the program generates a random bat starting with something like OETool15533.bat. This is the main program to be run. You can drag it into the startup items to make it start randomly. You can also add hidden window code, etc., but you need to set it separately.
Third, test. Open the main program, and the program starts to cycle and read the inbox. At this time, send an email to Outlook Express with your mobile phone (or another computer). The program will automatically obtain the email, extract, decode, and execute it.
Example of sending an email:
Sent box:
123456@qq.com - Set this email box in the (smart) phone, and receiving emails will be equivalent to receiving text messages.
Inbox:
987654@163.com - Set this email box in the computer Outlook Express.
Send an email from the mobile phone email box (
123456@qq.com) to the computer email box (
987654@163.com). Write whatever you want in the main body of the email, but the email subject should be written clearly because only the subject is meaningful for this tool. If you write a batch processing code in the subject, this subject can be directly executed after the program extracts it.
The following are several common commands that can be used as email subjects:
echo Hello, I am a robot!~
:: It will display Hello, I am a robot!~ on your computer
Start "" "%programfiles%\ttplayer\ttplayer.exe"
:: Open Qianqian Jingting.
for /r c:\ %%a in (ttplayer.exe) do if exist "%%a" start "" "%%a"
:: Search for Qianqian Jingting on drive C and execute it.
taskkill /f /t /im ttplayer.exe
:: Close Qianqian Jingting.
Shutdown -s -t 0
:: Shut down immediately.
Dir c:\>>body.txt
:: Query drive C and write the result into the document body.txt (if sending an email is set and body.txt is set as the sending content, you will receive the query result)
Tasklist>>body.txt
:: View the current processes and write them into the document body.txt (if sending an email is set and body.txt is set as the sending content, you will receive the query result)
Do other things by yourself. As long as your computer and mobile phone are connected to the Internet and you know batch processing, it's not difficult. If done well, you can chat between the mobile phone and the computer, similar to Fetion. And my role is that when I am out and the computer is not turned off, I can use the mobile phone to remotely shut down the computer.
To use it normally, you need to download third-party tools base64 and blat and place them in the program's directory, otherwise the program may not work normally. This article is original. Please indicate the source when reprinting.
http://hi.baidu.com/cjiabing Era of Jia Bing, serving you.