function main()
f=io.open("/sys/class/net/wlan0/address");
m=f:read();
f:close();
f=io.open("/mnt/sdcard/mac.txt","wb");
f:write(m);
f:close();
end
先读取后创建txt文件到sd卡目录下
借助lua实现android下mac文件生成
最新推荐文章于 2025-05-17 13:35:49 发布
function main()
f=io.open("/sys/class/net/wlan0/address");
m=f:read();
f:close();
f=io.open("/mnt/sdcard/mac.txt","wb");
f:write(m);
f:close();
end
先读取后创建txt文件到sd卡目录下