平方X

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 3045|回复: 0

揭穿 安卓版基站锁定 手机信号增强器 骗人的把戏

[复制链接]

414

主题

709

帖子

3602

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
3602
QQ
发表于 2015-1-28 15:20:52 来自手机 | 显示全部楼层 |阅读模式
揭穿 安卓版基站锁定 手机信号增强器 骗人的把戏
参见【安卓版 基站锁定 研究笔记】
http://www.pingfangx.com/forum.php?mod=viewthread&tid=136
在研究过程中发现的,揭穿如下:
手机信号增强器 核心源码:
监听信号强度变化:
public void onSignalStrengthsChanged(SignalStrength paramSignalStrength)
    {
      super.onSignalStrengthsChanged(paramSignalStrength);
      SignalService.this.strength = (2 * paramSignalStrength.getGsmSignalStrength() - 113);
      SignalService.this.getCellChange();
      int i = 113 - 2 * paramSignalStrength.getGsmSignalStrength();
      if ((i < 110) && (i > 95))
        SignalService.this.signalLevel = "[很差]  ";
        else if ((i <= 95) && (i > 85))
          SignalService.this.signalLevel = "[较差]  ";
        else if ((i <= 85) && (i > 75))
          SignalService.this.signalLevel = "[一般]  ";
        else if ((i <= 75) && (i > 65))
          SignalService.this.signalLevel = "[较好]  ";
        else if (i <= 65)
          SignalService.this.signalLevel = "[很好]  ";
      
        SignalService.this.displayNotification("信号显示开启");
        return;
    }
  }
}

显示notification
  public void displayNotification(String paramString)
  {
    RemoteViews localRemoteViews = new RemoteViews("com.leduo.signalup", 2130903042);
    int i = this.random.nextInt(9);
    localRemoteViews.setTextViewText(2131230735, "强度:" + Integer.toString(this.strength) + " dBm" + this.signalLevel + " 增强:" + i + "dBm");
    localRemoteViews.setTextViewText(2131230732, "网络:" + this.network);
    localRemoteViews.setImageViewResource(2131230733, 2130837652);
    this.iconIndex = Math.abs(this.strength);
    PendingIntent localPendingIntent = PendingIntent.getActivity(this, 0, new Intent(this, MainActivity.class), 0);
    long l = System.currentTimeMillis();
    this.notification = new Notification(this.icon[this.iconIndex], paramString, l);
    this.notification.contentView = localRemoteViews;
    this.notification.contentIntent = localPendingIntent;
    this.notification.flags = 2;
    this.manager.notify(1, this.notification);
  }

简要说明一下手机信号增强器的真实原理:
读取手机网络信息,
判断运营商、网络状态,
监听信号强度变化,
随机产生一个信号增强值,在状态栏显示信号增强了。
O(∩_∩)O哈哈~真好笑。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|手机版|Archiver|平方X ( 冀ICP备14018164号 )

GMT+8, 2024-4-28 19:29 , Processed in 0.108225 second(s), 21 queries .

技术支持:Powered by Discuz!X3.4  © 2001-2013 Comsenz Inc.

版权所有:Copyright © 2014-2018 平方X www.pingfangx.com All rights reserved.

快速回复 返回顶部 返回列表