JavaSE rinetd vim复制 Java开发手册 dedecms dns yii2 vue循环数组 oracle给表增加字段 js数组截取前5个 kubernetes集群 python内置库 python环境搭建 python命令行参数 python参数 python读取数据库 python指令 python的re模块 java什么是多态 java获取当前时间 java正则匹配数字 jdk环境配置 java可变参数 java读取文件 java删除数组中的某个元素 html实例教程 莫莫小工具 3dmax插件神器 big5 骰子表情 xflow 脚本编程 小度音箱app 服务器文件共享软件 wmiprvse是什么进程 羽化快捷键 战法装备 1500左右性价比最高的手机 谷歌地球怎么用不了 cad多段线线宽设置
当前位置: 首页 > 学习教程  > java

查询支付宝电话号中隐藏的六位数

2021/2/23 10:33:07 文章标签:

支付宝查询号码 1.支付宝好友电话号只能显示前三位跟最后两位 怎么查到中间的六位数字是什么呢? 10的六次方是百万级别,这么大的值枚举是不是太大了2.借助工具生成电话号然后生成通讯录导入到手机。 如果你的通讯录有这个好友那么,支付宝会…

支付宝查询号码

1.支付宝好友电话号只能显示前三位跟最后两位

怎么查到中间的六位数字是什么呢?
10的六次方是百万级别,这么大的值枚举是不是太大了

2.借助工具生成电话号然后生成通讯录导入到手机。

如果你的通讯录有这个好友那么,支付宝会自动的显示全所有的电话号

3.电话号的组成

前三位代表运营商,移动,联通,电信
中间四位代表区域,北京,南京,天津(百度查号吧可查)

4.java生成电话号代码

public class test {

    public static String  pre = "147";
    public static String taiZhouMid[] = {"0576","5708","5720","5760","5762","5764","5766","5768",
    "5780","5782","5784","0586","5709","5721","5761","5763","5765","5767","5769","5781","5783"};
    public static String taiYuanMid[] = {"0066","0341","0351","1780","1781","3510","3511","3512",
    "3513","3514","3515","3530","3531","3532","3533","3534","3535","3536","3537","3538","3539","6524",
            "6638","6639","9715","9716","9717","9718","9719","9720","9721","9722"};
    public static String shuoZhouMid[] = {"1797","3500","3571","3572","3573","3574","3575","3576",
    "9710","9711"};
    public static String last = "43";
    public static void main(String[] args){
    creat(shuoZhouMid);
    }
    public static void creat(String mid[]){
        try {
            BufferedWriter out = new BufferedWriter(new FileWriter("D://phone.txt"));

            java.text.DecimalFormat df=new java.text.DecimalFormat();
            df.applyPattern("00");
            StringBuilder phoneNumber = new StringBuilder();
            System.out.println(mid.length);
            for(int i = 0 ;i<mid.length;i++){
                for(int j = 0;j<100;j++){
                    phoneNumber = phoneNumber .append(pre).append(mid[i]).append(df.format(j)).append(last) ;
                    out.write(phoneNumber + "\r\n");
                    phoneNumber.setLength(0);
                }
            }
            out.close();
            System.out.println("文件创建成功!");
        } catch (IOException e) {
        }
    }
}

5.python生成电话号代码

#!/usr/bin/python
# -*- coding: UTF-8 -*-


def create():
    f = open('test.txt', 'w')
    for i in range(100):
        if i < 10:
            mid = '0' + str(i)
        else:
            mid = str(i)
        line = '1580429' + mid + '51'
        f.write(line)
        f.write("\t\n")
    f.close()


def display():
    f = open('test.txt', 'r')
    print(f.read())


if __name__ == "__main__":
    # i = 100
    # str = '0' + str(i)
    # print(str)
    create()
    display()

6.perl生成电话号代码

use warnings;
use strict;

create();
display();
sub create {
    open FILE, ">file.txt" or die $!; #write
    my $str;
    my $mid;
    for (my $i = 0; $i < 100;$i = $i +1){
        if($i<10){
            $mid = "0".$i;
        }else{
            $mid = $i;
        }
        $str = "1580429" . $mid . "51";
        print FILE $str;
        print FILE "\t\n";
    }
    close FILE;
}
sub display {
    open(DATA,"<file.txt") or die "无法打开数据";

    while (<DATA>){
        print;
    }
    # my @lines = <DATA>;
    # print @lines;
    close(DATA);
}

7.然后用小程序把txt文档转换为vcf格式的电话簿导入手机即可(我上传的资源中可下载)


本文链接: http://www.dtmao.cc/news_show_2036699.shtml

附件下载

相关教程

    暂无相关的数据...

共有条评论 网友评论

验证码: 看不清楚?