MC(monitorcat) 监控军刀

监控军刀下载

带强大的邮件和短信功能

整合版下载:http://download.csdn.net/detail/wuhualong1314/4461326

新版整合V1.1 http://download.csdn.net/detail/wuhualong1314/4470009

SMS版下载:  http://download.csdn.net/detail/wuhualong1314/4461335

sms版的  没有加入邮件, 因为感觉加上邮件有点大,就来了个简化版的 去了邮件 只有43K了 , 邮件版有331K


C:\>mc
======================monitor cat(mc)======================
author:anubis QQ:93665673 forum:cnanubis.cn


        arguments                       long description
        -p       port                    port number
        -app                            application(whether -p or -app)
        -e       prog                   when port was changed, programe will execute
        -arg or -a arguments            parameters(cmd.exe /c net time)
        -pid                    monitor process use id
        -d   daemon
        -version                        get version
        -v                                      show    log
        -vv                                     show detail     log
        -t   time                       how much time do a monitor. unit second
        -at  at time                    set time trigger. etc. 11:00
        -c   count
        -h|zh(chinese help)   help                      show help.
        -flag 0|1  stopped send or started send default stopped(0) send
        -l                                      listen mode.
        -sms                            send mobile msg

        -mail                           config mail.    inner account [email protected]
                -msrv                           mail server
                -mport                          mail port
                -msender                                mail from
                -msendername            sender name
                -mu                             mail user name
                -mp|mp64                                mail pwd,mp64 is use -to64 generate

                -rt                             mail ReplyTo
                -rcpt                           receiver mail     split by ","
                -cc                             carbon copy               split by ","
                -bcc                            blind carbon copy       split by ","
                -subject                        mail subject
                -body                           mail body
                -priority                       set priority (2(high)|3(normal)|4(low)
                -sec                            0(no security)|1(USE_TLS)|2(USE_SSL)
                -attach                         attachments                     split by ","
                -format (p|h)    mediatype format
        -to64                           base64 code generator
        -use64                          use 64  password

connect to somewhere: mc \\ip [-options]
example:
      mc  -sms 13813813818 1234 13813813818 "hello"
      mc  -sms 13813813818 1234 13813813818 "hello" -at "2012-8-8 12:00:00"
      mc  -t 3000  -sms 13813813818 1234 13813813818 "<" "c:\msg.txt"
      mc -mail -rcpt [email protected] -cc "[email protected],[email protected]" -attach "c:\msg.txt"
      mc \\127.0.0.1 -p 80 -t 3000 -e "c:\muma.exe"
      mc \\127.0.0.1 -p 80 -t 3000 -flag 0 -a "cmd.exe /c muma.exe" -sms 13813813818 1234 1381381381
8 "hello"
==========================================================



 实例:

      mc  -sms 13813813818 1234 13813813818 "hello"
      mc  -sms 13813813818 1234 13813813818 "hello" -at "2012-8-8 12:00:00"
      mc  -t 3000  -sms 13813813818 1234 13813813818 "<" "c:\msg.txt"
      mc -mail -rcpt [email protected] -cc "[email protected],[email protected]" -attach "c:\msg.txt"
      mc \\127.0.0.1 -p 80 -t 3000 -e "c:\muma.exe"
      mc \\127.0.0.1 -p 80 -t 3000 -flag 0 -a "cmd.exe /c muma.exe" -sms 13813813818 1234 1381381381
      
//邮件实战:
mc -mail -msender [email protected] -mu [email protected] -mp myloginuserpwd -msrv smtp.gmail.com -mport 465 -rcpt "[email protected]" -body "f<a hre
=http://www.cnanubis.cn>link 我http://www.cnanubis.cn</a>as<br/>你" -format p -priority 3 -cc [email protected] -bcc [email protected] -sec 2 -attach "c:\atlog.txt,c:\tootx.txt,c:\test.h2.db,c:\说明.txt"

  //短信实战:
mc -sms 138138138 飞信密码 接收者手机号码  发送的内容

//加密密码  先使用  mc -to64 xxxxxx   生成HEX
mc -v -sms 13813813810 -use64 d3VodWFsb25nMTMxNA= 1399999999 "<" "c:\msg.txt"

//端口监控并发送消息通知实战
mc \\baidul.com -p 80 -t 10000 -flag 0 -a "cmd.exe /c mc -mail  -rcpt [email protected] -body 百度服务器挂" -sms 13813813818 1234 1381381381 "百度服务器挂了"



常用邮箱服务器配置

一般使用的邮件服务器和端口号

smtp.gmail.com

587   USE_TLS 

465  USE_SSL
smtp.163.com 

       25     USE_TLS|NO_SECURITY

smtp.live.com

      25 USE_TLS

smtp.aol.com

     587    USE_TLS

plus.smtp.mail.yahoo.com

    465   USE_SSL

以上  NO_SECURITY=0, USE_TLS =1,USE_SSL=2

以上数字为端口


Q&A

  1.怎么查找应用对用的PID

  tasklist 命了列出所有程序对应的PID

  2.怎么知道程序使用的端口

先用 tasklist 命了列出所有程序对应的PID

        再用 netstat -ano  列出PID和端口对应



管理员必备工具
请使用者 勿用在短信广告,邮件广告 , 邮件炸弹等不合理用途,请善用!!!


你可能感兴趣的:(Security,application,domain,Parameters,generator,sms)