首页 > 其他分享 >Applescript实现无痕检测手机号或邮箱号是否注册iMessage服务,iMessage蓝号检测完美实现

Applescript实现无痕检测手机号或邮箱号是否注册iMessage服务,iMessage蓝号检测完美实现

时间:2024-01-19 17:01:06浏览次数:23  
标签:蓝号 set end target 检测 iMessage file tell

一、检测数据的两种方式:
1.人工筛选,将要验证的号码输出到文件中,以逗号分隔。再将文件中的号码粘贴到iMessage客户端的地址栏,iMessage客户端会自动逐个检验该号码是否为iMessage账号,检验速度视网速而定。红色表示不是iMessage账号,蓝色表示iMessage账号。
2.编写脚本控制Mac os/iphone上自带的iMessage应用进行验证(全自动无痕迹检测,无需人工干预),将数据自动填充到号码框之后,如果捕获到失败则不是iMessage账号,捕获到成功则把数据保存下来。
3.最新升级版本请参考博文首页相关文章: https://www.cnblogs.com/fzblog/

 

二、脚本程序或app对指定数据全自动无痕过滤
Mac OS系统下无痕检测手机号是否注册imessage的程序(注意:检测不同国家手机号需要在手机号的前缀 +国家代码即可,自动检测导入的txt数据,蓝号数据自动保存,单个app id可检测 1000+ 条,有意可联系:点此联系 )
检测代码示例如下:

  1 -- 全自动无痕检测导入的数据是否注册imesaages
  2 startApp()
  3 
  4 
  5 --执行主程序
  6 on startApp()
  7     tell application "Finder" to activate
  8     
  9     tell application "Finder"
 10         set chosenfile to (choose file)
 11     end tell
 12     
 13     tell application "Messages"
 14         tell application "Messages" to activate
 15         
 16         set phoneData to read chosenfile
 17         set cards to paragraphs of phoneData
 18         
 19         repeat with phone in cards
 20             --set msgText to (my AppendFace(" "))
 21             
 22             -- 假如字符串大于0,则草率判定是手机号
 23             set num to the length of phone
 24             if (num > 0) then
 25                 --执行检测
 26                 my sendMsg(phone)
 27                 delay 1    
 28             end if
 29         end repeat
 30         display dialog "恭喜,数据已全部检测完毕!"
 31     end tell
 32 end startApp
 33 
 34 
 35 # 开始检测
 36 on sendMsg(phone)
 37     tell application "Messages" to activate
 38     tell application "System Events"
 39         tell process "Messages"
 40             tell window 1
 41                 --核心代码,省略.........
 42                 
 43                 if static text of sheet 1 of window "信息" of application process "Messages" of application "System Events" exists then
 44                     --对未启用imessage的手机号码进行记录
 45                     my WritePhone(phone, "未开启im的数据.txt")
 46                 else
 47                     --对已启用imessage的手机号码进行记录
 48                     my WritePhone(phone, "已开启im的数据.txt")
 49                 end if
 50                 
 51                 
 52                 delay 0.2
 53                 key code 76
 54 
 55                 
 56             end tell
 57         end tell
 58     end tell
 59 end sendMsg
 60 
 61 
 62 -- 记录有效手机号
 63 on WritePhone(the_phone, file_name)
 64     set num to the length of the_phone
 65     if (num > 0) then
 66         set fileName to date string of (current date)
 67         set logFilePath to my current_folder_path() & "send/" & file_name
 68         set this_file to (POSIX file logFilePath as string)
 69         set this_story to the_phone & "
 70 "
 71         try
 72             set fp to open for access this_file
 73             set myText to read fp
 74             
 75             if (myText does not contain the_phone) then
 76                 my write_to_file(this_story, this_file, true, true)
 77             end if
 78         on error
 79             my write_to_file(this_story, this_file, true, true)
 80         end try
 81     end if
 82 end WritePhone
 83 
 84 
 85 -- 写入文件
 86 on write_to_file(this_data, target_file, append_data, append_end)
 87     try
 88         set the target_file to the target_file as text
 89         set the open_target_file to ¬
 90             open for access file target_file with write permission
 91         
 92         if append_data is false then
 93             set eof of the open_target_file to 0
 94             write this_data to the open_target_file starting at eof
 95         else if append_end is false then
 96             try
 97                 set fp to open for access target_file
 98                 set myText to read fp
 99                 set eof of the open_target_file to 0
100                 write this_data to the open_target_file starting at eof
101                 write myText to the open_target_file starting at eof
102             on error
103                 write this_data to the open_target_file starting at eof
104             end try
105         else
106             write this_data to the open_target_file starting at eof
107         end if
108         
109         close access the open_target_file
110         return target_file
111     on error
112         try
113             close access file target_file
114         end try
115         return false
116     end try
117 end write_to_file
118 
119 
120 -- 获取当前文件的父文件夹路径
121 on current_folder_path()
122     set UnixPath to POSIX path of ((path to me as text) & "::")
123     return UnixPath
124 end current_folder_path

 1.电脑版检测程序,全自动无痕检测手机号或邮箱是否开通imessage(全自动无痕检测用户导入的手机号或邮箱数据,默认0.3秒到0.5秒检测一封,自动保存已开启im的数据和未开启的im的数据)

 2.电脑版检测程序,全自动无痕检测数据手机号是否开通imessage(全自动检测用户导入的数据,蓝号数据自动保存,有意可联系)

 

 

 

 

