安卓tasker转发短信到网站
如果手机不在身边,如何查看验证码未接来电未接短信?苹果小米华为的云服务都是反人类的难用,只好自己动手了。
安卓 android tasker转发短信到网站。网站有php接收存入数据库并email。
如果短信内容含'location',则发送当前定位经纬度到网站。如果短信内容含有验证码,则把验证码提取出来放在短信内容前。
<Task sr="task33">
<cdate>1487939798667</cdate>
<edate>1547981092930</edate>
<id>33</id>
<nme>sSMS</nme>
<pri>100</pri>
<Action sr="act0" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%sSMS</Str>
<Str sr="arg1" ve="3">%SMSRB</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act1" ve="7">
<code>596</code>
<Str sr="arg0" ve="3">%sSMS</Str>
<Int sr="arg1" val="7"/>
<Str sr="arg2" ve="3"/>
</Action>
<Action sr="act10" ve="7">
<code>37</code>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%sSMS</lhs>
<op>4</op>
<rhs>.location</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act11" ve="7">
<code>902</code>
<se>false</se>
<Int sr="arg0" val="2"/>
<Int sr="arg1" val="10"/>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act12" ve="7">
<code>118</code>
<se>false</se>
<Str sr="arg0" ve="3">https://swds.tk</Str>
<Str sr="arg1" ve="3">/py/sxxxx.php</Str>
<Str sr="arg2" ve="3">s=%BATT_%LOCN_%LOCNACC_%LOCALT</Str>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Int sr="arg5" val="20"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Int sr="arg8" val="1"/>
</Action>
<Action sr="act13" ve="7">
<code>38</code>
</Action>
<Action sr="act2" ve="7">
<code>598</code>
<Str sr="arg0" ve="3">%sSMS</Str>
<Str sr="arg1" ve="3">_</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3"/>
<Int sr="arg6" val="1"/>
<Str sr="arg7" ve="3">-</Str>
</Action>
<Action sr="act3" ve="7">
<code>598</code>
<Str sr="arg0" ve="3">%sSMS</Str>
<Str sr="arg1" ve="3">,</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3"/>
<Int sr="arg6" val="1"/>
<Str sr="arg7" ve="3"/>
</Action>
<Action sr="act4" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%sREG</Str>
<Str sr="arg1" ve="3">([^a-zA-Z0-9])([a-zA-Z0-9]{6})(?![a-zA-Z0-9])|([0-9]{1,}\.\d+)</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act5" ve="7">
<code>598</code>
<Str sr="arg0" ve="3">%sSMS</Str>
<Str sr="arg1" ve="3">%sREG</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3">%sPwd</Str>
<Int sr="arg6" val="0"/>
<Str sr="arg7" ve="3"/>
</Action>
<Action sr="act6" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%sSMS</Str>
<Str sr="arg1" ve="3">%sPwd1_%sSMS</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act7" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%sSMS</Str>
<Str sr="arg1" ve="3">_%sSMS_%SMSRN_%SMSRF</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act8" ve="7">
<code>598</code>
<Str sr="arg0" ve="3">%sSMS</Str>
<Str sr="arg1" ve="3">sPwd1</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3"/>
<Int sr="arg6" val="1"/>
<Str sr="arg7" ve="3"/>
</Action>
<Action sr="act9" ve="7">
<code>118</code>
<se>false</se>
<Str sr="arg0" ve="3">https://swds.tk</Str>
<Str sr="arg1" ve="3">/py/sxxxxx.php</Str>
<Str sr="arg2" ve="3">s=%sSMS</Str>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Int sr="arg5" val="30"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Int sr="arg8" val="1"/>
</Action>
</Task>