hacking 麦步手表之(1)精简模拟界面

有一次看了一集Hacking the System(黑客智多星) 感叹,主持人真是天才

临渊羡鱼不如退而结网

接下来我们来hacking 麦步手表的模拟界面

编译生成.MAI是手表的程序.打开模拟开着后,见下图,编译成.EXE就是WINDOW的模拟表盘程序.

官方的IDE,真的太大片了,有必要缩小一下.

hacking 麦步手表之(1)精简模拟界面_第1张图片

研究了大半天,原来官方是用QT开发的.

模拟表盘是通过生成的EXE模拟程序建立UDP链接发显示位图数据到显示界面.(这样刷新一次屏岂不是很费电)

hacking 麦步手表之(1)精简模拟界面_第2张图片

通过分析前四个字节应该是指令.或者是识别码之类的.反正我是不管了.直接保存下来.

再写个简单的程序试试,看看猜想的对不对.

 

//128*128/8=2048
//2052-2048=4
unsigned char  sdat[2052]={0xFE,0x21,0x00,0x08,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFC,0x00,0x00,0x00,0x00,0x00,0x1F,0xF8,0x00,0x00,0x00,0x00,0x00,0x3F,0xFF,0xFF,0xFC,0x00,0x00,0x00,0x00,0x00,0x1F,0xF8,0x00,0x00,0x00,0x00,0x00,0x3F,0xFF,0xFF,0xFC,0x00,0x00,0x00,0x00,0x00,0x1F,0xF8,0x00,0x00,0x00,0x00,0x00,0x3F,0xFF,0xFF,0xFC,0x00,0x00,0x00,0x00,0x00,0x1F,0xF8,0x00,0x00,0x00,0x00,0x00,0x3F,0xFF,0xFF,0xFC,0x00,0x00,0x00,0x00,0x00,0x1F,0xF8,0x00,0x00,0x00,0x00,0x00,0x3F,0xFF,0xFF,0xFC,0x00,0x00,0x00,0x00,0x00,0x1F,0xF8,0x00,0x00,0x00,0x00,0x00,0x3F,0xFF,0xFF,0xFC,0x00,0x00,0x00,0x00,0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,0x1F,0xFF,0xFF,0xF8,0x7F,0xFF,0xFC,0x3F,0xFF,0xFF,0xFC,0x00,0x00,0x3E,0x00,0x1E,0x1F,0xF8,0x00,0x78,0x7C,0x00,0x3C,0x3F,0xFF,0xFF,0xFC,0x00,0x00,0x3E,0x00,0x1E,0x1F,0xF8,0x00,0x78,0x7C,0x00,0x3C,0x3F,0xFF,0xFF,0xFC,0x00,0x00,0x3E,0x00,0x1E,0x1F,0xF8,0x00,0x78,0x7C,0x00,0x3C,0x3F,0xFF,0xFF,0xFC,0x00,0x00,0x3E,0x00,0x1E,0x1F,0xF8,0x00,0x78,0x7C,0x00,0x3C,0x3F,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,};
const unsigned long DAT_LEN=sizeof(sdat)/sizeof(*sdat);
unsigned char  *pdat=&sdat[4];//DAT_LEN-4
#include 
#include 
#include 
int main()
{

     //char buf[100];
     for(int i=0;i<128*128/8;i++)
     {
          //sprintf(buf,"title %d",i);
          //system(buf);

          for(unsigned char mask=0x80;mask>0;mask>>=1)
          {
               if(pdat[i] & mask)printf("E");//#█▓*■□■□
               else printf(" ");
          }
          if( (i+1)%(128/8)==0) printf("\n");
         // getch();getch();
     }
}

然后真的猜对了

hacking 麦步手表之(1)精简模拟界面_第3张图片

 

上面文字保存下来,缩小几十倍后就可以看到清晰的字体了

hacking 麦步手表之(1)精简模拟界面_第4张图片

 

然后就写了个对话框界面,使用GDI函数描点.再看了下WINSOCK编程,使按键很能响应.见上面图片,FE 04, FE 03,FE 02,FE 01分别对应了后退,向上,选择,向下按键

最后关闭窗口时发送 FE 00使模拟的程序退出

到此大功造成

hacking 麦步手表之(1)精简模拟界面_第5张图片hacking 麦步手表之(1)精简模拟界面_第6张图片

先启动本软件,
然后运行模拟程序
即可显示

链接:https://pan.baidu.com/s/1jIE7w1K

 





你可能感兴趣的:([单片机编程],麦步手表)