标签:蓝号,set,end,target,检测,iMessage,file,tell
From: https://www.cnblogs.com/osblog/p/17937730

相关文章

  • 易基因:cfDNA甲基化在器官和组织损伤检测中的强大力量
    大家好,这里是专注表观组学十余年,领跑多组学科研服务的易基因。检测器官和组织损伤对于早期诊断、治疗决策和监测疾病进展至关重要。由于DNA甲基化模式可以响应组织损伤而改变,甲基化检测提供了一种有前途的方法,在早筛早诊、疾病进展监测、治疗效果和器官移植评估等可行性方面具有......
  • 安防监控平台LntonAIServer视频汇聚平台明烟明火识别 烟火算法检测告警
    LntonAIServer视频汇聚平台是一款基于人工智能技术的安防监控平台。它能够实时监控和分析视频数据,通过烟火算法检测告警,为我们提供及时、准确的安全信息。无论是在家庭、办公室,还是在公共场所,都能使用LntonAIServer。明烟明火识别是LntonAIServer视频汇聚平台的一大亮......
  • 安防监控平台LntonAIServer视频汇聚平台烟火算法检测
    在这个科技日新月异的时代,我们的生活被各种高科技产品所包围。其中,人工智能技术的出现,更是让我们对未来充满了期待。今天,我要为大家介绍的是一款名为“LntonAIServer”的视频汇聚平台,它采用了一种名为“森林烟火算法”的技术,为我们的环境安全提供了有力的保障。“森......
  • 安防监控平台LntonAIServer视频汇聚平台烟火算法检测
    在这个科技日新月异的时代,我们的生活被各种高科技产品所包围。其中,人工智能技术的出现,更是让我们对未来充满了期待。今天,我要为大家介绍的是一款名为“LntonAIServer”的视频汇聚平台,它采用了一种名为“森林烟火算法”的技术,为我们的环境安全提供了有力的保障。“森林烟火算法”是......
  • MSServer死循环检测
    SELECTSPID=er.session_id,Status=ses.status,[Login]=ses.login_name,Host=ses.host_name,BlkBy=er.blocking_session_id,DBName=DB_Name(er.database_id),CommandType=er.command,SQLStatement=st.text,ObjectName=OBJECT_NAME(st.objec......
  • iMessage群发,iMessage群发软件(功能测试与代码调整篇)
    iMessage作为苹果公司的即时通讯工具,已成为许多人日常沟通的首选,而针对这一平台开发的iMessage群发软件,更是受到了广大用户的青睐,这类软件通过自动化操作,实现了批量发送信息的功能,大大提高了沟通效率。一、功能测试示例代码:1、发送速度测试importtimedeftest_send_speed()......
  • 运行flink 官方文档案例(信用卡欺诈检测)
     环境要求java11和mavn 新起命令行启动创建项目 mvnarchetype:generate-DarchetypeGroupId=org.apache.flink-DarchetypeArtifactId=flink-walkthrough-datastream-java-DarchetypeVersion=1.18.0-DgroupId=frauddetection -DartifactId=frauddetection -Dvers......
  • 目标检测数据集 - 夜间行人检测数据集下载「包含VOC、COCO、YOLO三种格式」
    数据集介绍:夜间、低光行人检测数据集,真实场景高质量图片数据,涉及场景丰富,比如夜间街景行人、夜间道路行人、夜间遮挡行人、夜间严重遮挡行人数据;适用实际项目应用:公共场所监控场景下夜间行人检测项目,以及作为监控场景通用行人检测数据集夜间场景数据的补充;标注说明:采用labelimg标......
  • 目标检测数据集大全「包含VOC+COCO+YOLO三种格式+划分脚本+训练脚本」(持续原地更新)
    一、作者介绍:五年+算法开发经验、AI算法经理、阿里云开发社区专家博主、稀土掘金人工智能内容评审委员会成员。擅长:检测、分割、理解、AIGC等算法训练与部署。二、数据集介绍:质量高:高质量图片、高质量标注数据,使用labelimg软件吐血标注、整理,可以作为训练模型的基础数据集或者......
  • 基于Venn-Abers预测器的系统日志异常检测方法_顾兆军
    title:基于Venn-Abers预测器的系统日志异常检测方法_顾兆军banner_img:https://cdn.studyinglover.com/pic/2023/12/334c0c129076533308cbc7e03f8c55be.pngdate:2024-1-1519:40:00tags:-机器学习基于Venn-Abers预测器的系统日志异常检测方法_顾兆军收集日志信息、日志......