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

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

时间:2023-12-31 17:14:22浏览次数:32  
标签:蓝号 set end target 检测 iMessage file open tell

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

 

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

  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,open,tell
From: https://www.cnblogs.com/fzblog/p/17937730

相关文章

  • js进行控制替换顶部标题内容【进行防检测】
    为了防检测,特意出了一款js进行控制替换顶部标题内容js代码如下:<script>document.getElementsByTagName("title")[0].innerText='醉学网';functionSetTab(name,cursel){for(vari=1;i<=4;i++){varmenu=document.getElementById(name+i);......
  • C++ opencv检测圆
     #include<opencv2/opencv.hpp>#include<opencv2/highgui/highgui.hpp>#include<opencv2/imgproc/imgproc.hpp>#include<iostream>usingnamespacecv;usingnamespacestd;intmain(intargc,char**argv){//读取图像Matsrc......
  • GroundingDINO-根据文本提示检测任意目标
    1.背景介绍GroundingDINO是一种新的SOTA零样本物体检测模型。在这篇文章中,我们将讨论GroundingDINO模型的优势,分析其具体的模型架构,并提供真实的测试样例。闲话少说,我们直接开始吧!2.零样本目标检测大多数目标检测模型被训练来识别预先定义的特定类别的集合,这方面的主要缺陷是缺乏......
  • iMessage群发,iMessage群发功能,iMessage群发功能设计,iMessage群发系统
    在数字通讯时代,群发消息已经成为我们日常生活中不可或缺的一部分,无论是商务、社交还是日常沟通,群发功能都大大提高了消息传递的效率和便利性。而在众多的通讯软件中,iMessage无疑是其中的佼佼者,今天,我们就来深入探讨一下iMessage群发功能的背后设计原理,带您一起走进其源代码的世界......
  • 【DigiKey“智造万物,快乐不停”创意大赛】工地安全检测移动装置
    【DigiKey“智造万物,快乐不停”创意大赛】工地安全检测移动装置项目背景    随着工业化进程的加速和建筑业的发展,机器人在工业和建筑领域的应用越来越广泛。对于建筑工地,开发一种高效、准确、安全的巡检技术,在工业和建筑现场,员工经常需要佩戴安全帽以防止头部受伤。安全帽识......
  • 防止多开工具被检测的方法与技巧
    保护多开工具免受检测的方法与技巧引言:随着互联网的快速发展,多开工具逐渐成为一种被广泛使用的软件。然而,随之而来的是各种防止多开工具的检测机制。本文将介绍一些方法和技巧,帮助用户保护多开工具免受检测。定期更新多开工具:多开工具的作者通常会定期发布更新,以修复已知的漏......
  • DETR基于Transformer目标检测
    DETR基于Transformer目标检测目录DETR基于Transformer目标检测DETR网络结构和NLPTransformer对比ObjectQueryFFN为什么DETR不需要NMS优缺点参考资料DETR首次将Transformer应用到了目标检测任务中。图像会先经过一个传统的CNN抽出图像特征来,然后再将CNN的输出直接送到Transform......
  • 小黄鸟绕过app检测代理抓包
    最近需要抓包一个安卓软件,但是该软件有检测,只要检测到代理网络,就执行不访问网络操作。所以经过百度找到了下面这个方法解决:ps:如果你的手机已经root就可以忽略这一步。如果手机没有root,我们需要用到vmos虚拟机软件。下载地址:https://wwxk.lanzouj.com/i77pA1jaey2b  把超......
  • form检测
    form=document.createElement('form')form.id='__Zm9ybS5pZAo__'form.action='https://ucenter.miit.gov.cn/login.jsp'document.body.appendChild(form)document.body.removeChild(form)input_1=document.createElement("i......
  • 【PowerShell】PowerShell 脚本批量检测公司服务器是否存在 WannaCry 漏洞
    本文前提被检测的计算机启用的powershell远程管理的功能;这是另外的课题,我之前的文章有专门介绍过,如果对这部分不太清楚的话可以翻翻我之前的博客文章。关于本文要使用PowerShell脚本检查计算机是否存在WannaCry漏洞,可以执行以下步骤:检查操作系统补丁:WannaCry漏洞主要影响未安......