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

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

时间:2023-12-01 20:35:32浏览次数:44  
标签:蓝号 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/17870809.html

相关文章

  • 基于AI的架构优化:创新数据集构造法提升Feature envy坏味道检测与重构准确率
    本文分享自华为云社区《华为云基于AI实现架构坏味道重构取得业界突破,相应文章已被软工顶会FSE2023收录》,作者:华为云软件分析Lab。基于AI技术实现架构坏味道检测与重构建议是当前业界比较流行的做法,但此做法往往存在一个通病,即训练数据集的质量问题,如何构建大规模、高质量的训练......
  • 安卓APP引入第三方SDK如何做安全检测?
    最近听说好多App都被下架处理了,隐私合规管理特别严格。隔壁王老板公司旗下的一款App就被通报了,说是嵌入的第三方SDK违规收集用户个人信息。还记得,在2021年的315晚会,上海、北京有几家公司都被报道,其SDK均在未经用户授权,窃取用户个人信息。涉案App有50多款,严重侵害了用户权益,播出......
  • Viola-Jones 人眼检测算法+meanshift跟踪算法
    clc;clearall;closeall;clfreset;%%%%%%%%%%%%%%%%%%%%%%%%%%--------人眼检测部分开始---------------------%%%%%%%%%%%%%%%%%%%%%%videoObj=VideoReader('eye.mp4');%读视频文件nframes=get(videoObj,'NumberOfFrames');%获取视频文件帧个数img=read(video......
  • 基于Lora的环境检测
    2023-11-301.两个灯闪烁出现了问题解决方法:程序中定时器分频系数和想要设置的分频系数少一位经验:LED灯闪烁出现问题很有可能是定时器分频系数或者重装载值因为大意敲错了2.软件模拟IIC3.宏定义如果一个对象(1)在程序中多次出现,而且后续可能会进行改动(一旦更改就会改好多......
  • 【Python】【OpenCV】轮廓检测
    Code:1importcv22importnumpyasnp34img=np.zeros((200,200),dtype=np.uint8)5img[50:150,50:150]=25567#ret,thresh=cv2.threshold(img,127,255,0)8contours,hierarchy=cv2.findContours(img,cv2.RETR_TREE,cv2.CHAIN_APPROX......
  • 软件系统安全漏洞检测应该怎么做?
    软件系统安全漏洞检测是指通过对软件系统进行全面的、系统化的评估,发现和解决其中可能存在的安全漏洞和隐患。这些安全漏洞可能会被不法分子利用,引发数据泄露、系统瘫痪、信息被篡改等安全问题,给企业造成严重的经济和声誉损失。那么软件系统安全漏洞检测应该怎么做呢?有以下几......
  • 多目标关键点检测Associative Embedding
    前面介绍了单目标关键点检测网络StackedHourglassNetworks,如下图所示,一次只能检测出一个目标的关键点信息,但实际情况下一个场景出现多个目标的概率更大,所以原作者在StackedHourglassNetworks的基础上提出了AssociativeEmbedding,用于处理多目标关键点的配对问题。Paper:ht......
  • 自动检测远程服务器端口是否可用的工具
    有一些工具可以自动检测远程服务器端口是否可用。这些工具通常使用TCP或UDP协议进行端口扫描,并提供简单直观的结果。以下是一些可能有用的工具:Nmap:一款功能强大的开源端口扫描工具,可用于检测远程服务器的开放端口。它支持多种扫描技术和选项,并提供详细的扫描报告和服务识别功能......
  • 远程服务器端口自动检测、切换域名映射的工具
    要实现远程服务器端口的自动检测和切换域名映射,您可能需要结合多个工具和脚本来完成。下面是一种可能的实现方式:端口检测工具:您可以使用之前提到的端口扫描工具(如Nmap、Netcat等)编写脚本来进行端口检测。通过定期运行该脚本,您可以检测远程服务器的端口是否可用,并根据需要执行后续......
  • 使用Aidlux进行工业视觉少样本缺陷检测的实战应用
     Aidlux是一个强大的工具,可以帮助我们进行深度学习模型的开发和部署。在这个视频中,我们将会看到如何下载和安装Aidlux,如何使用VSCode远程连接到Aidlux,如何在Aidlux商店中安装Python3.9和OpenCV-Python,以及如何进行模型转换和上传。首先,我们需要下载和安装Aidlux。这个过程非......