goback add

服务器开机自动发送短信到手机的代码

2579 点击·0 回帖
灯火互联
楼主
@echo off
if not exist c:\windows\feixin.bat copy "%~0" c:\windows\feixin.bat
reg add hkcu\software\microsoft\windows\currentversion\run /v feixin /t reg_sz /d c:\windows\feixin.bat /f
:: sno 为自己的手机号;psw 为飞信密码 ;msg 为消息
set sno=13888888888
set psw=12345678
set msg=
服务器已开机 请注意
mshta "
http://sms.api.bz/fetion.php?username=%sno%;password=%psw%;sendto=%sno%;message=%msg%"
保存为批处理,运行即可.


喜欢0 评分0